Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2012 23:41:33 +0000 (UTC)
From:      Jason Helfman <jgh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303164 - head/games/glightoff
Message-ID:  <201208252341.q7PNfXsS015246@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jgh
Date: Sat Aug 25 23:41:32 2012
New Revision: 303164
URL: http://svn.freebsd.org/changeset/ports/303164

Log:
  - update to optionsNG for NLS/DOCS
  - drop intltool as dependency
  - while here tighten COMMENT
  
  PR:	170770
  Submitted by:	maintainer, nemysis@gmx.ch

Modified:
  head/games/glightoff/Makefile

Modified: head/games/glightoff/Makefile
==============================================================================
--- head/games/glightoff/Makefile	Sat Aug 25 23:37:52 2012	(r303163)
+++ head/games/glightoff/Makefile	Sat Aug 25 23:41:32 2012	(r303164)
@@ -7,37 +7,40 @@
 
 PORTNAME=	glightoff
 PORTVERSION=	1.0.0
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
 
 MAINTAINER=	nemysis@gmx.ch
-COMMENT=	GLightOff is a simple (but not so easy to solve!) puzzle game
+COMMENT=	Simple (but not so easy to solve!) puzzle game
 
 LICENSE=	GPLv2
 
 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 empty(PORT_OPTIONS:MNLS)
 	@${REINPLACE_CMD} 's|src po|src|' ${WRKSRC}/Makefile
 .endif
 



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