[65516] trunk/dports/games/neverball/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Mar 26 16:06:52 PDT 2010


Revision: 65516
          http://trac.macports.org/changeset/65516
Author:   ryandesign at macports.org
Date:     2010-03-26 16:06:50 -0700 (Fri, 26 Mar 2010)
Log Message:
-----------
neverball: use applications_dir (see #23681); use port:- and path:-style dependencies instead of bin:- and lib:-style

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

Modified: trunk/dports/games/neverball/Portfile
===================================================================
--- trunk/dports/games/neverball/Portfile	2010-03-26 22:58:09 UTC (rev 65515)
+++ trunk/dports/games/neverball/Portfile	2010-03-26 23:06:50 UTC (rev 65516)
@@ -19,10 +19,10 @@
 checksums	md5 a6cd860f1c2b7d8cecbcfc05ff228ef0
 patchfiles	patch-Makefile.diff patch-ball-main.c patch-putt-main.c
 
-depends_lib	bin:sdl-config:libsdl \
-		lib:libSDL_image:libsdl_image \
-		lib:libSDL_mixer:libsdl_mixer \
-		lib:libSDL_ttf:libsdl_ttf
+depends_lib	path:lib/pkgconfig/sdl.pc:libsdl \
+		port:libsdl_image \
+		port:libsdl_mixer \
+		port:libsdl_ttf
 
 configure {
 	reinplace "s|./data|${prefix}/share/${name}|g" ${worksrcpath}/share/config.h
@@ -38,11 +38,11 @@
 platform darwin {
 	pre-destroot {
 		xinstall -d -m 755 \
-			${destroot}/Applications/MacPorts/Neverball.app/Contents/MacOS \
-			${destroot}/Applications/MacPorts/Neverputt.app/Contents/MacOS
-		system "ln -s ${prefix}/bin/neverball \
-			${destroot}/Applications/MacPorts/Neverball.app/Contents/MacOS/Neverball"
-		system "ln -s ${prefix}/bin/neverputt \
-			${destroot}/Applications/MacPorts/Neverputt.app/Contents/MacOS/Neverputt"
+			${destroot}${applications_dir}/Neverball.app/Contents/MacOS \
+			${destroot}${applications_dir}/Neverputt.app/Contents/MacOS
+		ln -s ${prefix}/bin/neverball \
+			${destroot}${applications_dir}/Neverball.app/Contents/MacOS/Neverball
+		ln -s ${prefix}/bin/neverputt \
+			${destroot}${applications_dir}/Neverputt.app/Contents/MacOS/Neverputt
 	}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100326/ab0de4dd/attachment.html>


More information about the macports-changes mailing list