aboutsummaryrefslogtreecommitdiff
path: root/games/tetrinet
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2013-12-29 13:51:52 +0000
committerJohan van Selst <johans@FreeBSD.org>2013-12-29 13:51:52 +0000
commit59fe823710bba3fade6868a4af4d6a647f28b03a (patch)
tree0de460024e97c5dc23f85b6aedf723a7d23e1b7f /games/tetrinet
parent00336d5574841be73ccbaf5fe91922dd306c348b (diff)
downloadports-59fe823710bba3fade6868a4af4d6a647f28b03a.tar.gz
ports-59fe823710bba3fade6868a4af4d6a647f28b03a.zip
Notes
Diffstat (limited to 'games/tetrinet')
-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>