RMD160 01c0e6a534933841dd5529cb36bcc24874861275 files/fortune-mod-1.99.1-gentoo.patch 2699
SHA256 840c56ee0128d118a861dd33c3aa04e635d20af5febc626864cdc22943223490 files/fortune-mod-1.99.1-gentoo.patch 2699
DIST fortune-mod-1.99.1.tar.gz 1812089 RMD160 020e597bde43ebd58ea82171d0e69222dc26b566 SHA1 53aa354025094d7c0e544bb1662714815fa63918 SHA256 fc51aee1f73c936c885f4e0f8b6b48f4f68103e3896eaddc6a45d2b71e14eace
-EBUILD fortune-mod-1.99.1-r1.ebuild 1662 RMD160 22f871bd1bcc7b2b749cf6f34ec1281f8d174b4c SHA1 ad1f063419da5494d0e33cccf78106e7ef3d3c2d SHA256 ba7b7189351cdab7b3f71e2a460a5dad933c9ea53484e8e16c153bf7720b097b
-MD5 fa2291176c6de5d6f330fd0754d325d6 fortune-mod-1.99.1-r1.ebuild 1662
-RMD160 22f871bd1bcc7b2b749cf6f34ec1281f8d174b4c fortune-mod-1.99.1-r1.ebuild 1662
-SHA256 ba7b7189351cdab7b3f71e2a460a5dad933c9ea53484e8e16c153bf7720b097b fortune-mod-1.99.1-r1.ebuild 1662
EBUILD fortune-mod-1.99.1-r2.ebuild 1313 RMD160 475bc46086a713be1109c6bc7d5145e29dbe84b8 SHA1 f70dd44f0afa0e498c4ee8223bed590c9b4fe6c1 SHA256 c767afdd50a105eb244f946004f2e84cd085d7e075cd09328b796d54f9bc4010
MD5 194d5a8687f8bbc09d961c52091390e6 fortune-mod-1.99.1-r2.ebuild 1313
RMD160 475bc46086a713be1109c6bc7d5145e29dbe84b8 fortune-mod-1.99.1-r2.ebuild 1313
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
-MD5 3be5e813234e7aa9b79c243a23391461 files/digest-fortune-mod-1.99.1-r1 259
-RMD160 52a6698c67bb1469a42813b3560994862f8ceadf files/digest-fortune-mod-1.99.1-r1 259
-SHA256 6ff616a1e74857afd6bee810aad1c1cdddf28e1c6f8652de66fb0a8980394fee files/digest-fortune-mod-1.99.1-r1 259
MD5 3be5e813234e7aa9b79c243a23391461 files/digest-fortune-mod-1.99.1-r2 259
RMD160 52a6698c67bb1469a42813b3560994862f8ceadf files/digest-fortune-mod-1.99.1-r2 259
SHA256 6ff616a1e74857afd6bee810aad1c1cdddf28e1c6f8652de66fb0a8980394fee files/digest-fortune-mod-1.99.1-r2 259
+++ /dev/null
-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
+++ /dev/null
-# 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
-}