[38896] trunk/dports/games/chromium/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat Aug 2 01:31:18 PDT 2008
Revision: 38896
http://trac.macosforge.org/projects/macports/changeset/38896
Author: ryandesign at macports.org
Date: 2008-08-02 01:31:18 -0700 (Sat, 02 Aug 2008)
Log Message:
-----------
chromium: whitespace changes only
Modified Paths:
--------------
trunk/dports/games/chromium/Portfile
Modified: trunk/dports/games/chromium/Portfile
===================================================================
--- trunk/dports/games/chromium/Portfile 2008-08-02 08:23:29 UTC (rev 38895)
+++ trunk/dports/games/chromium/Portfile 2008-08-02 08:31:18 UTC (rev 38896)
@@ -1,61 +1,64 @@
# $Id$
-PortSystem 1.0
+PortSystem 1.0
-name chromium
-version 0.9.12
-categories games
-platforms darwin
-maintainers nomaintainer
-description fast paced, arcade-style, top-scrolling space shooter.
-long_description ${description}
+name chromium
+version 0.9.12
+categories games
+platforms darwin
+maintainers nomaintainer
-homepage http://www.reptilelabour.com/software/chromium/
-master_sites http://www.reptilelabour.com/software/files/chromium/
-distfiles ${name}-src-${version}.tar.gz \
- ${name}-data-${version}.tar.gz
-checksums ${name}-src-${version}.tar.gz \
- md5 969883f2f20f10cd6cdb380582f130c4 \
- ${name}-data-${version}.tar.gz \
- md5 173fdf76f1e4d7496142cd5662456a73
-patchfiles patch-configure_functions \
- patch-Makefile.no-setup \
- patch-NCString.cpp \
- patch-Makefile \
- patch-MainSDL_Event.cpp
+description fast paced, arcade-style, top-scrolling space shooter.
+long_description ${description}
-worksrcdir Chromium-0.9
+homepage http://www.reptilelabour.com/software/chromium/
+master_sites http://www.reptilelabour.com/software/files/chromium/
+distfiles ${name}-src-${version}.tar.gz \
+ ${name}-data-${version}.tar.gz
+checksums ${name}-src-${version}.tar.gz \
+ md5 969883f2f20f10cd6cdb380582f130c4 \
+ ${name}-data-${version}.tar.gz \
+ md5 173fdf76f1e4d7496142cd5662456a73
+patchfiles patch-configure_functions \
+ patch-Makefile.no-setup \
+ patch-NCString.cpp \
+ patch-Makefile \
+ patch-MainSDL_Event.cpp
-depends_lib lib:libvorbis:libvorbis \
- port:libsdl \
- port:smpeg \
- port:openal
+worksrcdir Chromium-0.9
-extract.post_args "| tar -xf - --exclude 'CVS'"
+depends_lib lib:libvorbis:libvorbis \
+ port:libsdl \
+ port:smpeg \
+ port:openal
-post-patch {
- reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/configure
- reinplace "s|\"../data\"|\"${prefix}/share/${name}\"|g" \
- ${worksrcpath}/src/main.cpp ${worksrcpath}/src/define.h
+extract.post_args "| tar -xf - --exclude 'CVS'"
+
+post-patch {
+ reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/configure
+ reinplace "s|\"../data\"|\"${prefix}/share/${name}\"|g" \
+ ${worksrcpath}/src/main.cpp \
+ ${worksrcpath}/src/define.h
}
+
configure.pre_args
-configure.args --enable-sdl \
- --enable-smpeg \
- --enable-vorbis \
- --disable-setup
+configure.args --enable-sdl \
+ --enable-smpeg \
+ --enable-vorbis \
+ --disable-setup
-destroot {
- xinstall -m 755 ${worksrcpath}/bin/chromium ${destroot}${prefix}/bin
- xinstall -m 755 -d ${destroot}${prefix}/share/
- file copy ${worksrcpath}/data ${destroot}${prefix}/share/${name}
- xinstall -m 644 ${filespath}/powerUpShield.png \
- ${destroot}${prefix}/share/${name}/png
+destroot {
+ xinstall -m 755 ${worksrcpath}/bin/chromium ${destroot}${prefix}/bin
+ xinstall -m 755 -d ${destroot}${prefix}/share/
+ file copy ${worksrcpath}/data ${destroot}${prefix}/share/${name}
+ xinstall -m 644 ${filespath}/powerUpShield.png \
+ ${destroot}${prefix}/share/${name}/png
}
-platform darwin {
- post-destroot {
- xinstall -m 755 -d ${destroot}/Applications/MacPorts/Chromium.app/Contents/MacOS
- system "ln -s ${prefix}/bin/chromium \
- ${destroot}/Applications/MacPorts/Chromium.app/Contents/MacOS/Chromium"
- }
+platform darwin {
+ post-destroot {
+ xinstall -m 755 -d ${destroot}/Applications/MacPorts/Chromium.app/Contents/MacOS
+ system "ln -s ${prefix}/bin/chromium \
+ ${destroot}/Applications/MacPorts/Chromium.app/Contents/MacOS/Chromium"
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/e5f44a99/attachment-0001.html
More information about the macports-changes
mailing list