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: |