[19543] trunk/dports/games/larn/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Fri Sep 15 12:52:16 PDT 2006


Revision: 19543
Author:   markd at macports.org
Date:     2006-09-15 12:52:15 -0700 (Fri, 15 Sep 2006)

Log Message:
-----------
Closes 10710. Applied maintainer's patch with path fixes.

Modified Paths:
--------------
    trunk/dports/games/larn/Portfile

Modified: trunk/dports/games/larn/Portfile
===================================================================
--- trunk/dports/games/larn/Portfile	2006-09-15 19:47:33 UTC (rev 19542)
+++ trunk/dports/games/larn/Portfile	2006-09-15 19:52:15 UTC (rev 19543)
@@ -1,17 +1,18 @@
-# $Id: Portfile,v 1.12 2006/08/04 05:43:27 markd Exp $
+# $Id: $
 
 PortSystem 1.0
 name		larn
-version		4.6.2-RELEASE
-revision	3
+version             4.6.2
+revision            4
 categories	games
 maintainers	aschenke at tampabay.rr.com
 description	Text-based cavern exploring game
-long_description Larn is text-based fantasy role-playing game similar to Rogue, \
+long_description    Larn is a text-based fantasy role-playing game similar to Rogue, \
             Nethack, etc.
 platforms	darwin
 use_bzip2	yes
 master_sites	opendarwin
+distname            ${name}-${version}-RELEASE
 checksums	md5 cea96f48caa057793f6bcaf3394ca388
 build.type	bsd
 build.args	LDADD+=-L${prefix}/lib\\ -lcompat\\ -lcurses
@@ -31,16 +32,19 @@
 
 depends_lib port:libcompat
 
-configure	{ reinplace "s|MAN|MAN6|" ${worksrcpath}/Makefile
-		  reinplace "s|/usr/share|${prefix}/share|g" \
-		    ${worksrcpath}/pathnames.h
-		  reinplace "s|/var/games|${prefix}/var/games|g" \
-		    ${worksrcpath}/pathnames.h }
+configure           { 
+                        reinplace "s|MAN|MAN6|" ${worksrcpath}/Makefile
+                        reinplace "s|/usr/share/games|${prefix}/share|g" ${worksrcpath}/pathnames.h
+                        reinplace "s|/var/games|${prefix}/var/games|g" ${worksrcpath}/pathnames.h
+                    }
 
-destroot	{ cd ${worksrcpath}
-          xinstall -m 755 -d ${destroot}${prefix}/share/games/larn
-		  xinstall -m 755 -c larn ${destroot}${prefix}/bin
-		  xinstall -m 644 -c larn.6.gz ${destroot}${prefix}/share/man/man6
-		  xinstall -m 644 -c datfiles/larn.help ${destroot}${prefix}/share/games/larn
-		  xinstall -m 644 -c datfiles/larnmaze ${destroot}${prefix}/share/games/larn
-		  destroot.keepdirs ${destroot}${prefix}/var/games/larn }
+destroot            {
+                        xinstall -m 755 -d ${destroot}${prefix}/share/larn
+                        xinstall -m 755 -c ${worksrcpath}/larn ${destroot}${prefix}/bin
+                        xinstall -m 644 -c ${worksrcpath}/larn.6.gz ${destroot}${prefix}/share/man/man6
+                        xinstall -m 644 -c ${worksrcpath}/datfiles/larn.help ${destroot}${prefix}/share/larn
+                        xinstall -m 644 -c ${worksrcpath}/datfiles/larnmaze ${destroot}${prefix}/share/larn
+                        xinstall -m 775 -d ${destroot}${prefix}/var/games/larn
+                        xinstall -m 660 -c /dev/null ${destroot}${prefix}/var/games/larn/lscore12.0
+                        xinstall -m 660 -c /dev/null ${destroot}${prefix}/var/games/larn/llog12.0
+                    }
\ No newline at end of file

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20060915/f61236d8/attachment.html


More information about the macports-changes mailing list