[84135] trunk/dports/games/toppler

ryandesign at macports.org ryandesign at macports.org
Mon Sep 19 04:26:28 PDT 2011


Revision: 84135
          http://trac.macports.org/changeset/84135
Author:   ryandesign at macports.org
Date:     2011-09-19 04:26:24 -0700 (Mon, 19 Sep 2011)
Log Message:
-----------
toppler:

 * update to 1.1.5
 * don't set executable to setugid which is not allowed

Fixes build at least on Snow Leopard; see #21961. Also:

 * add app bundle using app portgroup
 * indicate license
 * rewrite master_sites to avoid redirects

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

Added Paths:
-----------
    trunk/dports/games/toppler/files/
    trunk/dports/games/toppler/files/patch-Makefile.in.diff
    trunk/dports/games/toppler/files/toppler.png

Modified: trunk/dports/games/toppler/Portfile
===================================================================
--- trunk/dports/games/toppler/Portfile	2011-09-19 11:03:25 UTC (rev 84134)
+++ trunk/dports/games/toppler/Portfile	2011-09-19 11:26:24 UTC (rev 84135)
@@ -1,12 +1,14 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup       app 1.0
 
 name		toppler
-version		1.1.1
+version		1.1.5
 categories	games
 platforms	darwin
 maintainers	jmpp openmaintainer
+license         GPL-2+
 
 description	Reimplementation of the old Tower Topler or Nebulus game.
 long_description	In this game you have to help a cute little green animal\
@@ -16,17 +18,21 @@
 			guard the tower.
 
 homepage	http://toppler.sourceforge.net/
-master_sites	sourceforge
-checksums	md5 913fe90fcb15f3d6a12d5194a0db2b7d
+master_sites	sourceforge:project/toppler/toppler
 
+checksums	rmd160  1bea7cedc8857ade3f7c7ce8c2b6aaab076329e5 \
+		sha256  26cab477cfc427827fc4dc584271148ba4d14b5a5f12c1752e262b795d814167
+
 depends_lib	port:gettext\
 		port:libiconv\
 		port:zlib\
 		path:lib/pkgconfig/sdl.pc:libsdl\
 		port:libsdl_mixer
-			
+
+patchfiles	patch-Makefile.in.diff
+
 configure.args		--mandir=${prefix}/share/man --with-sdl-prefix=${prefix} \
 			--with-libiconv-prefix=${prefix} --with-libintl-prefix=${prefix} \
 			--disable-sdltest
 
-build.args		LDFLAGS="-lintl -L${prefix}/lib -bind_at_load"
+app.icon	${filespath}/toppler.png

Added: trunk/dports/games/toppler/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/games/toppler/files/patch-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/games/toppler/files/patch-Makefile.in.diff	2011-09-19 11:26:24 UTC (rev 84135)
@@ -0,0 +1,15 @@
+--- Makefile.in.orig	2011-03-06 14:00:43.000000000 -0600
++++ Makefile.in	2011-09-19 06:18:25.000000000 -0500
+@@ -1172,11 +1172,9 @@
+ 
+ 
+ install-exec-hook:
+-	-chgrp games $(DESTDIR)$(bindir)/toppler
+-	-chmod 2755 $(DESTDIR)$(bindir)/toppler
++	-chmod 0755 $(DESTDIR)$(bindir)/toppler
+ 
+ install-data-hook:
+-	-chgrp games $(DESTDIR)$(pkglocalstatedir)/$(PACKAGE).hsc
+ 	-chmod 0664 $(DESTDIR)$(pkglocalstatedir)/$(PACKAGE).hsc
+ 
+ dist-win32: $(PACKAGE).exe

Added: trunk/dports/games/toppler/files/toppler.png
===================================================================
(Binary files differ)


Property changes on: trunk/dports/games/toppler/files/toppler.png
___________________________________________________________________
Added: svn:mime-type
   + image/png
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110919/149c06eb/attachment.html>


More information about the macports-changes mailing list