aboutsummaryrefslogtreecommitdiff
path: root/games/tetrinet/Makefile
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2013-07-19 14:59:11 +0000
committerJohan van Selst <johans@FreeBSD.org>2013-07-19 14:59:11 +0000
commit428bb1470b70fc7b6c7ef6e5d371a3c20295f41e (patch)
treeff3b1f8137a7a2e3e9750af312aa1abc4029d42b /games/tetrinet/Makefile
parent5726843e2af1bade7f6aab396c581e3470da42cd (diff)
downloadports-428bb1470b70fc7b6c7ef6e5d371a3c20295f41e.tar.gz
ports-428bb1470b70fc7b6c7ef6e5d371a3c20295f41e.zip
Notes
Diffstat (limited to 'games/tetrinet/Makefile')
-rw-r--r--games/tetrinet/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/tetrinet/Makefile b/games/tetrinet/Makefile
index 3f94e4c04113..3aab534b6a38 100644
--- a/games/tetrinet/Makefile
+++ b/games/tetrinet/Makefile
@@ -22,6 +22,10 @@ PLIST_FILES= bin/tetrinet bin/tetrinet-server
PORTDOCS= README tetrinet.txt
.endif
+post-patch:
+ ${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