diff options
author | danilo <danilo@FreeBSD.org> | 2013-10-30 14:42:56 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-10-30 14:42:56 +0800 |
commit | 1401dbb9bb0c4132d005b729072e64e45052cc53 (patch) | |
tree | a373a4a54cac7a11accda1cb79b2bc80d0cb2182 /games/cavezofphear | |
parent | 8a6b6cd0a2bbd3de7c7de65a705cd62d5b1a1aaa (diff) | |
download | freebsd-ports-gnome-1401dbb9bb0c4132d005b729072e64e45052cc53.tar.gz freebsd-ports-gnome-1401dbb9bb0c4132d005b729072e64e45052cc53.tar.zst freebsd-ports-gnome-1401dbb9bb0c4132d005b729072e64e45052cc53.zip |
- Convert USE_GMAKE to USES
- Add stage support
Diffstat (limited to 'games/cavezofphear')
-rw-r--r-- | games/cavezofphear/Makefile | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/games/cavezofphear/Makefile b/games/cavezofphear/Makefile index f9e41f01445e..4f0a8ad5f55b 100644 --- a/games/cavezofphear/Makefile +++ b/games/cavezofphear/Makefile @@ -18,28 +18,23 @@ OPTIONS_DEFINE= DOCS BUILD_WRKSRC= ${WRKDIR}/${DISTNAME}/src USE_BZIP2= yes -USE_GMAKE= yes +USES= gmake MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" ALL_TARGET= phear PORTDOCS= ChangeLog README README-EDITOR TODO -NO_STAGE= yes -.include <bsd.port.options.mk> - post-patch: @${REINPLACE_CMD} -e 's|\./data|${DATADIR}/data|' ${WRKSRC}/src/chk.c @${REINPLACE_CMD} -e 's|\./phear|phear|' ${WRKSRC}/README-EDITOR do-install: - ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/phear ${PREFIX}/bin - ${MKDIR} ${DATADIR} - @(cd ${WRKSRC}; ${COPYTREE_SHARE} data ${DATADIR}) -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/phear ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR} + (cd ${WRKSRC}; ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR}) + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include <bsd.port.mk> |