svn commit: r331983 - head/games/affenspiel

Danilo Egea Gondolfo danilo at FreeBSD.org
Tue Oct 29 19:34:23 UTC 2013


Author: danilo
Date: Tue Oct 29 19:34:23 2013
New Revision: 331983
URL: http://svnweb.freebsd.org/changeset/ports/331983

Log:
  - Add stage support
  - Add DOCS option

Modified:
  head/games/affenspiel/Makefile

Modified: head/games/affenspiel/Makefile
==============================================================================
--- head/games/affenspiel/Makefile	Tue Oct 29 19:32:15 2013	(r331982)
+++ head/games/affenspiel/Makefile	Tue Oct 29 19:34:23 2013	(r331983)
@@ -26,13 +26,12 @@ MAKE_ARGS=	CC="${CC}" LIBS="-L${LOCALBAS
 PORTDOCS=	COPYRIGHT README
 PLIST_FILES=	bin/affenspiel
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/affenspiel ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/affenspiel ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list