svn commit: r328307 - head/games/bubble-chains

Rusmir Dusko nemysis at FreeBSD.org
Wed Sep 25 19:17:27 UTC 2013


Author: nemysis
Date: Wed Sep 25 19:17:26 2013
New Revision: 328307
URL: http://svnweb.freebsd.org/changeset/ports/328307

Log:
  - Support STAGEDIR
  
  Approved by:	wg/pawel (mentors)

Modified:
  head/games/bubble-chains/Makefile

Modified: head/games/bubble-chains/Makefile
==============================================================================
--- head/games/bubble-chains/Makefile	Wed Sep 25 19:09:12 2013	(r328306)
+++ head/games/bubble-chains/Makefile	Wed Sep 25 19:17:26 2013	(r328307)
@@ -56,17 +56,15 @@ post-configure:
 		${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/chains ${PREFIX}/bin/${PORTNAME}
-	@(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${DATADIR})
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/chains ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR})
 
 	${INSTALL_DATA} ${WRKSRC}/images/logo.png \
-		${PREFIX}/share/pixmaps/${PORTNAME}.png
+		${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
 	${INSTALL_DATA} ${WRKSRC}/icon.ico \
-		${PREFIX}/share/pixmaps/${PORTNAME}.ico
+		${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.ico
 
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list