diff options
author | wg <wg@FreeBSD.org> | 2014-08-11 22:29:26 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2014-08-11 22:29:26 +0800 |
commit | a366ec2b0948c8cdcac60ddc93b6c407f80f4ec1 (patch) | |
tree | ec56a12b71ff7692d2846c49c4f67aedac65a030 /games | |
parent | 882b07f40469b13f13a6dddc5b52d5adc0c407f1 (diff) | |
download | freebsd-ports-gnome-a366ec2b0948c8cdcac60ddc93b6c407f80f4ec1.tar.gz freebsd-ports-gnome-a366ec2b0948c8cdcac60ddc93b6c407f80f4ec1.tar.zst freebsd-ports-gnome-a366ec2b0948c8cdcac60ddc93b6c407f80f4ec1.zip |
games/py-fife: fix build without docs
PR: 192492
Submitted by: arcade b1t name (with changes)
Diffstat (limited to 'games')
-rw-r--r-- | games/py-fife/Makefile | 8 | ||||
-rw-r--r-- | games/py-fife/pkg-plist | 8 |
2 files changed, 7 insertions, 9 deletions
diff --git a/games/py-fife/Makefile b/games/py-fife/Makefile index c68cb3f9d899..891375120183 100644 --- a/games/py-fife/Makefile +++ b/games/py-fife/Makefile @@ -10,7 +10,7 @@ MASTER_SITES= http://sourceforge.net/projects/${PORTNAME}/files/active/src/:sou http://sourceforge.net/projects/${PORTNAME}/files/active/tools/:tools PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME}_${PORTVERSION} -DISTFILES+= ${DISTNAME}.tar.gz:source \ +DISTFILES+= ${DISTNAME}.tar.gz:source \ ${DISTNAME}_demos.tar.gz:demo \ ${DISTNAME}_tools.tar.gz:tools @@ -35,23 +35,21 @@ ALL_TARGET= fife-python INSTALL_TARGET= install-python MAKE_ENV+= SWIG=${LOCALBASE}/bin/swig2.0 +OPTIONS_DEFINE= DOCS + 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 OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - post-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${MV} ${WRKDIR}/tools ${STAGEDIR}${DATADIR} ${MV} ${WRKDIR}/demos ${STAGEDIR}${DATADIR} -.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} .for FILE in README AUTHORS CHANGES COPYING ${MV} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include <bsd.port.mk> diff --git a/games/py-fife/pkg-plist b/games/py-fife/pkg-plist index 125c069144ea..ba22880ccd6a 100644 --- a/games/py-fife/pkg-plist +++ b/games/py-fife/pkg-plist @@ -476,10 +476,10 @@ %%DATADIR%%/tools/object_header.sh %%DATADIR%%/tools/pack_anim.py %%DATADIR%%/tools/ruleset_tester.py -%%DOCSDIR%%/AUTHORS -%%DOCSDIR%%/CHANGES -%%DOCSDIR%%/COPYING -%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/CHANGES +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/README @dirrm %%PYTHON_SITELIBDIR%%/fife/extensions/serializers @dirrm %%PYTHON_SITELIBDIR%%/fife/extensions/pychan/widgets/ext @dirrm %%PYTHON_SITELIBDIR%%/fife/extensions/pychan/widgets |