View | Details | Raw Unified | Return to bug 176602
Collapse All | Expand All

(-)py-fife/Makefile (-13 / +15 lines)
Lines 2-51 Link Here
2
# $FreeBSD: ports/games/py-fife/Makefile,v 1.5 2013/01/31 14:01:28 svnexp Exp $
2
# $FreeBSD: ports/games/py-fife/Makefile,v 1.5 2013/01/31 14:01:28 svnexp Exp $
3
3
4
PORTNAME=		fife
4
PORTNAME=		fife
5
PORTVERSION=		0.3.3r3
5
PORTVERSION=		0.3.4
6
PORTREVISION=		3
7
CATEGORIES=		games
6
CATEGORIES=		games
8
MASTER_SITES=		http://sourceforge.net/projects/${PORTNAME}/files/active/src/:source \
7
MASTER_SITES=		http://sourceforge.net/projects/${PORTNAME}/files/active/src/:source \
9
			http://sourceforge.net/projects/${PORTNAME}/files/active/demos/:demo
8
			http://sourceforge.net/projects/${PORTNAME}/files/active/demos/:demo \
9
			http://sourceforge.net/projects/${PORTNAME}/files/active/tools/:tools
10
DISTNAME=		${PORTNAME}_${PORTVERSION}
10
DISTNAME=		${PORTNAME}_${PORTVERSION}
11
DISTFILES+=	      	${DISTNAME}.tar.gz:source \
11
DISTFILES+=	      	${DISTNAME}.tar.gz:source \
12
			${DISTNAME}_demos.tar.gz:demo
12
			${DISTNAME}_demos.tar.gz:demo \
13
			${DISTNAME}_tools.tar.gz:tools
13
14
14
MAINTAINER=		fiziologus@gmail.com
15
MAINTAINER=		fiziologus@gmail.com
15
COMMENT=		Flexible Isometric Free Engine
16
COMMENT=		Flexible Isometric Free Engine
16
17
17
FETCH_ARGS=		-Fpr
18
19
BUILD_DEPENDS=		${LOCALBASE}/bin/swig:${PORTSDIR}/devel/swig13
18
BUILD_DEPENDS=		${LOCALBASE}/bin/swig:${PORTSDIR}/devel/swig13
20
19
21
LIB_DEPENDS=		vorbisfile.6:${PORTSDIR}/audio/libvorbis \
20
LIB_DEPENDS=		vorbisfile:${PORTSDIR}/audio/libvorbis \
22
			guichan.2:${PORTSDIR}/devel/guichan \
21
			guichan:${PORTSDIR}/devel/guichan \
23
			boost_filesystem:${PORTSDIR}/devel/boost-libs \
22
			boost_filesystem:${PORTSDIR}/devel/boost-libs \
24
			png15:${PORTSDIR}/graphics/png
23
			png15:${PORTSDIR}/graphics/png
25
24
25
FETCH_ARGS=		-Fpr
26
26
USE_SDL=		sdl ttf image
27
USE_SDL=		sdl ttf image
27
USE_OPENAL=		al
28
USE_OPENAL=		al
28
29
29
USE_SCONS=		yes
30
USE_SCONS=		yes
31
SCONS_ARGS=		--prefix=${PREFIX} --python-prefix=${PYTHON_SITELIBDIR}
30
SCONS_BUILDENV=		SWIG=${LOCALBASE}/bin/swig \
32
SCONS_BUILDENV=		SWIG=${LOCALBASE}/bin/swig \
31
			CXX=${CXX} CPP=${CPP}
33
			CXX=${CXX}
32
SCONS_TARGET=		fife-python
34
SCONS_TARGET=		fife-python
33
SCONS_INSTALL_TARGET=	install-python
35
SCONS_INSTALL_TARGET=	install-python
34
36
35
USE_PYTHON=		yes
37
USE_PYTHON=		2.7
36
38
37
USE_XORG=		xcursor
39
USE_XORG=		xcursor
38
USE_GL=			gl
40
USE_GL=			gl
39
41
40
USE_GNOME=		pkgconfig
42
USE_PKGCONFIG=		build
41
43
42
post-patch:
44
post-patch:
43
	${REINPLACE_CMD} -e 's/X11R6/local/g' ${WRKSRC}/build/openbsd4-config.py && \
