diff options
Diffstat (limited to 'games-misc/wtf')
-rw-r--r-- | games-misc/wtf/Manifest | 4 | ||||
-rw-r--r-- | games-misc/wtf/files/wtf-20090924-prefix.patch | 11 | ||||
-rw-r--r-- | games-misc/wtf/metadata.xml | 8 | ||||
-rw-r--r-- | games-misc/wtf/wtf-20090924.ebuild | 34 |
4 files changed, 57 insertions, 0 deletions
diff --git a/games-misc/wtf/Manifest b/games-misc/wtf/Manifest new file mode 100644 index 000000000000..8e39aca54cdc --- /dev/null +++ b/games-misc/wtf/Manifest @@ -0,0 +1,4 @@ +AUX wtf-20090924-prefix.patch 351 BLAKE2B c5b9ef4f6c9e3ff7f0d6ee83e55b1fa58638a5c0c50cf87f20838defe7f023d6206cfa4c23e1d0991a6b0082855906a2864e254113cd789e539dbd692b8222a3 SHA512 ff8eb5bd961c0498f0371d6ba850d1d407a0e9779469838a5982bce843d40d08bd7a97b50ce013054928198da7c9fa395d9472b4c995e9454c93bced8d953a25 +DIST wtf-20090924.tar.bz2 9888 BLAKE2B 67cd7c7b4af61d576373faa242e8718fe9a8286b3aaf9a9eaf45ac83a8a322257ccb694222a2d8b1052cf709ecd6bfc73c6a4dcb9e96985601e933ebe80c5f1c SHA512 85a7b5b7add12f775272851095f86efa2962875aa9008aec5079d3aec31a74a2d475d5c904013134b4045872fb8e301e95f3c5fa25ab8872a7d31012653bddb0 +EBUILD wtf-20090924.ebuild 767 BLAKE2B 272fc29f9bcf12f8f64308af20963753f02c377fb38e9cc9905d186fe750aa47eb859f653969e47d0f8028a33ad8a518df8864295eff746c6ccdc5facc6499d3 SHA512 9ad677d5b869086aa76d1b8d530b1e8ea63595e419c378698fefe04a33e24530397f3ff563aff5028cf7cd18327e96b0054e0c113f7f635fa76a7550bbb72657 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-misc/wtf/files/wtf-20090924-prefix.patch b/games-misc/wtf/files/wtf-20090924-prefix.patch new file mode 100644 index 000000000000..87dc6436e086 --- /dev/null +++ b/games-misc/wtf/files/wtf-20090924-prefix.patch @@ -0,0 +1,11 @@ +--- wtf.orig 2009-09-27 10:46:12 +0200 ++++ wtf 2009-09-27 10:46:57 +0200 +@@ -12,7 +12,7 @@ + exit 1 + } + +-acronyms=${ACRONYMDB:-`ls /usr/share/misc/acronyms* 2>/dev/null`} ++acronyms=${ACRONYMDB:-`ls "@GENTOO_PORTAGE_EPREFIX@"/usr/share/misc/acronyms* 2>/dev/null`} + + if [ "$acronyms" = "" ]; then + echo "$PROGNAME: acronyms database not found!" >&2 diff --git a/games-misc/wtf/metadata.xml b/games-misc/wtf/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-misc/wtf/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> diff --git a/games-misc/wtf/wtf-20090924.ebuild b/games-misc/wtf/wtf-20090924.ebuild new file mode 100644 index 000000000000..ca02243d6a14 --- /dev/null +++ b/games-misc/wtf/wtf-20090924.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils prefix + +DESCRIPTION="translates acronyms for you" +HOMEPAGE="http://netbsd.org/" +SRC_URI="http://dev.gentooexperimental.org/~darkside/distfiles/${PN}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc64 ~s390 ~sh ~x86 ~ppc-aix ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND="!games-misc/bsd-games" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-prefix.patch + eprefixify wtf +} + +src_compile() { + : +} + +src_install() { + dobin wtf + doman wtf.6 + insinto /usr/share/misc + doins acronyms* + dodoc README +} |