diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2007-03-20 04:20:25 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2007-03-20 04:20:25 +0000 |
commit | 0ed57ae47a1b4b6cce38ad30d9638047b2ee9af8 (patch) | |
tree | 1d61d71f7d93e6403c53f109693be9c5114a0fbd /games-misc/fortune-mod | |
parent | old (diff) | |
download | gentoo-2-0ed57ae47a1b4b6cce38ad30d9638047b2ee9af8.tar.gz gentoo-2-0ed57ae47a1b4b6cce38ad30d9638047b2ee9af8.tar.bz2 gentoo-2-0ed57ae47a1b4b6cce38ad30d9638047b2ee9af8.zip |
old
(Portage version: 2.1.2.2)
Diffstat (limited to 'games-misc/fortune-mod')
-rw-r--r-- | games-misc/fortune-mod/files/digest-fortune-mod-1.99.1-r1 | 3 | ||||
-rw-r--r-- | games-misc/fortune-mod/fortune-mod-1.99.1-r1.ebuild | 66 |
2 files changed, 0 insertions, 69 deletions
diff --git a/games-misc/fortune-mod/files/digest-fortune-mod-1.99.1-r1 b/games-misc/fortune-mod/files/digest-fortune-mod-1.99.1-r1 deleted file mode 100644 index 13204c0a26d8..000000000000 --- a/games-misc/fortune-mod/files/digest-fortune-mod-1.99.1-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f208805b3b712e32997d7667e0ec52d8 fortune-mod-1.99.1.tar.gz 1812089 -RMD160 020e597bde43ebd58ea82171d0e69222dc26b566 fortune-mod-1.99.1.tar.gz 1812089 -SHA256 fc51aee1f73c936c885f4e0f8b6b48f4f68103e3896eaddc6a45d2b71e14eace fortune-mod-1.99.1.tar.gz 1812089 diff --git a/games-misc/fortune-mod/fortune-mod-1.99.1-r1.ebuild b/games-misc/fortune-mod/fortune-mod-1.99.1-r1.ebuild deleted file mode 100644 index 22b98814e1b8..000000000000 --- a/games-misc/fortune-mod/fortune-mod-1.99.1-r1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod/fortune-mod-1.99.1-r1.ebuild,v 1.7 2006/07/17 04:43:55 vapier Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="The notorious fortune program" -HOMEPAGE="http://www.redellipse.net/code/fortune" -SRC_URI="http://www.redellipse.net/code/downloads/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ~ppc-macos ppc64 s390 sh sparc x86" -IUSE="offensive" - -DEPEND="virtual/libc - app-text/recode" - -src_unpack() { - unpack ${A} - cd ${S} - - epatch ${FILESDIR}/${P}-gentoo.patch - - sed -i \ - -e 's:/games::' \ - -e 's:/fortunes:/fortune:' \ - -e 's:FORTDIR=$(prefix)/usr:FORTDIR=$(prefix)/usr/bin:' \ - -e 's:^CFLAGS=.*$:CFLAGS=$(DEFINES) $(E_CFLAGS):' \ - -e '/^all:/s:$: fortune/fortune.man:' \ - Makefile \ - || die "sed Makefile failed" - sed -i \ - -e 's:char a, b;:short int a, b;:' util/rot.c \ - || die "sed util/rot.c failed" - - # fixes the '-m' segfault problem on _my_ computer, - # it might screw something else up i don't know about. - sed -i \ - -e '/if (fp->utf8_charset)/{ - N - /free (output);/d - }' fortune/fortune.c \ - || die "sed fortune/fortune.c failed" - use offensive && off=1 || off=0 -} - -src_compile() { - emake \ - CC=$(tc-getCC) \ - REGEXDEFS='-DHAVE_REGEX_H -DPOSIX_REGEX' - E_CFLAGS="${CFLAGS}" \ - LDFLAGS="${LDFLAGS}" \ - OFFENSIVE="${off}" \ - || die "emake failed" -} - -src_install() { - make \ - OFFENSIVE="${off}" \ - prefix="${D}" \ - install \ - || die "make install failed" - - dodoc ChangeLog INDEX Notes Offensive README TODO cookie-files -} |