[121354] users/devans/dports/graphics

devans at macports.org devans at macports.org
Mon Jun 23 16:32:48 PDT 2014


Revision: 121354
          https://trac.macports.org/changeset/121354
Author:   devans at macports.org
Date:     2014-06-23 16:32:48 -0700 (Mon, 23 Jun 2014)
Log Message:
-----------
devans/dports: inkscape-0.91, new test port, copy from inkscape-devel and update to pre-release version 0.91pre1.

Modified Paths:
--------------
    users/devans/dports/graphics/inkscape-0.91/Portfile

Added Paths:
-----------
    users/devans/dports/graphics/inkscape-0.91/
    users/devans/dports/graphics/inkscape-0.91/files/
    users/devans/dports/graphics/inkscape-0.91/files/autogen.sh

Modified: users/devans/dports/graphics/inkscape-0.91/Portfile
===================================================================
--- users/devans/dports/graphics/inkscape-devel/Portfile	2014-06-22 01:35:53 UTC (rev 121283)
+++ users/devans/dports/graphics/inkscape-0.91/Portfile	2014-06-23 23:32:48 UTC (rev 121354)
@@ -3,10 +3,10 @@
 
 PortSystem      1.0
 
-name            inkscape-devel
-conflicts       inkscape
-set bzr_rev     13434
-version         0.48.99.${bzr_rev}
+name            inkscape-0.91
+set dname       inkscape
+conflicts       inkscape inkscape-devel
+version         0.91
 epoch           1
 license         GPL-2 LGPL-2.1
 maintainers     devans
@@ -23,12 +23,12 @@
                 gradients, node editing, svg-to-png export, \
                 grouping, and more.
 homepage        http://www.inkscape.org/
-master_sites    file:///Users/devans/macports/distfiles/${name}
+master_sites    https://sourceforge.net/projects/inkscape/files/inkscape/0.91pre1/
 
-checksums       rmd160  922e560cd84b1f4550c1b2130b4ad2111693d526 \
-                sha256  c0a07b74491840906ac42c2d3b1139b2224c00e9edd13f99eaec4be08b934faa
+distname        ${dname}-${version}pre1
 
-worksrcdir      inkscape
+checksums       rmd160  9e953839f090e1423aad437f3bbd3fd2cd791d3d \
+                sha256  a37cebf453d9e473845871e4324ca89d4ae93faed19b424c76d5860776c01b81
 
 depends_build   port:pkgconfig \
                 port:autoconf \
@@ -53,6 +53,10 @@
                 port:libwpg \
                 port:gtkspell2
 
+post-patch {
+    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
+}
+
 variant python26 conflicts python27 description {Configure to use Python version 2.6} {
     depends_lib-append \
         port:py26-lxml \

Added: users/devans/dports/graphics/inkscape-0.91/files/autogen.sh
===================================================================
--- users/devans/dports/graphics/inkscape-0.91/files/autogen.sh	                        (rev 0)
+++ users/devans/dports/graphics/inkscape-0.91/files/autogen.sh	2014-06-23 23:32:48 UTC (rev 121354)
@@ -0,0 +1,45 @@
+#!/bin/sh
+
+# This script does all the magic calls to automake/autoconf and
+# friends that are needed to configure a cvs checkout.  As described in
+# the file HACKING you need a couple of extra tools to run this script
+# successfully.
+#
+# If you are compiling from a released tarball you don't need these
+# tools and you shouldn't use this script.  Just call ./configure
+# directly.
+
+test -n "$srcdir" || srcdir=`dirname "$0"`
+test -n "$srcdir" || srcdir=.
+
+olddir=`pwd`
+cd $srcdir
+
+AUTORECONF=`which autoreconf`
+if test -z $AUTORECONF; then
+        echo "*** No autoreconf found, please install it ***"
+        exit 1
+fi
+
+INTLTOOLIZE=`which intltoolize`
+if test -z $INTLTOOLIZE; then
+        echo "*** No intltoolize found, please install the intltool package ***"
+        exit 1
+fi
+
+autopoint --force
+AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose
+
+# Patch the generated po/Makefile.in.in file so that locale files are installed
+# in the correct location on OS X and Free-BSD systems.  This is a workaround
+# for a bug in intltool.  See https://launchpad.net/bugs/398571
+#
+# The issue should be fixed in intltool 0.51.0.
+#
+# TODO: Drop this hack, and bump our intltool version requirement once the issue
+#       is fixed in intltool
+sed 's/itlocaledir = $(prefix)\/$(DATADIRNAME)\/locale/itlocaledir = $(datarootdir)\/locale/' < po/Makefile.in.in > po/Makefile.in.in.tmp
+mv po/Makefile.in.in.tmp po/Makefile.in.in
+
+echo ""
+echo "Done!  Please run './configure' now."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140623/850c7749/attachment-0001.html>


More information about the macports-changes mailing list