45
	${REINPLACE_CMD} -e 's/X11R6/local/g; s/libpng/ligpng15/g' ${WRKSRC}/build/openbsd4-config.py && \
44
		${MV} ${WRKSRC}/build/openbsd4-config.py ${WRKSRC}/build/${PYTHON_PLATFORM}-config.py
46
		${MV} ${WRKSRC}/build/openbsd4-config.py ${WRKSRC}/build/${PYTHON_PLATFORM}-config.py
45
47
46
post-install:
48
post-install:
47
	${MKDIR} ${DATADIR}
49
	${MKDIR} ${DATADIR}
48
	${MV} ${WRKSRC}/tools ${DATADIR}
50
	${MV} ${WRKDIR}/tools ${DATADIR}
49
	${MV} ${WRKDIR}/demos ${DATADIR}
51
	${MV} ${WRKDIR}/demos ${DATADIR}
50
	${MKDIR} ${DOCSDIR}
52
	${MKDIR} ${DOCSDIR}
51
.for FILE in README AUTHORS CHANGES COPYING
53
.for FILE in README AUTHORS CHANGES COPYING
(-)py-fife/distinfo (-4 / +6 lines)
Lines 1-4 Link Here
1
SHA256 (fife_0.3.3r3.tar.gz) = 172bd6ececa37c3e98689f5b4b00cb86bcf611bca714cf88aef91ba6d05ea16e
1
SHA256 (fife_0.3.4.tar.gz) = 8a28d570ef8166b0b571047b8bdc482b09c05c4f9bb754f5564964b8c06dd6f7
2
SIZE (fife_0.3.3r3.tar.gz) = 4930412
2
SIZE (fife_0.3.4.tar.gz) = 1398594
3
SHA256 (fife_0.3.3r3_demos.tar.gz) = 07b454c3174e686b49080292fa77d18b196941ed65dd7e3bf62b4d9b40347177
3
SHA256 (fife_0.3.4_demos.tar.gz) = 4f76b921f2a8782ebaf168b24cdc2c94099084e260a61fa30a467b5edf3b5fc6
4
SIZE (fife_0.3.3r3_demos.tar.gz) = 23351591
4
SIZE (fife_0.3.4_demos.tar.gz) = 23355196
5
SHA256 (fife_0.3.4_tools.tar.gz) = 90a3ea6c1b15ce87a535209f3f726e82fb06b518f3bbcf985b6950782227f98f
6
SIZE (fife_0.3.4_tools.tar.gz) = 506204
(-)py-fife/files/patch-SConstruct (-15 lines)
Lines 1-15 Link Here
1
--- SConstruct.orig	2012-05-21 16:35:59.000000000 +0400
2
+++ SConstruct	2012-05-21 16:43:47.000000000 +0400
3
@@ -308,6 +308,12 @@
4
 if os.environ.has_key('SWIG'):
5
 	env['SWIG'] = os.environ['SWIG']
6
 
7
+if os.environ.has_key('CXX'):
8
+	env['CXX'] = os.environ['CXX']
9
+
10
+if os.environ.has_key('CPP'):
11
+	env['CPP'] = os.environ['CPP']
12
+
13
 haveusercxxflags = False
14
 
15
 if os.environ.has_key('CXXFLAGS'):
