Bug 170770 - [MAINTAINER] games/glightoff: [SUMMARIZE CHANGES]
Summary: [MAINTAINER] games/glightoff: [SUMMARIZE CHANGES]
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jason Helfman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-19 22:30 UTC by nemysis
Modified: 2012-08-26 00:50 UTC (History)
1 user (show)

See Also:


Attachments
glightoff-1.0.0_1.patch (1.10 KB, patch)
2012-08-19 22:30 UTC, nemysis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2012-08-19 22:30:07 UTC
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)
Comment 1 Jason Helfman freebsd_committer freebsd_triage 2012-08-19 23:31:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jgh

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-08-26 00:41:46 UTC
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
 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Jason Helfman freebsd_committer freebsd_triage 2012-08-26 00:41:55 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!