[131963] trunk/dports/comms/telepathy-logger/Portfile

devans at macports.org devans at macports.org
Wed Jan 21 15:52:13 PST 2015


Revision: 131963
          https://trac.macports.org/changeset/131963
Author:   devans at macports.org
Date:     2015-01-21 15:52:13 -0800 (Wed, 21 Jan 2015)
Log Message:
-----------
telepathy-logger: use gobject_introspection portgroup.

Modified Paths:
--------------
    trunk/dports/comms/telepathy-logger/Portfile

Modified: trunk/dports/comms/telepathy-logger/Portfile
===================================================================
--- trunk/dports/comms/telepathy-logger/Portfile	2015-01-21 23:51:06 UTC (rev 131962)
+++ trunk/dports/comms/telepathy-logger/Portfile	2015-01-21 23:52:13 UTC (rev 131963)
@@ -1,7 +1,8 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem 1.0
+PortSystem      1.0
+PortGroup       gobject_introspection 1.0
 
 name            telepathy-logger
 version         0.8.1
@@ -29,10 +30,11 @@
                 port:python27
 
 depends_lib     port:telepathy-glib \
-                port:gobject-introspection \
                 port:libxml2 \
                 port:sqlite3
 
+gobject_introspection yes
+
 # update m4/intltool.m4 and autoreconf
 
 pre-configure {
@@ -48,11 +50,7 @@
 configure.args  --disable-silent-rules \
                 --disable-coding-style-checks \
                 --disable-schemas-compile \
-                --enable-introspection=yes
 
-# gobject-introspection uses g-ir-scanner, which uses $CC from env
-build.args-append       CC="${configure.cc} ${configure.cc_archflags}"
-
 post-destroot {
     set gsettingsschemadir ${prefix}/share/glib-2.0/schemas
     file mkdir ${destroot}${gsettingsschemadir}
@@ -63,12 +61,6 @@
     system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
 }
 
-# The rules enabled by gobject-introspection require GNU make 3.81+
-platform darwin 8 {
-    depends_build-append    port:gmake
-    build.cmd               ${prefix}/bin/gmake
-}
-
 livecheck.type  regex
 livecheck.url   ${master_sites}
 livecheck.regex ${name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150121/0bd1fdc5/attachment.html>


More information about the macports-changes mailing list