Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2013 13:51:52 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337984 - head/games/tetrinet
Message-ID:  <201312291351.rBTDpqnJ052957@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: johans
Date: Sun Dec 29 13:51:52 2013
New Revision: 337984
URL: http://svnweb.freebsd.org/changeset/ports/337984

Log:
  Enable stage support

Modified:
  head/games/tetrinet/Makefile

Modified: head/games/tetrinet/Makefile
==============================================================================
--- head/games/tetrinet/Makefile	Sun Dec 29 13:51:46 2013	(r337983)
+++ head/games/tetrinet/Makefile	Sun Dec 29 13:51:52 2013	(r337984)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312291351.rBTDpqnJ052957>