[127506] trunk/dports/gnome/devhelp
devans at macports.org
devans at macports.org
Tue Oct 28 17:54:20 PDT 2014
Revision: 127506
https://trac.macports.org/changeset/127506
Author: devans at macports.org
Date: 2014-10-28 17:54:20 -0700 (Tue, 28 Oct 2014)
Log Message:
-----------
devhelp: drop python variants, use python27.
Added Paths:
-----------
trunk/dports/gnome/devhelp/Portfile
trunk/dports/gnome/devhelp/files/patch-configure.ac.diff
Removed Paths:
-------------
trunk/dports/gnome/devhelp/Portfile
trunk/dports/gnome/devhelp/files/patch-configure.ac.diff
Property Changed:
----------------
trunk/dports/gnome/devhelp/
Property changes on: trunk/dports/gnome/devhelp
___________________________________________________________________
Modified: svn:mergeinfo
- /branches/mld-qt-481/dports/gnome/devhelp:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
/users/devans/GNOME-3/stable/dports/gnome/devhelp:108269-113174
/users/rmstonecipher/gnome/devhelp:102363-103172
+ /branches/mld-qt-481/dports/gnome/devhelp:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
/users/devans/GNOME-3/stable/dports/gnome/devhelp:108269-127505
/users/devans/GNOME-3/unstable/dports/gnome/devhelp:116416-118152
/users/rmstonecipher/gnome/devhelp:102363-103172
Deleted: trunk/dports/gnome/devhelp/Portfile
===================================================================
--- trunk/dports/gnome/devhelp/Portfile 2014-10-29 00:51:19 UTC (rev 127505)
+++ trunk/dports/gnome/devhelp/Portfile 2014-10-29 00:54:20 UTC (rev 127506)
@@ -1,81 +0,0 @@
-# -*- 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
-
-name devhelp
-version 3.8.2
-revision 1
-license GPL-2+
-set branch [join [lrange [split ${version} .] 0 1] .]
-description Devhelp is an API documentation browser for GTK+ and GNOME.
-long_description Devhelp is an API documentation browser for GTK+ and GNOME. It works \
- natively with gtk-doc (the API reference framework developed for GTK+ \
- and used throughout GNOME for API documentation). If you use gtk-doc \
- with your project, you can use Devhelp to browse the documentation.
-
-maintainers devans openmaintainer
-categories gnome
-platforms darwin
-homepage https://wiki.gnome.org/Apps/Devhelp
-master_sites gnome:sources/${name}/${branch}/
-
-use_xz yes
-
-checksums rmd160 8d855f485742a0bdc766591d36af09bdbea61801 \
- sha256 a245b53824c6f2ff89245ff807bb2140bde74951ea6f1d759a0fd0c6959ca9f7
-
-depends_build port:pkgconfig \
- port:intltool \
- port:gnome-common \
- port:autoconf \
- port:automake \
- port:libtool
-
-depends_lib port:desktop-file-utils \
- port:gnome-icon-theme \
- port:gtk3 \
- path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3
-
-platform darwin {
- if {${configure.cxx_stdlib} eq "libstdc++"} {
- depends_lib-delete path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3
- depends_lib-append path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3-2.0
- }
-}
-
-patchfiles patch-configure.ac.diff
-
-# use upstream autogen.sh to update m4/intltool.m4 using intltoolize and autoreconf
-
-post-patch {
- xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
- copy ${worksrcpath}/libgd/libgd.m4 ${worksrcpath}/m4
-}
-
-configure.cmd ./autogen.sh
-
-configure.args --with-webkit2=no \
- --disable-schemas-compile
-
-variant python26 conflicts python27 description {Build using Python 2.6} {
- configure.python ${prefix}/bin/python2.6
- depends_build-append port:python26
-}
-
-variant python27 conflicts python26 description {Build using Python 2.7} {
- configure.python ${prefix}/bin/python2.7
- depends_build-append port:python27
-}
-
-if {![variant_isset python26]} {
- default_variants +python27
-}
-
-post-activate {
- system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
- system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
- system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
-}
-
-livecheck.type none
Copied: trunk/dports/gnome/devhelp/Portfile (from rev 127505, users/devans/GNOME-3/stable/dports/gnome/devhelp/Portfile)
===================================================================
--- trunk/dports/gnome/devhelp/Portfile (rev 0)
+++ trunk/dports/gnome/devhelp/Portfile 2014-10-29 00:54:20 UTC (rev 127506)
@@ -0,0 +1,69 @@
+# -*- 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
+
+name devhelp
+version 3.8.2
+revision 2
+license GPL-2+
+set branch [join [lrange [split ${version} .] 0 1] .]
+description Devhelp is an API documentation browser for GTK+ and GNOME.
+long_description Devhelp is an API documentation browser for GTK+ and GNOME. It works \
+ natively with gtk-doc (the API reference framework developed for GTK+ \
+ and used throughout GNOME for API documentation). If you use gtk-doc \
+ with your project, you can use Devhelp to browse the documentation.
+
+maintainers devans openmaintainer
+categories gnome
+platforms darwin
+homepage https://wiki.gnome.org/Apps/Devhelp
+master_sites gnome:sources/${name}/${branch}/
+
+use_xz yes
+
+checksums rmd160 8d855f485742a0bdc766591d36af09bdbea61801 \
+ sha256 a245b53824c6f2ff89245ff807bb2140bde74951ea6f1d759a0fd0c6959ca9f7
+
+depends_build port:pkgconfig \
+ port:intltool \
+ port:gnome-common \
+ port:autoconf \
+ port:automake \
+ port:libtool \
+ port:python27
+
+depends_lib port:desktop-file-utils \
+ port:gnome-icon-theme \
+ port:gtk3 \
+ path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3
+
+platform darwin {
+ if {${configure.cxx_stdlib} eq "libstdc++"} {
+ depends_lib-delete path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3
+ depends_lib-append path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3-2.0
+ }
+}
+
+patchfiles patch-configure.ac.diff
+
+# use upstream autogen.sh to update m4/intltool.m4 using intltoolize and autoreconf
+
+post-patch {
+ xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
+ copy ${worksrcpath}/libgd/libgd.m4 ${worksrcpath}/m4
+}
+
+configure.cmd ./autogen.sh
+
+configure.python ${prefix}/bin/python2.7
+configure.args --with-webkit2=no \
+ --disable-schemas-compile
+
+post-activate {
+ system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
+ system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+ system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
+}
+
+livecheck.type none
Deleted: trunk/dports/gnome/devhelp/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/gnome/devhelp/files/patch-configure.ac.diff 2014-10-29 00:51:19 UTC (rev 127505)
+++ trunk/dports/gnome/devhelp/files/patch-configure.ac.diff 2014-10-29 00:54:20 UTC (rev 127506)
@@ -1,13 +0,0 @@
---- configure.ac.orig 2014-03-06 15:51:48.000000000 -0800
-+++ configure.ac 2014-03-06 15:52:52.000000000 -0800
-@@ -96,8 +96,8 @@
- # i18n stuff
- IT_PROG_INTLTOOL([0.40.0])
-
--AM_GNU_GETTEXT_VERSION([0.17])
--AM_GNU_GETTEXT([external])
-+#AM_GNU_GETTEXT_VERSION([0.17])
-+#AM_GNU_GETTEXT([external])
-
- GETTEXT_PACKAGE=devhelp
- AC_SUBST(GETTEXT_PACKAGE)
Copied: trunk/dports/gnome/devhelp/files/patch-configure.ac.diff (from rev 127505, users/devans/GNOME-3/stable/dports/gnome/devhelp/files/patch-configure.ac.diff)
===================================================================
--- trunk/dports/gnome/devhelp/files/patch-configure.ac.diff (rev 0)
+++ trunk/dports/gnome/devhelp/files/patch-configure.ac.diff 2014-10-29 00:54:20 UTC (rev 127506)
@@ -0,0 +1,13 @@
+--- configure.ac.orig 2014-03-06 15:51:48.000000000 -0800
++++ configure.ac 2014-03-06 15:52:52.000000000 -0800
+@@ -96,8 +96,8 @@
+ # i18n stuff
+ IT_PROG_INTLTOOL([0.40.0])
+
+-AM_GNU_GETTEXT_VERSION([0.17])
+-AM_GNU_GETTEXT([external])
++#AM_GNU_GETTEXT_VERSION([0.17])
++#AM_GNU_GETTEXT([external])
+
+ GETTEXT_PACKAGE=devhelp
+ AC_SUBST(GETTEXT_PACKAGE)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141028/ef4d1f57/attachment-0001.html>
More information about the macports-changes
mailing list