[29527] trunk/dports/games/fortune/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Wed Sep 26 15:24:36 PDT 2007
Revision: 29527
http://trac.macosforge.org/projects/macports/changeset/29527
Author: afb at macports.org
Date: 2007-09-26 15:24:36 -0700 (Wed, 26 Sep 2007)
Log Message:
-----------
make it build again
Modified Paths:
--------------
trunk/dports/games/fortune/Portfile
Modified: trunk/dports/games/fortune/Portfile
===================================================================
--- trunk/dports/games/fortune/Portfile 2007-09-26 22:22:31 UTC (rev 29526)
+++ trunk/dports/games/fortune/Portfile 2007-09-26 22:24:36 UTC (rev 29527)
@@ -4,23 +4,19 @@
name fortune
version 4.6.2-RELEASE
-revision 7
+revision 8
categories games
maintainers nomaintainer at macports.org
description Infamous electronic fortune-cookie generator
long_description ${description}
platforms darwin
+homepage http://www.freebsd.org/
use_bzip2 yes
-master_sites \
- opendarwin \
+master_sites macports
-distfiles \
- ${distname}${extract.suffix} \
+checksums md5 99166e1c47d4b60c865a31d59d359b16 \
-checksums \
- ${distname}${extract.suffix} md5 99166e1c47d4b60c865a31d59d359b16 \
-
extract.only ${name}-${version}.tar.bz2
depends_lib lib:libcompat.1:libcompat
worksrcdir ${name}
@@ -32,11 +28,10 @@
patch-fortune.c patch-strfile.c
configure {
- cd ${worksrcpath}/fortune
- reinplace "s|/usr|${prefix}|" pathnames.h
- reinplace "s|/usr/share|${prefix}/share|" fortune.6
- reinplace "s|/usr/games/fortune|${prefix}/bin/fortune|" fortune.6
- reinplace "s|XXPREFIX|${prefix}|" Makefile
+ reinplace "s|/usr|${prefix}|" ${worksrcpath}/fortune/pathnames.h
+ reinplace "s|/usr/share|${prefix}/share|" ${worksrcpath}/fortune/fortune.6
+ reinplace "s|/usr/games/fortune|${prefix}/bin/fortune|" ${worksrcpath}/fortune/fortune.6
+ reinplace "s|XXPREFIX|${prefix}|" ${worksrcpath}/fortune/Makefile
}
build.type bsd
@@ -46,10 +41,6 @@
limerick.dat murphy murphy.dat murphy-o murphy-o.dat \
startrek startrek.dat zippy zippy.dat"
-post-extract {
- cd ${worksrcpath}
-}
-
destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/games/fortune
xinstall -m 755 ${worksrcpath}/fortune/fortune \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070926/7c75cf2c/attachment.html
More information about the macports-changes
mailing list