aboutsummaryrefslogtreecommitdiffstats
path: root/games/garith
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-06 20:14:44 +0800
committermiwi <miwi@FreeBSD.org>2014-02-06 20:14:44 +0800
commitf7f4e9344d6bfc6301aa04b2cc169ecac835da52 (patch)
treeaa33e66cd361f954de4e231c37f6cd556933a34b /games/garith
parent750e100ace24605a7985eda02a0646ef120e6fc5 (diff)
downloadfreebsd-ports-gnome-f7f4e9344d6bfc6301aa04b2cc169ecac835da52.tar.gz
freebsd-ports-gnome-f7f4e9344d6bfc6301aa04b2cc169ecac835da52.tar.zst
freebsd-ports-gnome-f7f4e9344d6bfc6301aa04b2cc169ecac835da52.zip
- Stage support
Diffstat (limited to 'games/garith')
-rw-r--r--games/garith/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/games/garith/Makefile b/games/garith/Makefile
index 243106721c3d..c1319fa9b607 100644
--- a/games/garith/Makefile
+++ b/games/garith/Makefile
@@ -18,7 +18,6 @@ LDFLAGS+= `${GTK_CONFIG} --libs`
PORTDOCS= BUGS HISTORY README TODO
PLIST_FILES= bin/garith
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|gldouble|double|;/gnome/d;/all.*apps/d'\
${WRKSRC}/garith.c
@@ -27,10 +26,8 @@ do-build:
cd ${WRKSRC}&&${CC} ${CFLAGS} -o garith garith.c ${LDFLAGS}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/garith ${PREFIX}/bin/
-.ifndef NOPORTDOCS
- @${INSTALL} -d ${DOCSDIR}/
- @cd ${WRKSRC}&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/garith ${STAGEDIR}${PREFIX}/bin/
+ @${INSTALL} -d ${STAGEDIR}${DOCSDIR}/
+ @cd ${WRKSRC}&&${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>