ports/170719: [MAINTAINER] games/asteroids3d: Makefile changed, added OptionsNG
nemysis
nemysis at gmx.ch
Sat Aug 18 00:10:10 UTC 2012
>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:
More information about the freebsd-ports-bugs
mailing list