ports/185756: [UPDATE] games/3dpong, fix issues reported by portlint
Hardy Schumacher
hardy.schumacher at gmx.de
Mon Jan 13 20:30:01 UTC 2014
>Number: 185756
>Category: ports
>Synopsis: [UPDATE] games/3dpong, fix issues reported by portlint
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 13 20:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Hardy Schumacher
>Release: FreeBSD-9.2
>Organization:
>Environment:
FreeBSD gamma.low.org 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255996: Thu Oct 3 20:40:04 CEST 2013 root at gamma.low.org:/usr/obj/usr/src/sys/LOW_GAMMA i386
>Description:
Portlint reported some issues related to new options framework.
>How-To-Repeat:
n/a
>Fix:
Patch attached with submission follows:
diff -ruN /usr/ports/games/3dpong/Makefile ./3dpong/Makefile
--- /usr/ports/games/3dpong/Makefile 2013-11-20 07:42:10.000000000 +0100
+++ ./3dpong/Makefile 2014-01-13 21:04:43.000000000 +0100
@@ -30,6 +30,8 @@
OPTIONS_DEFINE= DOCS EXAMPLES
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|cat sounds/|cat ${DATADIR}/|g' ${WRKSRC}/src/3dpong.c
@@ -41,9 +43,12 @@
${INSTALL_MAN} ${WRKSRC}/src/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${STAGEDIR}${DOCSDIR}
-
+.endif
+.if ${PORT_OPTIONS:MEXAMPLES}
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
+.endif
.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list