[64919] trunk/dports/gnome/libgsf/Portfile
nox at macports.org
nox at macports.org
Wed Mar 17 13:38:00 PDT 2010
Revision: 64919
http://trac.macports.org/changeset/64919
Author: nox at macports.org
Date: 2010-03-17 13:38:00 -0700 (Wed, 17 Mar 2010)
Log Message:
-----------
Update libgsf to 1.14.17 and create new variant no_gnome
Modified Paths:
--------------
trunk/dports/gnome/libgsf/Portfile
Modified: trunk/dports/gnome/libgsf/Portfile
===================================================================
--- trunk/dports/gnome/libgsf/Portfile 2010-03-17 20:37:46 UTC (rev 64918)
+++ trunk/dports/gnome/libgsf/Portfile 2010-03-17 20:38:00 UTC (rev 64919)
@@ -2,10 +2,10 @@
# $Id$
PortSystem 1.0
-PortGroup muniversal 1.0
name libgsf
-version 1.14.16
+version 1.14.17
+license LGPL-2.1
set branch [join [lrange [split $version .] 0 1] .]
maintainers nomaintainer
categories gnome
@@ -24,26 +24,61 @@
use_bzip2 yes
-checksums md5 8478d83fda0b6e57f36550c11a693ee1 \
- sha1 9461d816c283e977d88916932def678560f9c8d5 \
- rmd160 ca9e6cafb2a2a1ba02e57a0e378471b1c5ecde6e
+checksums md5 d7a14096085e36fb4c3f43e3f38478f8 \
+ sha1 a1ea6d5e02b7f68cdc61977ec8eaf169e3b8abaf \
+ rmd160 8e4d7c0e21f6681c6312f83b324a5817a832ebcc
depends_build port:pkgconfig \
+ port:gconf \
port:intltool \
port:p5-xml-parser
depends_lib port:libbonobo \
+ port:bzip2 \
+ port:gettext \
+ path:lib/pkgconfig/glib-2.0.pc:glib2 \
+ port:libxml2 \
+ port:zlib \
port:gnome-vfs
configure.args --without-python \
--disable-schemas-install
+post-destroot {
+ set docdir ${prefix}/share/doc/${name}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING COPYING.LIB NEWS README \
+ ${destroot}${docdir}
+}
+
post-activate {
- system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
- gconftool-2 --makefile-install-rule \
+ if {![variant_isset no_gnome]} {
+ system "\
+ export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
+ gconftool-2 --makefile-install-rule \
${prefix}/etc/gconf/schemas/*.schemas"
+ }
}
+variant no_gnome description "Disable GNOME support" {
+ post-patch {
+ reinplace {/^manpage_DATA/s/gsf-office-thumbnailer\.1//} \
+ ${worksrcpath}/doc/Makefile.in
+ }
+
+ depends_build-delete \
+ port:gconf
+
+ depends_lib-delete \
+ port:gnome-vfs \
+ port:libbonobo
+
+ configure.args-append \
+ --without-bonobo \
+ --without-gnome-vfs \
+ GCONFTOOL=no
+}
+
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/20100317/f9672289/attachment.html>
More information about the macports-changes
mailing list