svn commit: r333465 - head/games/spellcast

Danilo Egea Gondolfo danilo at FreeBSD.org
Mon Nov 11 01:19:33 UTC 2013


Author: danilo
Date: Mon Nov 11 01:19:32 2013
New Revision: 333465
URL: http://svnweb.freebsd.org/changeset/ports/333465

Log:
  - Add stage support

Modified:
  head/games/spellcast/Makefile

Modified: head/games/spellcast/Makefile
==============================================================================
--- head/games/spellcast/Makefile	Mon Nov 11 01:14:20 2013	(r333464)
+++ head/games/spellcast/Makefile	Mon Nov 11 01:19:32 2013	(r333465)
@@ -13,23 +13,17 @@ MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Multiplayer fight with spells turn based game for X Window System
 
 USE_XORG=	x11
-MAN6=		spellcast.6
-PLIST_FILES=	bin/spellcast
+PLIST_FILES=	bin/spellcast man/man6/spellcast.6.gz
 PORTDOCS=	README spelllist.ps
 
 CFLAGS+=	-Wno-return-type
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/spellcast ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/spellcast.6 ${PREFIX}/man/man6
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/spellcast ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/spellcast.6 ${STAGEDIR}${PREFIX}/man/man6
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list