[104794] trunk/dports/gnome/libgtop/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Tue Apr 2 14:09:53 PDT 2013
Revision: 104794
https://trac.macports.org/changeset/104794
Author: jeremyhu at macports.org
Date: 2013-04-02 14:09:53 -0700 (Tue, 02 Apr 2013)
Log Message:
-----------
libgtop: Add support for gobject-introspection
Modified Paths:
--------------
trunk/dports/gnome/libgtop/Portfile
Modified: trunk/dports/gnome/libgtop/Portfile
===================================================================
--- trunk/dports/gnome/libgtop/Portfile 2013-04-02 21:03:53 UTC (rev 104793)
+++ trunk/dports/gnome/libgtop/Portfile 2013-04-02 21:09:53 UTC (rev 104794)
@@ -5,6 +5,7 @@
name libgtop
version 2.28.4
+revision 1
license GPL-2
set branch [join [lrange [split ${version} .] 0 1] .]
@@ -27,7 +28,8 @@
port:intltool \
port:gtk-doc
-depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2
+depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
+ port:gobject-introspection
use_bzip2 yes
@@ -36,8 +38,11 @@
configure.args --x-includes=${prefix}/include \
--x-libraries=${prefix}/lib \
- --enable-introspection=no
+ --enable-introspection
+# gobject-introspection uses g-ir-scanner, which uses $CC from env
+build.args-append CC="${configure.cc} ${configure.cc_archflags}"
+
livecheck.type regex
livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130402/b3e52d5c/attachment.html>
More information about the macports-changes
mailing list