[126076] trunk/dports/games/tuxtype

ryandesign at macports.org ryandesign at macports.org
Thu Oct 2 21:22:04 PDT 2014


Revision: 126076
          https://trac.macports.org/changeset/126076
Author:   ryandesign at macports.org
Date:     2014-10-02 21:22:04 -0700 (Thu, 02 Oct 2014)
Log Message:
-----------
tuxtype: update to 1.8.3 (#31017; maintainer timeout)

Modified Paths:
--------------
    trunk/dports/games/tuxtype/Portfile

Added Paths:
-----------
    trunk/dports/games/tuxtype/files/patch-src-Makefile.am.diff

Modified: trunk/dports/games/tuxtype/Portfile
===================================================================
--- trunk/dports/games/tuxtype/Portfile	2014-10-03 03:55:07 UTC (rev 126075)
+++ trunk/dports/games/tuxtype/Portfile	2014-10-03 04:22:04 UTC (rev 126076)
@@ -1,13 +1,12 @@
-# -*- 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
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem          1.0
 PortGroup           app 1.0
 
 name                tuxtype
-version             1.7.4
-revision            1
+version             1.8.3
+#set download_id     3270
 categories          games education
 platforms           darwin
 maintainers         gmail.com:davidstuartbruce
@@ -18,13 +17,16 @@
                     as well as a phrase/sentence typing activity that displays accuracy and words per \
                     minute.
 
-homepage            http://www.tux4kids.com
-master_sites        http://alioth.debian.org/frs/download.php/2974/
+homepage            http://tux4kids.alioth.debian.org/tuxtype/index.php
 distname            ${name}_w_fonts-${version}
 
-checksums           md5  8f6f308c7d1681a3b23bc71f53313eb1 \
-                    sha1 06f8c437832e5f5fb1524d1e70aa8be761476fed \
-                    rmd160 4c20f6a6ba7b1e5ae2151fb6126356a1aed07897
+# No tarball was produced for this version:
+# http://article.gmane.org/gmane.comp.education.tux4kids.tuxtype.devel/1072
+#master_sites        https://alioth.debian.org/frs/download.php/file/${download_id}/
+fetch.type          git
+git.url             git://git.debian.org/git/tux4kids/tuxtype.git
+git.branch          upstream/${version}
+use_autoreconf      yes
 
 depends_lib         port:libsdl \
                     port:libsdl_image \
@@ -32,17 +34,23 @@
                     port:libsdl_ttf \
                     port:gettext
 
-configure.args-append --without-sdlpango --disable-sdltest
+patchfiles          patch-src-Makefile.am.diff
 
+configure.args-append \
+                    --disable-sdltest \
+                    --without-sdlpango \
+                    --without-rsvg
+
+destroot.keepdirs   ${destroot}${prefix}/etc/${name} \
+                    ${destroot}${prefix}/var/${name}
+post-destroot {
+    xinstall -d ${destroot}${prefix}/etc/${name}
+    xinstall -m 0777 -d ${destroot}${prefix}/var/${name}
+}
+
 variant sdlpango description {Build with SDL_Pango enabled} {
-    depends_lib-append \
-	port:libsdl_pango \
-    depends_lib-delete \
-	port:libsdl_ttf \
-    configure.args-delete \
-        --without-sdlpango
-    configure.args-append \
-        --with-sdlpango
+    depends_lib-replace     port:libsdl_ttf port:libsdl_pango \
+    configure.args-replace  --without-sdlpango --with-sdlpango
 }
 
 platform macosx {
@@ -51,3 +59,7 @@
 
 app.name            TuxType
 app.icon            data/images/icons/icon.png
+
+livecheck.type      regex
+livecheck.url       https://alioth.debian.org/frs/?group_id=31080
+livecheck.regex     ${name}_w_fonts-(\[0-9.\]+)${extract.suffix}

Added: trunk/dports/games/tuxtype/files/patch-src-Makefile.am.diff
===================================================================
--- trunk/dports/games/tuxtype/files/patch-src-Makefile.am.diff	                        (rev 0)
+++ trunk/dports/games/tuxtype/files/patch-src-Makefile.am.diff	2014-10-03 04:22:04 UTC (rev 126076)
@@ -0,0 +1,13 @@
+http://lists.gnu.org/archive/html/bug-gettext/2014-10/msg00004.html
+--- src/Makefile.am.orig	2014-10-01 18:46:16.000000000 -0500
++++ src/Makefile.am	2014-10-02 22:13:22.000000000 -0500
+@@ -57,8 +57,7 @@
+ 
+ 
+ 
+-LDADD = @LIBINTL@
+-tuxtype_LDFLAGS = $(LTLIBINTL)
++LDADD = @LIBINTL@ @LIBICONV@ @SDL_ttf_LIBS@
+ 
+ tuxtype_SOURCES =      \
+        alphabet.c      \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141002/0851c299/attachment.html>


More information about the macports-changes mailing list