ports/173424: [MAINTAINER] games/glightoff: Fixed NLS, removed notes
nemysis
nemysis at gmx.ch
Tue Nov 6 16:30:01 UTC 2012
>Number: 173424
>Category: ports
>Synopsis: [MAINTAINER] games/glightoff: Fixed NLS, removed notes
>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: Tue Nov 06 16:30:00 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:
Only with ! works
-.if empty(PORT_OPTIONS:MNLS)
+.if !${PORT_OPTIONS:MNLS}
Removed because is default
-NLS_DESC= Native Language Support via gettext
-OPTIONS_DEFAULT= NLS
Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
portlint -A
looks fine.
port test: clean
>Fix:
--- glightoff-1.0.0_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/glightoff/Makefile ./Makefile
--- /usr/ports/games/glightoff/Makefile 2012-08-26 01:41:32.000000000 +0200
+++ ./Makefile 2012-11-06 17:21:34.000000000 +0100
@@ -27,8 +27,6 @@
PORTDOCS= AUTHORS ChangeLog NEWS README TODO
OPTIONS_DEFINE= NLS
-NLS_DESC= Native Language Support via gettext
-OPTIONS_DEFAULT= NLS
.include <bsd.port.options.mk>
@@ -40,17 +38,14 @@
.endif
post-configure:
@${REINPLACE_CMD} 's|src po|src|' ${WRKSRC}/Makefile
.endif
post-install:
-# Documentation
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
-. for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-. endfor
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>
--- glightoff-1.0.0_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list