From 454f167689166415070305f3a43e0689d7e39053 Mon Sep 17 00:00:00 2001 From: johans Date: Sun, 29 Dec 2013 13:51:52 +0000 Subject: Enable stage support --- games/tetrinet/Makefile | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'games') 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 .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 -- cgit