Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2012 08:45:50 +0000 (UTC)
From:      Jason Helfman <jgh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302849 - head/games/asteroids3d
Message-ID:  <201208210845.q7L8jorS098260@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



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