[72238] trunk/dports/games
snc at macports.org
snc at macports.org
Thu Oct 7 21:09:49 PDT 2010
Revision: 72238
http://trac.macports.org/changeset/72238
Author: snc at macports.org
Date: 2010-10-07 21:09:44 -0700 (Thu, 07 Oct 2010)
Log Message:
-----------
create games/pioneers, based on Settlers of Catan
Added Paths:
-----------
trunk/dports/games/pioneers/
trunk/dports/games/pioneers/Portfile
trunk/dports/games/pioneers/files/
trunk/dports/games/pioneers/files/patch-pioneers.diff
Added: trunk/dports/games/pioneers/Portfile
===================================================================
--- trunk/dports/games/pioneers/Portfile (rev 0)
+++ trunk/dports/games/pioneers/Portfile 2010-10-08 04:09:44 UTC (rev 72238)
@@ -0,0 +1,41 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name pioneers
+version 0.12.3.1
+categories games
+license GPL
+maintainers snc gmail.com:jweede
+description Multiplayer strategy board game for GNOME
+long_description A GNOME/GTK+2 clone of the board game Settlers of Catan. \
+ Colonize the island, get all the resources, and frustrate \
+ your opponents. \n\
+ \nPioneers includes the standard game, the 5-6 player board,\
+ Seafarers, many custom layouts, and a board layout editor.\
+ The game can be played against an AI or with other humans\
+ over a network or both.
+
+homepage http://pio.sourceforge.net/
+platforms freebsd darwin
+depends_build port:gettext port:grep port:intltool port:p5-xml-parser \
+ port:perl5.8 port:pkgconfig port:rarian
+depends_lib port:atk port:cairo port:expat port:fontconfig port:freetype \
+ port:gettext port:glib2 port:gtk2 port:libiconv \
+ port:libpixman port:libpng port:pango port:xorg-libX11 \
+ port:xorg-libXau port:xorg-libXcomposite port:xorg-libXcursor \
+ port:xorg-libXdamage port:xorg-libXdmcp port:xorg-libXext \
+ port:xorg-libXfixes port:xorg-libXi port:xorg-libXinerama \
+ port:xorg-libXrandr port:xorg-libxcb port:xrender port:zlib
+
+
+master_sites sourceforge:pio
+
+checksums sha1 7c400b9634b5a666f822f52ea294330aa73e10f9 \
+ rmd160 c929b89873e5a7caaa07670e849d0d1007e8e5b2
+
+patchfiles patch-pioneers.diff
+
+livecheck.url http://sourceforge.net/projects/pio/files/
+livecheck.regex ${name}-(\\d+(\\.\\d+)+)
Property changes on: trunk/dports/games/pioneers/Portfile
___________________________________________________________________
Added: svn:keywords:Id
+
Added: svn:eol-style
+ native
Added: trunk/dports/games/pioneers/files/patch-pioneers.diff
===================================================================
--- trunk/dports/games/pioneers/files/patch-pioneers.diff (rev 0)
+++ trunk/dports/games/pioneers/files/patch-pioneers.diff 2010-10-08 04:09:44 UTC (rev 72238)
@@ -0,0 +1,115 @@
+diff -urN Makefile.in Makefile.in
+--- Makefile.in 2009-11-04 03:47:35.000000000 -0800
++++ Makefile.in 2010-09-12 15:57:23.000000000 -0700
+@@ -4017,20 +4017,8 @@
+ # because it must be PHONY, but should only be rebuilt once.
+ build_version:
+ @mkdir_p@ common
+- echo -n '#define FULL_VERSION "$(VERSION)' >> common/version.new
+- if svn info > /dev/null 2>&1; then \
+- echo -n ".r`svn info | grep Revision | cut -f2 -d\ `" \
+- >> common/version.new ;\
+- if svn status | grep -vq ^\? ; then \
+- echo -n '.M' >> common/version.new ;\
+- fi ;\
+- fi
+- echo '"' >> common/version.new
+- if diff common/version.h common/version.new > /dev/null 2>&1; then \
+- rm common/version.new ;\
+- else \
+- mv common/version.new common/version.h ;\
+- fi
++ echo '#define FULL_VERSION "$(VERSION)"' >> common/version.new
++ mv common/version.new common/version.h
+
+ # always try to rebuild version.h
+ .PHONY: build_version
+diff -urN docs/pioneers-editor.6 docs/pioneers-editor.6
+--- docs/pioneers-editor.6 2009-07-05 13:33:42.000000000 -0700
++++ docs/pioneers-editor.6 2010-09-12 15:59:46.000000000 -0700
+@@ -41,7 +41,7 @@
+ for details.
+
+ .SH FILES
+-.B /usr/share/games/pioneers/*.game
++.B @PREFIX@/share/games/pioneers/*.game
+ .RS
+ Global game files. Games which are installed here can be selected by title,
+ and played from pioneers-server-gtk.
+diff -urN docs/pioneers-meta-server.6 docs/pioneers-meta-server.6
+--- docs/pioneers-meta-server.6 2009-09-21 22:34:57.000000000 -0700
++++ docs/pioneers-meta-server.6 2010-09-12 15:59:39.000000000 -0700
+@@ -72,7 +72,7 @@
+ If it is not set, the default installation path will be used.
+
+ .SH FILES
+-.B /usr/share/games/pioneers/*.game
++.B @PREFIX@/share/games/pioneers/*.game
+ .RS
+ Game definitions
+ .RE
+diff -urN docs/pioneers-server-console.6 docs/pioneers-server-console.6
+--- docs/pioneers-server-console.6 2008-05-04 09:58:54.000000000 -0700
++++ docs/pioneers-server-console.6 2010-09-12 15:59:31.000000000 -0700
+@@ -132,7 +132,7 @@
+ If it is not set, the default installation path will be used.
+
+ .SH FILES
+-.B /usr/share/games/pioneers/*.game
++.B @PREFIX@/share/games/pioneers/*.game
+ and
+ .B $XDG_DATA_HOME/pioneers/*.game
+ .RS
+diff -urN docs/pioneers-server-gtk.6 docs/pioneers-server-gtk.6
+--- docs/pioneers-server-gtk.6 2008-05-04 09:58:54.000000000 -0700
++++ docs/pioneers-server-gtk.6 2010-09-12 15:59:24.000000000 -0700
+@@ -42,13 +42,13 @@
+ If it is not set, the default installation path will be used.
+
+ .SH FILES
+-.B /usr/share/games/pioneers/*.game
++.B @PREFIX@/share/games/pioneers/*.game
+ and
+ .B $XDG_DATA_HOME/pioneers/*.game
+ .RS
+ Game definitions
+ .RE
+-.B /usr/share/pixmaps/pioneers-server.png
++.B @PREFIX@/share/pixmaps/pioneers-server.png
+ .RS
+ Game icon
+ .RE
+diff -urN docs/pioneers.6 docs/pioneers.6
+--- docs/pioneers.6 2009-09-16 11:34:29.000000000 -0700
++++ docs/pioneers.6 2010-09-12 15:59:20.000000000 -0700
+@@ -69,15 +69,15 @@
+ should be one of the 2-letter language code pioneers understands.
+
+ .SH FILES
+-.B /usr/share/games/pioneers/themes/*
++.B @PREFIX@/share/games/pioneers/themes/*
+ .RS
+ Themes for display of the map. Each theme goes in a separate subdirectory.
+ .RE
+-.B /usr/share/pixmaps/pioneers/*
++.B @PREFIX@/share/pixmaps/pioneers/*
+ .RS
+ Icons
+ .RE
+-.B /usr/share/pixmaps/pioneers.png
++.B @PREFIX@/share/pixmaps/pioneers.png
+ .RS
+ Main icon
+ .RE
+diff -urN docs/pioneersai.6 docs/pioneersai.6
+--- docs/pioneersai.6 2005-06-29 23:30:27.000000000 -0700
++++ docs/pioneersai.6 2010-09-12 15:59:10.000000000 -0700
+@@ -60,7 +60,7 @@
+ If it is not set, the default installation path will be used.
+
+ .SH FILES
+-.B /usr/share/games/pioneers/computer_names
++.B @PREFIX@/share/games/pioneers/computer_names
+ .RS
+ A list of names the AI can use
+ .RE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101007/4743b1e0/attachment.html>
More information about the macports-changes
mailing list