[60473] trunk/dports/devel/libdevil/Portfile
blb at macports.org
blb at macports.org
Thu Nov 12 23:31:30 PST 2009
Revision: 60473
http://trac.macports.org/changeset/60473
Author: blb at macports.org
Date: 2009-11-12 23:31:27 -0800 (Thu, 12 Nov 2009)
Log Message:
-----------
devel/libdevil - update to 1.7.8;
add jasper as a dependency since it links against it by default;
explicitly disable EXR so it doesn't try to use it;
install some docs;
properly handle the build arch of the system (i386, x86_64, ppc);
ticket #22441 (maintainer timeout)
Modified Paths:
--------------
trunk/dports/devel/libdevil/Portfile
Modified: trunk/dports/devel/libdevil/Portfile
===================================================================
--- trunk/dports/devel/libdevil/Portfile 2009-11-13 06:54:13 UTC (rev 60472)
+++ trunk/dports/devel/libdevil/Portfile 2009-11-13 07:31:27 UTC (rev 60473)
@@ -3,7 +3,7 @@
PortSystem 1.0
name libdevil
-version 1.6.8-rc2
+version 1.7.8
categories devel multimedia
platforms darwin
maintainers simon openmaintainer
@@ -23,15 +23,32 @@
homepage http://openil.sourceforge.net/
master_sites sourceforge:openil
distname DevIL-${version}
-checksums md5 9d815c8637adb6fb6c25c38dc178aca2 \
- sha1 aa9c2012d15c511ec2db34463a21f84fcfb40170 \
- rmd160 23d6bf1f9fef48b7a3350e3cd13148a982ff99a7
-worksrcdir DevIL-1.6.8
+checksums md5 7918f215524589435e5ec2e8736d5e1d \
+ sha1 bc27e3e830ba666a3af03548789700d10561fcb1 \
+ rmd160 a3cdb14fcca5e75ada240a53cbdc3e749a759da5
+worksrcdir devil-${version}
depends_lib port:lcms \
port:libmng \
- port:libpng
+ port:libpng \
+ port:jasper
+configure.args --disable-exr
+if {${configure.build_arch} == "i386"} {
+ configure.args-append --enable-x86
+} elseif {${configure.build_arch} == "x86_64"} {
+ configure.args-append --enable-x86_64
+} else {
+ configure.args-append --enable-ppc
+}
+
+post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING CREDITS ChangeLog \
+ NEWS README TODO ${destroot}${prefix}/share/doc/${name}
+ file copy ${worksrcpath}/docs/html ${destroot}${prefix}/share/doc/${name}
+}
+
livecheck.type regex
livecheck.url http://sourceforge.net/project/showfiles.php?group_id=4470&package_id=24273
livecheck.regex "DevIL-(.+?).tar.gz"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091112/09bb617d/attachment.html>
More information about the macports-changes
mailing list