Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Aug 2012 23:21:52 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jgh@FreeBSD.org
Subject:   ports/170770: [MAINTAINER] games/glightoff: [SUMMARIZE CHANGES]
Message-ID:  <20120819212155.D2E72106566C@hub.freebsd.org>
Resent-Message-ID: <201208192130.q7JLU8Mh004219@freefall.freebsd.org>

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

>Number:         170770
>Category:       ports
>Synopsis:       [MAINTAINER] games/glightoff: [SUMMARIZE CHANGES]
>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:   Sun Aug 19 21:30:07 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:

>From bsd.gnome.mk

gtk20 use intltool

-USE_GNOME=<--->glib20 gtk20 intltool
+USE_GNOME=<--->glib20 gtk20

Deleted INSTALL why isn't needed after Installation.

New OptionsNG for NLS

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>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-09 07:45:13.000000000 +0200
+++ ./Makefile	2012-08-19 23:04:57.000000000 +0200
@@ -7,6 +7,7 @@
 
 PORTNAME=	glightoff
 PORTVERSION=	1.0.0
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
 
@@ -17,27 +18,29 @@
 
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
-USE_GNOME=	glib20 gtk20 intltool
+USE_GNOME=	glib20 gtk20
 USE_XORG=	x11
 
 CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-PORTDOCS=	AUTHORS ChangeLog INSTALL NEWS README TODO
+PORTDOCS=	AUTHORS ChangeLog NEWS README TODO
 
-OPTIONS=	NLS	"Enable gettext support" on
+OPTIONS_DEFINE=	NLS
+NLS_DESC=	Native Language Support via gettext
+OPTIONS_DEFAULT=	NLS
 
 .include <bsd.port.options.mk>
 
-.if defined(WITHOUT_NLS)
-PLIST_SUB+=	NLS="@comment "
-.else
+.if ${PORT_OPTIONS:MNLS}
 USE_GETTEXT=	yes
 PLIST_SUB+=	NLS=""
+.else
+PLIST_SUB+=	NLS="@comment "
 .endif
 
 post-configure:
-.if defined(WITHOUT_NLS)
+.if !${PORT_OPTIONS:MNLS}
 	@${REINPLACE_CMD} 's|src po|src|' ${WRKSRC}/Makefile
 .endif
 
--- 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?20120819212155.D2E72106566C>