[103199] trunk/dports/graphics/argyll/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Feb 18 03:25:36 PST 2013
Revision: 103199
https://trac.macports.org/changeset/103199
Author: ryandesign at macports.org
Date: 2013-02-18 03:25:36 -0800 (Mon, 18 Feb 2013)
Log Message:
-----------
argyll: license AGPL-3; reuse homepage variable when declaring master_sites; remove unnecessary comment; do all reinplacing in the post-patch block and use "use_configure no" instead, thereby disabling the universal variant which didn't work; ensure we're UsingTheRightCompiler; remove unnecessary directory creations
Modified Paths:
--------------
trunk/dports/graphics/argyll/Portfile
Modified: trunk/dports/graphics/argyll/Portfile
===================================================================
--- trunk/dports/graphics/argyll/Portfile 2013-02-18 10:58:07 UTC (rev 103198)
+++ trunk/dports/graphics/argyll/Portfile 2013-02-18 11:25:36 UTC (rev 103199)
@@ -9,7 +9,7 @@
categories graphics
platforms darwin
maintainers nomaintainer
-license gpl
+license AGPL-3
description Argyll Color Management System
long_description ArgyllCMS is an ICC compatible color management \
@@ -19,9 +19,8 @@
access library, icclib, and a general purpose CGATS file format I/O library.
homepage http://www.argyllcms.com/
-
+master_sites ${homepage}
use_zip yes
-master_sites http://www.argyllcms.com/
distname Argyll_V${version}_src
checksums md5 dd0b8e2da65e4bb7fc38aef377e73afd \
@@ -38,8 +37,7 @@
patchfiles patch-jamfiles.diff \
patch-spectro_usbio.c.diff
-# parts of Argyll (plot and spectra) use 32-bit Carbon;
-# restrict build arches
+# parts of Argyll (plot and spectra) use 32-bit Carbon
supported_archs i386 ppc
post-patch {
@@ -58,9 +56,7 @@
foreach fixfile [exec find ${worksrcpath} -name Jamfile] {
reinplace "s,#InstallLib,InstallLib,g" ${fixfile}
}
-}
-configure {
# fix CC / CXX / LD arch flag settings
reinplace "s, at CCFLAGS@,${configure.cc_archflags},g" \
${worksrcpath}/Jambase
@@ -70,6 +66,10 @@
${worksrcpath}/Jambase
}
+use_configure no
+
+build.args CC=${configure.cc}
+
# 'destroot' actually just installed files locally to
# the worksrcpath
@@ -85,7 +85,6 @@
# Install binaries
delete ${worksrcpath}/bin/License.txt
- xinstall -m 755 -d ${destroot}${prefix}/bin
eval xinstall -m 755 [glob ${worksrcpath}/bin/*] \
${destroot}${prefix}/bin
@@ -104,7 +103,6 @@
}
# Install libraries
- xinstall -m 755 -d ${destroot}${prefix}/lib
eval xinstall -m 644 [glob ${worksrcpath}/lib/lib*] \
${destroot}${prefix}/lib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130218/9517aabe/attachment.html>
More information about the macports-changes
mailing list