[134910] trunk/dports/gnome/drivel

devans at macports.org devans at macports.org
Fri Apr 10 08:23:30 PDT 2015


Revision: 134910
          https://trac.macports.org/changeset/134910
Author:   devans at macports.org
Date:     2015-04-10 08:23:29 -0700 (Fri, 10 Apr 2015)
Log Message:
-----------
drivel: reconfigure using autogen.sh for intltool 0.51 compatibility, update description, drop maintainership.

Modified Paths:
--------------
    trunk/dports/gnome/drivel/Portfile

Added Paths:
-----------
    trunk/dports/gnome/drivel/files/
    trunk/dports/gnome/drivel/files/autogen.sh

Modified: trunk/dports/gnome/drivel/Portfile
===================================================================
--- trunk/dports/gnome/drivel/Portfile	2015-04-10 14:47:30 UTC (rev 134909)
+++ trunk/dports/gnome/drivel/Portfile	2015-04-10 15:23:29 UTC (rev 134910)
@@ -9,10 +9,10 @@
 license         GPL-2+ GFDL-1.3
 description Drivel is a GNOME client for working with online journals, weblogs or just blogs.
 long_description \
-                Drivel is a GNOME client for working with online journals, also known as weblogs \
+                Drivel is a GNOME 2 client for working with online journals, also known as weblogs \
                 or simply 'blogs'. It retains a simple and elegant design while providing many powerful \
                 features including support for LiveJournal, Blogger, MovableType, Advogato, and Atom journals.
-maintainers     devans openmaintainer
+maintainers     nomaintainer
 categories      gnome
 platforms       darwin
 homepage        http://drivel.sourceforge.net/
@@ -25,7 +25,11 @@
 
 depends_build   port:pkgconfig \
                 port:intltool \
-                port:gnome-doc-utils
+                port:gnome-common \
+                port:gnome-doc-utils \
+                port:autoconf \
+                port:automake \
+                port:libtool
                 
 depends_lib     port:desktop-file-utils \
                 port:gtk2 \
@@ -38,14 +42,13 @@
 
 depends_run     port:yelp
 
-# update m4/intltool.m4 and autoreconf
+# reconfigure using autogen.sh for intltool 0.51 compatibility
 
-pre-configure {
-    copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4
+post-patch {
+    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
 }
 
-use_autoreconf  yes
-autoreconf.args -fvi
+configure.cmd   ./autogen.sh
 
 configure.args  --disable-mime-update \
                 --disable-desktop-update \

Added: trunk/dports/gnome/drivel/files/autogen.sh
===================================================================
--- trunk/dports/gnome/drivel/files/autogen.sh	                        (rev 0)
+++ trunk/dports/gnome/drivel/files/autogen.sh	2015-04-10 15:23:29 UTC (rev 134910)
@@ -0,0 +1,23 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="drivel"
+
+(test -f $srcdir/src/drivel.h) || {
+    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 from the GNOME CVS"
+    exit 1
+}
+
+REQUIRED_AUTOMAKE_VERSION=1.7.2
+USE_GNOME2_MACROS=1 
+USE_COMMON_DOC_BUILD=yes
+. gnome-autogen.sh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150410/64695074/attachment.html>


More information about the macports-changes mailing list