Date: Mon, 13 Jan 2014 20:21:52 GMT From: Hardy Schumacher <hardy.schumacher@gmx.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/185756: [UPDATE] games/3dpong, fix issues reported by portlint Message-ID: <201401132021.s0DKLqVe009273@oldred.freebsd.org> Resent-Message-ID: <201401132030.s0DKU0DR027673@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401132021.s0DKLqVe009273>