[103907] trunk/dports/devel
ryandesign at macports.org
ryandesign at macports.org
Sat Mar 9 16:04:52 PST 2013
Revision: 103907
https://trac.macports.org/changeset/103907
Author: ryandesign at macports.org
Date: 2013-03-09 16:04:52 -0800 (Sat, 09 Mar 2013)
Log Message:
-----------
libtuxcap: new port, version 1.4.0
Added Paths:
-----------
trunk/dports/devel/libtuxcap/
trunk/dports/devel/libtuxcap/Portfile
trunk/dports/devel/libtuxcap/files/
trunk/dports/devel/libtuxcap/files/patch-tuxcap-CMakeModules-FindImageMagickLib.cmake.diff
trunk/dports/devel/libtuxcap/files/patch-tuxcap-include-Physics.h.diff
Added: trunk/dports/devel/libtuxcap/Portfile
===================================================================
--- trunk/dports/devel/libtuxcap/Portfile (rev 0)
+++ trunk/dports/devel/libtuxcap/Portfile 2013-03-10 00:04:52 UTC (rev 103907)
@@ -0,0 +1,50 @@
+# -*- 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 cmake 1.0
+
+name libtuxcap
+version 1.4.0
+categories devel games
+platforms darwin
+maintainers ryandesign openmaintainer
+license PopCap
+
+description framework for 2-D game development
+
+long_description TuxCap is a port of the PopCap games framework used for \
+ 2-D game development. It comes with PyCap Python \
+ bindings, a fast 2-D physics engine, a particle engine, \
+ widgets and many documented examples.
+
+homepage https://sourceforge.net/projects/tuxcap/
+master_sites sourceforge:project/tuxcap/tuxcap/libtuxcap-${version}
+
+checksums rmd160 43d236b65fd6bb28b3ceaa6ba3193ecbcc5e6675 \
+ sha256 dae27bad276bffce6eba8114cd0e3edc0db710306f627b984464c4f0ec1fab2f
+
+depends_lib port:ImageMagick \
+ port:libsdl \
+ port:libsdl_mixer \
+ port:python27
+
+depends_run port:glxinfo
+
+patchfiles patch-tuxcap-CMakeModules-FindImageMagickLib.cmake.diff \
+ patch-tuxcap-include-Physics.h.diff
+
+post-patch {
+ reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/tuxcap/CMakeModules/FindImageMagickLib.cmake
+}
+
+configure.dir ${worksrcpath}/tuxcap-build
+build.dir ${configure.dir}
+
+configure.args-append \
+ -DIMAGEMAGICKLIB_CXX_LIBRARY=${prefix}/lib/libMagick++.dylib \
+ -DPYTHON_INCLUDE_DIR=${frameworks_dir}/Python.framework/Versions/2.7/include/python2.7 \
+ -DPYTHON_LIBRARY=${prefix}/lib/libpython2.7.dylib \
+ ..
+
+livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}
Property changes on: trunk/dports/devel/libtuxcap/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/devel/libtuxcap/files/patch-tuxcap-CMakeModules-FindImageMagickLib.cmake.diff
===================================================================
--- trunk/dports/devel/libtuxcap/files/patch-tuxcap-CMakeModules-FindImageMagickLib.cmake.diff (rev 0)
+++ trunk/dports/devel/libtuxcap/files/patch-tuxcap-CMakeModules-FindImageMagickLib.cmake.diff 2013-03-10 00:04:52 UTC (rev 103907)
@@ -0,0 +1,18 @@
+--- tuxcap/CMakeModules/FindImageMagickLib.cmake.orig 2009-05-12 13:26:02.000000000 -0500
++++ tuxcap/CMakeModules/FindImageMagickLib.cmake 2013-03-02 11:48:46.000000000 -0600
+@@ -27,6 +27,7 @@
+
+ # find the libraries main include header file
+ FIND_PATH(IMAGEMAGICKLIB_INCLUDE_DIR Magick++.h
++ @PREFIX@/include/ImageMagick
+ "${IMAGEMAGICKLIB_DIR}/include"
+ "$ENV{IMAGEMAGICKLIB_DIR}/include"
+ "$ENV{MAGICK_DIR}/include"
+@@ -45,6 +46,7 @@
+
+ # set directories to search for libraries:
+ SET(IMAGEMAGICKLIB_POSSIBLE_LIBRARY_PATHS
++ @PREFIX@/lib
+ "${IMAGEMAGICKLIB_DIR}/lib"
+ "$ENV{IMAGEMAGICKLIB_DIR}/lib"
+ "$ENV{MAGICK_DIR}/lib"
Added: trunk/dports/devel/libtuxcap/files/patch-tuxcap-include-Physics.h.diff
===================================================================
--- trunk/dports/devel/libtuxcap/files/patch-tuxcap-include-Physics.h.diff (rev 0)
+++ trunk/dports/devel/libtuxcap/files/patch-tuxcap-include-Physics.h.diff 2013-03-10 00:04:52 UTC (rev 103907)
@@ -0,0 +1,12 @@
+--- tuxcap/include/Physics.h.orig 2009-05-14 03:00:21.000000000 -0500
++++ tuxcap/include/Physics.h 2013-03-02 11:57:57.000000000 -0600
+@@ -31,8 +31,7 @@
+ #include "chipmunk.h"
+ #include "PhysicsListener.h"
+ #include "SexyVector.h"
+-#include <linux/types.h>
+-typedef __u32 uint32_t;
++#include <sys/types.h>
+
+
+ namespace Sexy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130309/947570ca/attachment.html>
More information about the macports-changes
mailing list