[101507] trunk/dports/python/py-pycg/Portfile
blair at macports.org
blair at macports.org
Fri Jan 11 20:46:47 PST 2013
Revision: 101507
https://trac.macports.org/changeset/101507
Author: blair at macports.org
Date: 2013-01-11 20:46:47 -0800 (Fri, 11 Jan 2013)
Log Message:
-----------
py-pycg: depend upon cg-toolkit instead of requiring users to manually install Cg.
Modified Paths:
--------------
trunk/dports/python/py-pycg/Portfile
Modified: trunk/dports/python/py-pycg/Portfile
===================================================================
--- trunk/dports/python/py-pycg/Portfile 2013-01-12 04:45:06 UTC (rev 101506)
+++ trunk/dports/python/py-pycg/Portfile 2013-01-12 04:46:47 UTC (rev 101507)
@@ -5,7 +5,7 @@
name py-pycg
version 0.14.1
-revision 9
+revision 10
license GPL-2
platforms darwin
maintainers blair
@@ -21,7 +21,8 @@
if {$subport != $name} {
depends_build-append port:swig-python
- depends_lib-append port:py${python.version}-numpy
+ depends_lib-append port:cg-toolkit \
+ port:py${python.version}-numpy
fetch.type bzr
bzr.url lp:~callelejdfors/pycg/trunk
@@ -29,13 +30,6 @@
worksrcdir py-PyCg-${version}
- pre-fetch {
- if {![file exists /Library/Frameworks/Cg.framework/Versions/1.0/Headers/cg.h]} {
- ui_error "Missing Cg install; download and install http://developer.nvidia.com/cg-toolkit"
- return -code error "missing Cg install"
- }
- }
-
post-patch {
file copy ${worksrcpath}/Darwin.conf.in ${worksrcpath}/Darwin.conf
reinplace "s|@CC@|${configure.compiler}|g" ${worksrcpath}/Darwin.conf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130111/35d004d1/attachment.html>
More information about the macports-changes
mailing list