[119982] users/devans/GNOME-3/stable/dports/gnome/devhelp

devans at macports.org devans at macports.org
Mon May 12 09:25:19 PDT 2014


Revision: 119982
          https://trac.macports.org/changeset/119982
Author:   devans at macports.org
Date:     2014-05-12 09:25:19 -0700 (Mon, 12 May 2014)
Log Message:
-----------
GNOME-3/stable: devhelp current version is now 3.12.1, requires webkit2gtk-3.0 >= 2.0.0 (#41560).

Added Paths:
-----------
    users/devans/GNOME-3/stable/dports/gnome/devhelp/Portfile-3.12.1
    users/devans/GNOME-3/stable/dports/gnome/devhelp/files-3.12.1/
    users/devans/GNOME-3/stable/dports/gnome/devhelp/files-3.12.1/autogen.sh

Removed Paths:
-------------
    users/devans/GNOME-3/stable/dports/gnome/devhelp/Portfile-3.12.0
    users/devans/GNOME-3/stable/dports/gnome/devhelp/files-3.12.0/

Deleted: users/devans/GNOME-3/stable/dports/gnome/devhelp/Portfile-3.12.0
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/devhelp/Portfile-3.12.0	2014-05-12 16:06:09 UTC (rev 119981)
+++ users/devans/GNOME-3/stable/dports/gnome/devhelp/Portfile-3.12.0	2014-05-12 16:25:19 UTC (rev 119982)
@@ -1,91 +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: Portfile 116644 2014-02-01 00:32:35Z devans at macports.org $
-
-PortSystem      1.0
-
-name            devhelp
-version         3.11.92
-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  fee18c3f1cb209eb4bc4de0213587eb602ebff1a \
-                sha256  625fb1e2adefef8bbf767977a6cd03ef080597d6bc397e1231bd1514873a8396
-
-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
-
-# TODO: Check ${configure.cxx_stdlib} directly once MacPorts 2.3 is released
-platform darwin {
-    set cxxstdlib {}
-
-    if {[info exists configure.cxx_stdlib] &&
-        ${configure.cxx_stdlib} ne {} &&
-        [string match *clang* ${configure.cxx}]} {
-        set cxxstdlib ${configure.cxx_stdlib}
-    } elseif {[string match *clang* ${configure.cxx}] &&
-              ${os.major} >= 13} {
-        set cxxstdlib libc++
-    } else {
-        set cxxstdlib libstdc++
-    }
-
-    if {${cxxstdlib} 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
-    }
-}
-
-# use upstream autogen.sh to update m4/intltool.m4 using intltoolize and autoreconf
-
-post-patch {
-    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
-}
-
-configure.cmd   ./autogen.sh
-
-configure.args  --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  gnome-with-unstable

Added: users/devans/GNOME-3/stable/dports/gnome/devhelp/Portfile-3.12.1
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/devhelp/Portfile-3.12.1	                        (rev 0)
+++ users/devans/GNOME-3/stable/dports/gnome/devhelp/Portfile-3.12.1	2014-05-12 16:25:19 UTC (rev 119982)
@@ -0,0 +1,91 @@
+# -*- 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: Portfile 116644 2014-02-01 00:32:35Z devans at macports.org $
+
+PortSystem      1.0
+
+name            devhelp
+version         3.12.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  3b24cb37f2c6e5ad51a277afde07f08fab9eed21 \
+                sha256  ce2c73e25eaec553abcfdb57de4ec399fa051783e0d4fbbb63da0fda1c6c8335
+
+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
+
+# TODO: Check ${configure.cxx_stdlib} directly once MacPorts 2.3 is released
+platform darwin {
+    set cxxstdlib {}
+
+    if {[info exists configure.cxx_stdlib] &&
+        ${configure.cxx_stdlib} ne {} &&
+        [string match *clang* ${configure.cxx}]} {
+        set cxxstdlib ${configure.cxx_stdlib}
+    } elseif {[string match *clang* ${configure.cxx}] &&
+              ${os.major} >= 13} {
+        set cxxstdlib libc++
+    } else {
+        set cxxstdlib libstdc++
+    }
+
+    if {${cxxstdlib} 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
+    }
+}
+
+# use upstream autogen.sh to update m4/intltool.m4 using intltoolize and autoreconf
+
+post-patch {
+    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
+}
+
+configure.cmd   ./autogen.sh
+
+configure.args  --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  gnome-with-unstable

Added: users/devans/GNOME-3/stable/dports/gnome/devhelp/files-3.12.1/autogen.sh
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/devhelp/files-3.12.1/autogen.sh	                        (rev 0)
+++ users/devans/GNOME-3/stable/dports/gnome/devhelp/files-3.12.1/autogen.sh	2014-05-12 16:25:19 UTC (rev 119982)
@@ -0,0 +1,21 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="Devhelp"
+ACLOCAL_FLAGS="-I libgd $ACLOCAL_FLAGS"
+
+(test -f $srcdir/src/dh-main.c) || {
+    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+    echo " top-level $PKG_NAME directory"
+    exit 1
+}
+
+which gnome-autogen.sh || {
+    echo "You need to install gnome-common."
+    exit 1
+}
+
+. gnome-autogen.sh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140512/0b80b9d8/attachment.html>


More information about the macports-changes mailing list