ports/185776: [UPDATE] games/affenspiel, fix issues reported by portlint
Hardy Schumacher
hardy.schumacher at gmx.de
Tue Jan 14 20:10:00 UTC 2014
>Number: 185776
>Category: ports
>Synopsis: [UPDATE] games/affenspiel, 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: Tue Jan 14 20:10: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 and license settings.
>How-To-Repeat:
n/a
>Fix:
Patch attached with submission follows:
diff -ruN /usr/ports/games/affenspiel/Makefile ./affenspiel/Makefile
--- /usr/ports/games/affenspiel/Makefile 2013-11-07 19:22:28.000000000 +0100
+++ ./affenspiel/Makefile 2014-01-14 20:54:58.000000000 +0100
@@ -11,9 +11,9 @@
COMMENT= Little puzzle game with monkey for X Window System
LICENSE= unknown
-LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-LICENSE_FILE= ${WRKSRC}/COPYRIGHT
LICENSE_NAME= just Copyright
+LICENSE_FILE= ${WRKSRC}/COPYRIGHT
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -28,10 +28,15 @@
OPTIONS_DEFINE= DOCS
+.include <bsd.port.options.mk>
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/affenspiel ${STAGEDIR}${PREFIX}/bin
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+.for DOCFILE in PORTDOCS
+ ${INSTALL_DATA} ${WRKSRC}/${DOCFILE} ${STAGEDIR}${DOCSDIR}
+.endfor
+.endif
.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list