[119411] trunk/dports/science/gwyddion/Portfile
rowue at macports.org
rowue at macports.org
Thu Apr 24 14:34:13 PDT 2014
Revision: 119411
https://trac.macports.org/changeset/119411
Author: rowue at macports.org
Date: 2014-04-24 14:34:13 -0700 (Thu, 24 Apr 2014)
Log Message:
-----------
gwyddion: added support for pygwy
Modified Paths:
--------------
trunk/dports/science/gwyddion/Portfile
Modified: trunk/dports/science/gwyddion/Portfile
===================================================================
--- trunk/dports/science/gwyddion/Portfile 2014-04-24 21:15:26 UTC (rev 119410)
+++ trunk/dports/science/gwyddion/Portfile 2014-04-24 21:34:13 UTC (rev 119411)
@@ -37,17 +37,21 @@
--x-include=${prefix}/include \
--x-lib=${prefix}/lib
-variant quartz description { Build gwyddion with quartz gl support} {
-# patchfiles-append patch-configure.diff \
-# patch-app-mac_integration.c.diff \
-# patch-app-Makefile.in.diff
-#
+variant quartz description { Build gwyddion with quartz gl support } {
depends_lib-append port:gtk-osx-application
}
-# remove one year (app.) after gwyddion 2.32 sees the light
-variant no_x11 requires quartz description { Legacy compatibility variant } {}
+variant pygwy description { Build gwyddion with python support } {
+ set python.prefix ${frameworks_dir}/Python.framework/Versions/2.7
+ configure.pkg_config_path ${python.prefix}/lib/pkgconfig
+ depends_lib-append port:py-pygtk \
+ port:python-27
+ configure.cflags-append -I${python.prefix}/include
+}
+# remove after october 2014
+variant no_x11 requires quartz description { Legacy compatibility variant } {}
+
variant debug description { Enable debugging } {
configure.cflags-append "-O0 -g"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140424/5725b947/attachment.html>
More information about the macports-changes
mailing list