ports/176714: games/py-fife: fixed make package
Green Dog
fiziologus at gmail.com
Sun Dec 15 14:37:10 UTC 2013
stage A (update to 0.3.5) complete (patch for current port tree in attach).
begin stage B (migrate to swig-2.0).
2013/12/14 <koobs at freebsd.org>
> Synopsis: games/py-fife: fixed make package
>
> State-Changed-From-To: open->closed
> State-Changed-By: koobs
> State-Changed-When: Sat Dec 14 05:41:29 UTC 2013
> State-Changed-Why:
> Superceded by ports/182433
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=176714
>
--
sorry for bad english.
-------------- next part --------------
diff -ruN /usr/ports/games/py-fife/Makefile py-fife/Makefile
--- /usr/ports/games/py-fife/Makefile 2013-12-12 15:14:49.000000000 +0400
+++ py-fife/Makefile 2013-12-14 18:54:11.000000000 +0400
@@ -2,7 +2,7 @@
# $FreeBSD: games/py-fife/Makefile 336255 2013-12-12 11:14:49Z bapt $
PORTNAME= fife
-PORTVERSION= 0.3.4
+PORTVERSION= 0.3.5
CATEGORIES= games
MASTER_SITES= http://sourceforge.net/projects/${PORTNAME}/files/active/src/:source \
http://sourceforge.net/projects/${PORTNAME}/files/active/demos/:demo \
@@ -15,6 +15,8 @@
MAINTAINER= fiziologus at gmail.com
COMMENT= Flexible Isometric Free Engine
+LICENSE= LGPL21
+
BUILD_DEPENDS= ${LOCALBASE}/bin/swig:${PORTSDIR}/devel/swig13
LIB_DEPENDS= libvorbisfile.so:${PORTSDIR}/audio/libvorbis \
@@ -24,35 +26,41 @@
FETCH_ARGS= -Fpr
-USE_SDL= sdl ttf image
+USES= pkgconfig scons
+USE_CXXSTD= c++98
+USE_GL= gl
USE_OPENAL= al
-
-USE_SCONS= yes
-SCONS_ARGS= --prefix=${PREFIX} --python-prefix=${PYTHON_SITELIBDIR}
-SCONS_BUILDENV= SWIG=${LOCALBASE}/bin/swig \
- CXX=${CXX}
-SCONS_TARGET= fife-python
-SCONS_INSTALL_TARGET= install-python
-
USE_PYTHON= 2.7
-
+USE_SDL= sdl ttf image
USE_XORG= xcursor
-USE_GL= gl
-USES= pkgconfig
+MAKE_ENV= SWIG=${LOCALBASE}/bin/swig
+ALL_TARGET= fife-python
+INSTALL_TARGET= install-python
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 1000000
+USE_GCC= any
+.endif
+
+pre-everything::
+ @${ECHO_CMD}
+ @${ECHO_CMD} " devel/guichan must be build with SDL and OpenGL support"
+ @${ECHO_CMD}
+ @sleep 15
-NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's/X11R6/local/g; s/libpng/ligpng15/g' ${WRKSRC}/build/openbsd4-config.py && \
${MV} ${WRKSRC}/build/openbsd4-config.py ${WRKSRC}/build/${PYTHON_PLATFORM}-config.py
post-install:
- ${MKDIR} ${DATADIR}
- ${MV} ${WRKDIR}/tools ${DATADIR}
- ${MV} ${WRKDIR}/demos ${DATADIR}
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${MV} ${WRKDIR}/tools ${STAGEDIR}${DATADIR}
+ ${MV} ${WRKDIR}/demos ${STAGEDIR}${DATADIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for FILE in README AUTHORS CHANGES COPYING
- ${MV} ${WRKSRC}/${FILE} ${DOCSDIR}
+ ${MV} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN /usr/ports/games/py-fife/distinfo py-fife/distinfo
--- /usr/ports/games/py-fife/distinfo 2013-03-02 22:06:24.000000000 +0400
+++ py-fife/distinfo 2013-12-13 23:39:19.000000000 +0400
@@ -1,6 +1,6 @@
-SHA256 (fife_0.3.4.tar.gz) = 8a28d570ef8166b0b571047b8bdc482b09c05c4f9bb754f5564964b8c06dd6f7
-SIZE (fife_0.3.4.tar.gz) = 1398594
-SHA256 (fife_0.3.4_demos.tar.gz) = 4f76b921f2a8782ebaf168b24cdc2c94099084e260a61fa30a467b5edf3b5fc6
-SIZE (fife_0.3.4_demos.tar.gz) = 23355196
-SHA256 (fife_0.3.4_tools.tar.gz) = 90a3ea6c1b15ce87a535209f3f726e82fb06b518f3bbcf985b6950782227f98f
-SIZE (fife_0.3.4_tools.tar.gz) = 506204
+SHA256 (fife_0.3.5.tar.gz) = 1d3c7a19d05ae426af6ccd50a8ba79a71eb6e6f18f0226d1abdaeae7fcf9d3a8
+SIZE (fife_0.3.5.tar.gz) = 1383813
+SHA256 (fife_0.3.5_demos.tar.gz) = 3e4ae747da68c9a9a014b09312c7e62cd2fa1928aeda72200fec15bf9bbb4fe0
+SIZE (fife_0.3.5_demos.tar.gz) = 23347311
+SHA256 (fife_0.3.5_tools.tar.gz) = 47b6fe045c734813f14e71279cd0d999ae1485f928714950d90a2a20cd7b4fc1
+SIZE (fife_0.3.5_tools.tar.gz) = 502981
diff -ruN /usr/ports/games/py-fife/pkg-plist py-fife/pkg-plist
--- /usr/ports/games/py-fife/pkg-plist 2013-03-02 22:06:24.000000000 +0400
+++ py-fife/pkg-plist 2013-12-15 08:30:40.000000000 +0400
@@ -526,7 +526,6 @@
@dirrm %%DATADIR%%/demos/rio_de_hola/scripts/common
@dirrm %%DATADIR%%/demos/rio_de_hola/scripts/agents
@dirrm %%DATADIR%%/demos/rio_de_hola/scripts
- at dirrm %%DATADIR%%/demos/rio_de_hola/saves
@dirrm %%DATADIR%%/demos/rio_de_hola/objects/crates/empty_lid
@dirrm %%DATADIR%%/demos/rio_de_hola/objects/crates/dynamites_lid
@dirrm %%DATADIR%%/demos/rio_de_hola/objects/crates
@@ -558,11 +557,9 @@
@dirrm %%DATADIR%%/demos/rio_de_hola/misc/current_rendersetup
@dirrm %%DATADIR%%/demos/rio_de_hola/misc
@dirrm %%DATADIR%%/demos/rio_de_hola/maps
- at dirrm %%DATADIR%%/demos/rio_de_hola/imports
@dirrm %%DATADIR%%/demos/rio_de_hola/gui/icons
@dirrm %%DATADIR%%/demos/rio_de_hola/gui
@dirrm %%DATADIR%%/demos/rio_de_hola/fonts
- at dirrm %%DATADIR%%/demos/rio_de_hola/cursors
@dirrm %%DATADIR%%/demos/rio_de_hola
@dirrm %%DATADIR%%/demos/pychan_demo/gui/icons
@dirrm %%DATADIR%%/demos/pychan_demo/gui/backgrounds
More information about the freebsd-python
mailing list