[36940] trunk/dports/games/SDLInvaders/Portfile

phw at macports.org phw at macports.org
Tue May 20 04:56:16 PDT 2008


Revision: 36940
          http://trac.macosforge.org/projects/macports/changeset/36940
Author:   phw at macports.org
Date:     2008-05-20 04:56:15 -0700 (Tue, 20 May 2008)

Log Message:
-----------
Created new Port Duke Nukem 3D (runtimes only)

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

Modified: trunk/dports/games/SDLInvaders/Portfile
===================================================================
--- trunk/dports/games/SDLInvaders/Portfile	2008-05-20 07:43:48 UTC (rev 36939)
+++ trunk/dports/games/SDLInvaders/Portfile	2008-05-20 11:56:15 UTC (rev 36940)
@@ -2,35 +2,28 @@
 
 PortSystem 1.0
 
-name		SDLInvaders
-version		0.8.0
+name		duke3d
+version		0.1
 categories	games
 platforms	darwin
-maintainers	nomaintainer
-description	simple clone of the famous Space Invaders game.
-long_description	${description}
+maintainers	phw openmaintainer
+description	Runtime for FPS Duke Nukem 3D
+long_description Duke Nukem 3D is a first-person shooter computer game \
+		 developed by 3D Realms and published by Apogee Software. \
+		 Level and gamefiles are not included (use Shareware Version)
+fetch.type      svn
+svn.url 	svn://svn.icculus.org/duke3d/trunk/
+homepage	http://icculus.org/duke3d/
 
-# no better homepage available, sf.net only has outdated versions
-homepage	http://sourceforge.net/projects/sdlinvaders
-master_sites	http://csnlinux.genesee.edu/opsys/downloads/software-lesson/
-checksums	md5 f3fbca07eb05acfae23d2d554a0f1375
-
 depends_lib	port:libsdl \
 		port:libsdl_image \
 		port:libsdl_mixer
 
-configure.cflags-append	"-I${prefix}/include"
-configure.args	--disable-sdltest
+worksrcdir       trunk/source/
+use_configure    no
+build.args       macosx=true
 
-build.env	CFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
-
-platform darwin	{
-	post-destroot	{
-		file attributes \
-			${destroot}${prefix}/share/SDLInvaders/highscores \
-			-permissions +w
-		file mkdir ${destroot}/Applications/MacPorts/${name}.app/Contents/MacOS
-		system "ln -s ${prefix}/bin/${name} \
-			${destroot}/Applications/MacPorts/${name}.app/Contents/MacOS"
+destroot {
+	xinstall -m 755 -d ${destroot}/${prefix}/bin
+	file copy ${worksrcpath}/${name} ${destroot}/${prefix}/bin/
 	}
-}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080520/4519114e/attachment.htm 


More information about the macports-changes mailing list