svn commit: r302849 - head/games/asteroids3d

Jason Helfman jgh at FreeBSD.org
Tue Aug 21 08:45:50 UTC 2012


Author: jgh
Date: Tue Aug 21 08:45:50 2012
New Revision: 302849
URL: http://svn.freebsd.org/changeset/ports/302849

Log:
  - port requires data installation
  
  PR:	170719
  Submitted by:	maintainer, nemysis at gmx.ch

Modified:
  head/games/asteroids3d/Makefile

Modified: head/games/asteroids3d/Makefile
==============================================================================
--- head/games/asteroids3d/Makefile	Tue Aug 21 08:27:01 2012	(r302848)
+++ head/games/asteroids3d/Makefile	Tue Aug 21 08:45:50 2012	(r302849)
@@ -7,6 +7,7 @@
 
 PORTNAME=	asteroids3d
 PORTVERSION=	0.5.1
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	SF/a3d/${PORTVERSION}/ \
 		LOCAL/madpilot/asteroids3d/:icons
@@ -44,17 +45,20 @@ pre-configure:
 post-patch:
 	@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' ${WRKSRC}/autogen.sh
 
+.include <bsd.port.options.mk>
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME:S/3d/3D/} ${PREFIX}/bin/${PORTNAME}
-# Pixmaps
-	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}*.png ${PREFIX}/share/pixmaps
+
 # Data
-.if !defined(NOPORTDATA)
 	${MKDIR} ${DATADIR}
 	@(cd ${WRKSRC}/src && ${COPYTREE_SHARE}  "*.ub *.ppm" ${DATADIR})
-.endif
+
+# Pixmaps
+	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}*.png ${PREFIX}/share/pixmaps
+
 # Documentation
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.html ${DOCSDIR}
 .endif



More information about the svn-ports-head mailing list