[97417] trunk/dports/graphics/povray/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Sep 5 02:37:40 PDT 2012
Revision: 97417
https://trac.macports.org/changeset/97417
Author: ryandesign at macports.org
Date: 2012-09-05 02:37:37 -0700 (Wed, 05 Sep 2012)
Log Message:
-----------
povray: whitespace / formatting changes / add modeline
Modified Paths:
--------------
trunk/dports/graphics/povray/Portfile
Modified: trunk/dports/graphics/povray/Portfile
===================================================================
--- trunk/dports/graphics/povray/Portfile 2012-09-05 09:03:52 UTC (rev 97416)
+++ trunk/dports/graphics/povray/Portfile 2012-09-05 09:37:37 UTC (rev 97417)
@@ -1,63 +1,68 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
-PortGroup muniversal 1.0
+PortSystem 1.0
+PortGroup muniversal 1.0
-name povray
-version 3.6.1
-revision 7
-maintainers nomaintainer
-categories graphics
-platforms darwin
-description Persistence Of Vision RAYtracer
-long_description POVRAY is a 'free' and popular Ray Tracer available for \
- many platforms (including UNIX). This is a port of the UNIX \
- version, not the graphical Mac OS X version.
-homepage http://www.povray.org/
-master_sites ${homepage}ftp/pub/povray/Official/Unix/ \
- ftp://ftp.povray.org/pub/povray/Official/Unix/
-checksums md5 b5789bb7eeaed0809c5c82d0efda571d \
- sha1 1fab3ccbdedafbf77e3a66087709bbdf60bc643d
-use_bzip2 yes
+name povray
+version 3.6.1
+set branch [join [lrange [split ${version} .] 0 1] .]
+revision 7
+categories graphics
+platforms darwin
+maintainers nomaintainer
-depends_build \
- port:pkgconfig
+description Persistence Of Vision RAYtracer
-depends_lib \
- port:xorg-libsm \
- port:xpm \
- port:libpng \
- port:jpeg \
- port:zlib \
- port:tiff
+long_description POVRAY is a 'free' and popular Ray Tracer available for \
+ many platforms (including UNIX). This is a port of the \
+ UNIX version, not the graphical Mac OS X version.
-patchfiles patch-configure patch-source_png_pov.cpp \
- povray-3.6.1-libpng14.patch
+homepage http://www.povray.org/
+master_sites ${homepage}ftp/pub/povray/Official/Unix/ \
+ ftp://ftp.povray.org/pub/povray/Official/Unix/
+use_bzip2 yes
+checksums md5 b5789bb7eeaed0809c5c82d0efda571d \
+ sha1 1fab3ccbdedafbf77e3a66087709bbdf60bc643d
+
+depends_build port:pkgconfig
+
+depends_lib port:xorg-libsm \
+ port:xpm \
+ port:libpng \
+ port:jpeg \
+ port:zlib \
+ port:tiff
+
+patchfiles patch-configure \
+ patch-source_png_pov.cpp \
+ povray-3.6.1-libpng14.patch
+
# uses its own cflags in addition to the ones we pass anyway
configure.optflags
-configure.args --includedir=${prefix}/include \
- --mandir=${prefix}/share/man \
- COMPILED_BY="MacPorts"
+configure.args --includedir=${prefix}/include \
+ --mandir=${prefix}/share/man \
+ COMPILED_BY="MacPorts"
-set branch [join [lrange [split ${version} .] 0 1] .]
post-destroot {
foreach f {povray.conf povray.ini} {
move ${destroot}${prefix}/etc/povray/${branch}/${f} \
${destroot}${prefix}/etc/povray/${branch}/${f}.sample
}
}
+
post-activate {
foreach f {povray.conf povray.ini} {
if {![file exists ${prefix}/etc/povray/${branch}/${f}]} {
copy ${prefix}/etc/povray/${branch}/${f}.sample \
${prefix}/etc/povray/${branch}/${f}
}
- }
+ }
}
-test.run yes
-test.target check
+test.run yes
+test.target check
# Unable to cross compile, so we need to be able to run the built code
if {${os.arch} == "i386" && ${os.major} >= 11} {
@@ -106,6 +111,6 @@
}
}
-livecheck.type regex
-livecheck.url ${homepage}ftp/pub/povray/Official/Unix/
-livecheck.regex {CURRENT-VERSION-IS-([0-9.]+)}
+livecheck.type regex
+livecheck.url ${homepage}ftp/pub/povray/Official/Unix/
+livecheck.regex {CURRENT-VERSION-IS-([0-9.]+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120905/66cc0a83/attachment.html>
More information about the macports-changes
mailing list