Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Nov 2012 17:29:33 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jgh@FreeBSD.org
Subject:   ports/173424: [MAINTAINER] games/glightoff: Fixed NLS, removed notes
Message-ID:  <20121106162937.59710AC5@hub.freebsd.org>
Resent-Message-ID: <201211061630.qA6GU1EB034755@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121106162937.59710AC5>