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

(-)py-fife/Makefile (-3 / +10 lines)
Lines 22-27 Link Here
22
			boost_filesystem:${PORTSDIR}/devel/boost-libs \
22
			boost_filesystem:${PORTSDIR}/devel/boost-libs \
23
			png15:${PORTSDIR}/graphics/png
23
			png15:${PORTSDIR}/graphics/png
24
24
25
CXXFLAGS+=		-std=c++98
26
25
FETCH_ARGS=		-Fpr
27
FETCH_ARGS=		-Fpr
26
28
27
USE_SDL=		sdl ttf image
29
USE_SDL=		sdl ttf image
Lines 30-36 Link Here
30
USE_SCONS=		yes
32
USE_SCONS=		yes
31
SCONS_ARGS=		--prefix=${PREFIX} --python-prefix=${PYTHON_SITELIBDIR}
33
SCONS_ARGS=		--prefix=${PREFIX} --python-prefix=${PYTHON_SITELIBDIR}
32
SCONS_BUILDENV=		SWIG=${LOCALBASE}/bin/swig \
34
SCONS_BUILDENV=		SWIG=${LOCALBASE}/bin/swig \
33
			CXX=${CXX}
35
			CXX=${CXX} \
36
			CXXFLAGS="${CXXFLAGS}"
34
SCONS_TARGET=		fife-python
37
SCONS_TARGET=		fife-python
35
SCONS_INSTALL_TARGET=	install-python
38
SCONS_INSTALL_TARGET=	install-python
36
39
Lines 41-49 Link Here
41
44
42
USES=			pkgconfig
45
USES=			pkgconfig
43
46
44
NO_STAGE=	yes
47
pre-everything::
48
	@${ECHO_CMD}
49
	@${ECHO_CMD} "		devel/guichan must be build with SDL and OpenGL support"
50
	@sleep 15
51
45
post-patch:
52
post-patch:
46
	${REINPLACE_CMD} -e 's/X11R6/local/g; s/libpng/ligpng15/g' ${WRKSRC}/build/openbsd4-config.py && \
53
	${REINPLACE_CMD} -e 's/X11R6/local/g; s/libpng/libpng15/g' ${WRKSRC}/build/openbsd4-config.py && \
47
		${MV} ${WRKSRC}/build/openbsd4-config.py ${WRKSRC}/build/${PYTHON_PLATFORM}-config.py
54
		${MV} ${WRKSRC}/build/openbsd4-config.py ${WRKSRC}/build/${PYTHON_PLATFORM}-config.py
48
55
49
post-install:
56
post-install:
(-)py-fife/pkg-install (+11 lines)
Line 0 Link Here
1
#!/bin/sh
2
3
PREFIX=${PKG_PREFIX:-/usr/local}
4
5
[ "x$1" = "x" ] && exit 1
6
if [ "x$2" = "xPOST-INSTALL" ]; then
7
	mkdir -p ${PREFIX}/share/fife/demos/rio_de_hola/saves
8
	mkdir -p ${PREFIX}/share/fife/demos/rio_de_hola/imports
9
	mkdir -p ${PREFIX}/share/fife/demos/rio_de_hola/cursors
10
fi
11

Return to bug 182433