aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-10-30 06:42:56 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-10-30 06:42:56 +0000
commit5b7008e22822185e1a0066b1a7ae5c39da9a3150 (patch)
treea373a4a54cac7a11accda1cb79b2bc80d0cb2182
parent5fec19f3cdd61db6a71e33cdf9b15bdfef17be5a (diff)
downloadports-5b7008e22822185e1a0066b1a7ae5c39da9a3150.tar.gz
ports-5b7008e22822185e1a0066b1a7ae5c39da9a3150.zip
Notes
-rw-r--r--games/cavezofphear/Makefile17
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>