(-)py-fife/pkg-plist (+5 lines)
Lines 104-114 Link Here
104
%%DATADIR%%/demos/rio_de_hola/maps/shrine.xml
104
%%DATADIR%%/demos/rio_de_hola/maps/shrine.xml
105
%%DATADIR%%/demos/rio_de_hola/maps/tourist_beach.xml
105
%%DATADIR%%/demos/rio_de_hola/maps/tourist_beach.xml
106
%%DATADIR%%/demos/rio_de_hola/maps/tourist_beach_test.xml
106
%%DATADIR%%/demos/rio_de_hola/maps/tourist_beach_test.xml
107
%%DATADIR%%/demos/rio_de_hola/misc/black_cell.png
107
%%DATADIR%%/demos/rio_de_hola/misc/current_rendersetup/LICENSE
108
%%DATADIR%%/demos/rio_de_hola/misc/current_rendersetup/LICENSE
108
%%DATADIR%%/demos/rio_de_hola/misc/current_rendersetup/non-animated_object_rendersetup.blend
109
%%DATADIR%%/demos/rio_de_hola/misc/current_rendersetup/non-animated_object_rendersetup.blend
109
%%DATADIR%%/demos/rio_de_hola/misc/current_rendersetup/rendering_setup.blend
110
%%DATADIR%%/demos/rio_de_hola/misc/current_rendersetup/rendering_setup.blend
110
%%DATADIR%%/demos/rio_de_hola/misc/diamond_160x96_template_v01.blend
111
%%DATADIR%%/demos/rio_de_hola/misc/diamond_160x96_template_v01.blend
111
%%DATADIR%%/demos/rio_de_hola/misc/infotext.txt
112
%%DATADIR%%/demos/rio_de_hola/misc/infotext.txt
113
%%DATADIR%%/demos/rio_de_hola/misc/mask_cell.png
112
%%DATADIR%%/demos/rio_de_hola/misc/mask_diamond_126_96.png
114
%%DATADIR%%/demos/rio_de_hola/misc/mask_diamond_126_96.png
113
%%DATADIR%%/demos/rio_de_hola/misc/rotation+location_test/facing000/045r.png
115
%%DATADIR%%/demos/rio_de_hola/misc/rotation+location_test/facing000/045r.png
114
%%DATADIR%%/demos/rio_de_hola/misc/rotation+location_test/facing000/135r.png
116
%%DATADIR%%/demos/rio_de_hola/misc/rotation+location_test/facing000/135r.png
Lines 376-381 Link Here
376
%%DATADIR%%/tools/atlas/stable.h
378
%%DATADIR%%/tools/atlas/stable.h
377
%%DATADIR%%/tools/editor/fonts/FreeSans.ttf
379
%%DATADIR%%/tools/editor/fonts/FreeSans.ttf
378
%%DATADIR%%/tools/editor/gui/cameradialog.xml
380
%%DATADIR%%/tools/editor/gui/cameradialog.xml
381
%%DATADIR%%/tools/editor/gui/cellview.xml
379
%%DATADIR%%/tools/editor/gui/eleveditor.xml
382
%%DATADIR%%/tools/editor/gui/eleveditor.xml
380
%%DATADIR%%/tools/editor/gui/error.xml
383
%%DATADIR%%/tools/editor/gui/error.xml
381
%%DATADIR%%/tools/editor/gui/filebrowser.xml
384
%%DATADIR%%/tools/editor/gui/filebrowser.xml
Lines 421-430 Link Here
421
%%DATADIR%%/tools/editor/gui/selection.xml
424
%%DATADIR%%/tools/editor/gui/selection.xml
422
%%DATADIR%%/tools/editor/gui/statuspanel.xml
425
%%DATADIR%%/tools/editor/gui/statuspanel.xml
423
%%DATADIR%%/tools/editor/gui/tools.xml
426
%%DATADIR%%/tools/editor/gui/tools.xml
427
%%DATADIR%%/tools/editor/lang/help_cellview.txt
424
%%DATADIR%%/tools/editor/lang/help_object_edit.txt
428
%%DATADIR%%/tools/editor/lang/help_object_edit.txt
425
%%DATADIR%%/tools/editor/lang/infotext.txt
429
%%DATADIR%%/tools/editor/lang/infotext.txt
426
%%DATADIR%%/tools/editor/LICENSE
430
%%DATADIR%%/tools/editor/LICENSE
427
%%DATADIR%%/tools/editor/plugins/CameraEdit.py
431
%%DATADIR%%/tools/editor/plugins/CameraEdit.py
432
%%DATADIR%%/tools/editor/plugins/CellView.py
428
%%DATADIR%%/tools/editor/plugins/HistoryManager.py
433
%%DATADIR%%/tools/editor/plugins/HistoryManager.py
429
%%DATADIR%%/tools/editor/plugins/InstanceHighlighter.py
434
%%DATADIR%%/tools/editor/plugins/InstanceHighlighter.py
430
%%DATADIR%%/tools/editor/plugins/LayerTool.py
435
%%DATADIR%%/tools/editor/plugins/LayerTool.py

Return to bug 176602