aboutsummaryrefslogtreecommitdiffstats
path: root/games/gnake
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-09-24 12:28:17 +0800
committerjgh <jgh@FreeBSD.org>2013-09-24 12:28:17 +0800
commitf7090f657e8168805f432d74d5832acdf33e927e (patch)
treef3076bfb9c2e497ed522e94258c26eb1900d24cc /games/gnake
parent5c35a219f5f783ad5d7d5faf6b0d94df0374ef4b (diff)
downloadfreebsd-ports-gnome-f7090f657e8168805f432d74d5832acdf33e927e.tar.gz
freebsd-ports-gnome-f7090f657e8168805f432d74d5832acdf33e927e.tar.zst
freebsd-ports-gnome-f7090f657e8168805f432d74d5832acdf33e927e.zip
- support staging
Diffstat (limited to 'games/gnake')
-rw-r--r--games/gnake/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/games/gnake/Makefile b/games/gnake/Makefile
index d3bb61043111..4fe9677615b3 100644
--- a/games/gnake/Makefile
+++ b/games/gnake/Makefile
@@ -22,7 +22,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= README
PLIST_FILES= bin/${PORTNAME}
-NO_STAGE= yes
do-build:
${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/${PORTNAME} \
${WRKSRC}/gnake.c
@@ -30,10 +29,10 @@ do-build:
.include <bsd.port.options.mk>
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>