[134814] trunk/dports/gnome/gnome-turtle

devans at macports.org devans at macports.org
Tue Apr 7 14:56:12 PDT 2015


Revision: 134814
          https://trac.macports.org/changeset/134814
Author:   devans at macports.org
Date:     2015-04-07 14:56:12 -0700 (Tue, 07 Apr 2015)
Log Message:
-----------
gnome-turtle: repo moved to github, disable parallel build, broken i18n (no *.po files), install basic doc files and examples, add notes, increment revision.

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

Added Paths:
-----------
    trunk/dports/gnome/gnome-turtle/files/
    trunk/dports/gnome/gnome-turtle/files/patch-Makefile.am.diff

Modified: trunk/dports/gnome/gnome-turtle/Portfile
===================================================================
--- trunk/dports/gnome/gnome-turtle/Portfile	2015-04-07 21:01:07 UTC (rev 134813)
+++ trunk/dports/gnome/gnome-turtle/Portfile	2015-04-07 21:56:12 UTC (rev 134814)
@@ -2,25 +2,60 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           github 1.0
 
-name                gnome-turtle
+github.setup        mlutfy gnome-turtle f8fd2ae
 version             0.1.3
-description         A turtle and lsys drawing program for GNOME.
-long_description    A turtle and lsys drawing program for GNOME. It \
-                    can generate fractals from an L-System definition.
-maintainers         nomaintainer
+revision            1
 categories          gnome math
 license             GPL-2+
 platforms           darwin
-homepage            https://savannah.nongnu.org/p/gnome-turtle/
-master_sites        http://savannah.nongnu.org/download/gnome-turtle/
-checksums           md5 a964b8777854b388da966f1605b8a831
-worksrcdir          ${name}
-depends_build       port:intltool \
-                    port:pkgconfig
+maintainers         nomaintainer
+
+description         A turtle and lsys drawing program for GNOME.
+long_description    ${description} \
+                    It can generate fractals from an L-System definition.
+
+checksums           rmd160  b3e8a5c7053768bae44e9bc5b9b267540ab9899d \
+                    sha256  024695c3e37e6e4394453a76735cf4a1846a0ddad52bd0d78703f3686398e02d
+
+depends_build       port:pkgconfig \
+                    port:intltool \
+                    port:gnome-common \
+                    port:autoconf \
+                    port:automake \
+                    port:libtool
+
 depends_lib         port:libgnomeprintui \
                     port:libgnomeui
 
-livecheck.type      regex
-livecheck.url       ${master_sites}
-livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+# bison/flex processing fails if a parallel build is used
+
+use_parallel_build  no
+
+patchfiles          patch-Makefile.am.diff
+
+configure.cmd       sh my_autogen.sh
+
+# this distribution provides no *.po files so no i18n is available
+
+configure.args      --disable-nls \
+                    --enable-compile-warnings=minimum
+
+# install doc files, examples
+
+post-destroot {
+    xinstall -d ${destroot}${prefix}/share/doc/${name}/examples
+
+    xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING README TODO \
+        ${destroot}${prefix}/share/doc/${name}
+
+    eval xinstall -m 644 [glob ${worksrcpath}/examples/*] \
+        ${destroot}${prefix}/share/doc/${name}/examples
+}
+
+notes "
+For example input files see ${prefix}/share/doc/${name}/examples.
+"
+
+livecheck.type      none

Added: trunk/dports/gnome/gnome-turtle/files/patch-Makefile.am.diff
===================================================================
--- trunk/dports/gnome/gnome-turtle/files/patch-Makefile.am.diff	                        (rev 0)
+++ trunk/dports/gnome/gnome-turtle/files/patch-Makefile.am.diff	2015-04-07 21:56:12 UTC (rev 134814)
@@ -0,0 +1,8 @@
+--- Makefile.am.orig	2015-04-07 13:07:03.000000000 -0700
++++ Makefile.am	2015-04-07 13:07:14.000000000 -0700
+@@ -1,4 +1,4 @@
+-SUBDIRS = po src
++SUBDIRS = src
+ 
+ EXTRA_DIST = \
+ 	gnome-turtle.desktop \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150407/46fdef98/attachment.html>


More information about the macports-changes mailing list