aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2013-12-29 21:51:52 +0800
committerjohans <johans@FreeBSD.org>2013-12-29 21:51:52 +0800
commit454f167689166415070305f3a43e0689d7e39053 (patch)
tree0de460024e97c5dc23f85b6aedf723a7d23e1b7f /games
parent558e87498a184ed02073c43528ec0fd9da626ac2 (diff)
downloadfreebsd-ports-gnome-454f167689166415070305f3a43e0689d7e39053.tar.gz
freebsd-ports-gnome-454f167689166415070305f3a43e0689d7e39053.tar.zst
freebsd-ports-gnome-454f167689166415070305f3a43e0689d7e39053.zip
Enable stage support
Diffstat (limited to 'games')
-rw-r--r--games/tetrinet/Makefile20
1 files changed, 7 insertions, 13 deletions
diff --git a/games/tetrinet/Makefile b/games/tetrinet/Makefile
index e5f74c57c7c4..e7344557e627 100644
--- a/games/tetrinet/Makefile
+++ b/games/tetrinet/Makefile
@@ -7,12 +7,11 @@ CATEGORIES= games net ipv6
MASTER_SITES= http://tetrinet.or.cz/download/
MAINTAINER= johans@FreeBSD.org
-COMMENT= A console tetrinet client
+COMMENT= Console tetrinet client
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DHAVE_IPV6 -fno-builtin-log"
PLIST_FILES= bin/tetrinet bin/tetrinet-server
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
@@ -20,21 +19,16 @@ PORTDOCS= README tetrinet.txt
.endif
post-patch:
- ${REINPLACE_CMD} -e '/-log/n; s/[[:<:]]log[[:>:]]/dolog/g' \
+ @${REINPLACE_CMD} -e '/-log/n; s/[[:<:]]log[[:>:]]/dolog/g' \
${WRKSRC}/tetrinet.h ${WRKSRC}/tetrinet.c ${WRKSRC}/sockets.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/tetrinet ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/tetrinet-server ${PREFIX}/bin
+ @${INSTALL_PROGRAM} ${WRKSRC}/tetrinet ${WRKSRC}/tetrinet-server \
+ ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${PREFIX}/share/doc/tetrinet
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tetrinet
- ${INSTALL_DATA} ${WRKSRC}/tetrinet.txt ${PREFIX}/share/doc/tetrinet
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/tetrinet.txt \
+ ${STAGEDIR}${DOCSDIR}
.endif
-post-install:
- @${ECHO}
- @${CAT} ${PKGMESSAGE}
- @${ECHO}
-
.include <bsd.port.mk>