ports/185759: [UPDATE] games/agame, fix issues reported by portlint
Hardy Schumacher
hardy.schumacher at gmx.de
Mon Jan 13 20:50:01 UTC 2014
>Number: 185759
>Category: ports
>Synopsis: [UPDATE] games/agame, 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:50: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 issues related to missing entries required by new options framework.
>How-To-Repeat:
n/a
>Fix:
Patch attached with submission follows:
diff -ruN /usr/ports/games/agame/Makefile ./agame/Makefile
--- /usr/ports/games/agame/Makefile 2013-12-21 13:05:28.000000000 +0100
+++ ./agame/Makefile 2014-01-13 21:41:41.000000000 +0100
@@ -34,13 +34,17 @@
OPTIONS_DEFINE= DOCS
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -Ee 's,wav/|mp3/|img/,${DATADIR}/&,g' ${WRKSRC}/main.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/game ${STAGEDIR}${PREFIX}/bin/
cd ${WRKSRC} && ${COPYTREE_SHARE} "wav mp3 img" ${STAGEDIR}${DATADIR}/
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.TXT ${STAGEDIR}${DOCSDIR}/
+.endif
.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list