Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Aug 2012 02:09:08 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jgh@FreeBSD.org
Subject:   ports/170719: [MAINTAINER] games/asteroids3d: Makefile changed, added OptionsNG
Message-ID:  <20120818000911.F1BC31065670@hub.freebsd.org>
Resent-Message-ID: <201208180010.q7I0A9hv030156@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         170719
>Category:       ports
>Synopsis:       [MAINTAINER] games/asteroids3d: Makefile changed, added OptionsNG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 18 00:10:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC
>Description:

Makefile changed, added OptionsNG

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- asteroids3d-0.5.1_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/asteroids3d/Makefile ./Makefile
--- /usr/ports/games/asteroids3d/Makefile	2012-07-18 13:27:01.000000000 +0200
+++ ./Makefile	2012-08-18 02:04:21.000000000 +0200
@@ -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,22 @@
 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
--- asteroids3d-0.5.1_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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