Modified: trunk/dports/games/digger/Portfile (38865 => 38866)
--- trunk/dports/games/digger/Portfile 2008-08-01 11:28:53 UTC (rev 38865)
+++ trunk/dports/games/digger/Portfile 2008-08-01 11:33:10 UTC (rev 38866)
@@ -1,42 +1,47 @@
# $Id$
-PortSystem 1.0
+PortSystem 1.0
-name digger
-version 20020314
-revision 1
-categories games
-platforms darwin
-maintainers nomaintainer
-description the Digger game
-long_description ${description}
+name digger
+version 20020314
+revision 1
+categories games
+platforms darwin
+maintainers nomaintainer
-homepage http://www.digger.org
-master_sites ${homepage}
-checksums md5 a16e90a49ed8ea90099b254d3ef5edfa
-patchfiles patch-def.h.diff patch-digger.c.diff patch-input.c.diff \
- patch-scores.c.diff patch-input.h.diff patch-main.c.diff
+description the Digger game
+long_description ${description}
-depends_lib bin:sdl-config:libsdl
+homepage http://www.digger.org
+master_sites ${homepage}
+checksums md5 a16e90a49ed8ea90099b254d3ef5edfa
+patchfiles patch-def.h.diff \
+ patch-digger.c.diff \
+ patch-input.c.diff \
+ patch-scores.c.diff \
+ patch-input.h.diff \
+ patch-main.c.diff
+depends_lib bin:sdl-config:libsdl
+
post-extract {
- file copy ${filespath}/Makefile.darwin ${worksrcpath}/Makefile
+ file copy ${filespath}/Makefile.darwin ${worksrcpath}/Makefile
}
-use_configure no
+use_configure no
destroot {
- xinstall -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 ${worksrcpath}/digger.txt \
- ${destroot}${prefix}/share/doc/${name}
- xinstall -mode 755 -s ${worksrcpath}/digger ${destroot}${prefix}/bin
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 ${worksrcpath}/digger.txt \
+ ${destroot}${prefix}/share/doc/${name}
+ xinstall -mode 755 -s ${worksrcpath}/digger ${destroot}${prefix}/bin
}
platform darwin {
- post-destroot {
- file mkdir ${destroot}/Applications/MacPorts/Digger.app/Contents/MacOS
- xinstall -mode 755 ${filespath}/Digger.darwin \
- ${destroot}/Applications/MacPorts/Digger.app/Contents/MacOS/Digger
- reinplace "s|_PREFIX_|${prefix}|g" ${destroot}/Applications/MacPorts/Digger.app/Contents/MacOS/Digger
- }
+ post-destroot {
+ file mkdir ${destroot}/Applications/MacPorts/Digger.app/Contents/MacOS
+ xinstall -mode 755 ${filespath}/Digger.darwin \
+ ${destroot}/Applications/MacPorts/Digger.app/Contents/MacOS/Digger
+ reinplace "s|_PREFIX_|${prefix}|g" ${destroot}/Applications/MacPorts/Digger.app/Contents/MacOS/Digger
+ }
}