Bug 183674

Summary: [PATCH] audio/gtick: Use new options framework
Product: Ports & Packages Reporter: Mathieu Arnold <mat>
Component: Individual Port(s)Assignee: Ganael LAPLANCHE <martymac>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
gtick-0.5.2.patch none

Description Mathieu Arnold freebsd_committer freebsd_triage 2013-11-05 10:10:00 UTC
Use new options framework.

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: SVN)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-05 10:10:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->martymac

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-11-07 15:55:25 UTC
Author: martymac
Date: Thu Nov  7 15:55:18 2013
New Revision: 333127
URL: http://svnweb.freebsd.org/changeset/ports/333127

Log:
  - Use new options framework
  - Remove useless inclusion of bsd.port.options.mk
  
  PR:		ports/183674
  Submitted by:	mat

Modified:
  head/audio/gtick/Makefile

Modified: head/audio/gtick/Makefile
==============================================================================
--- head/audio/gtick/Makefile	Thu Nov  7 15:53:36 2013	(r333126)
+++ head/audio/gtick/Makefile	Thu Nov  7 15:55:18 2013	(r333127)
@@ -19,16 +19,10 @@ GNU_CONFIGURE=	yes
 USE_GNOME=	gtk20
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-CONFIGURE_ARGS+=	--enable-nls
-PLIST_SUB+=	NLS=""
-.else
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.endif
+OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
+NLS_USES=	gettext
+NLS_CONFIGURE_ENABLE=	nls
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
_______________________________________________
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 Ganael LAPLANCHE freebsd_committer freebsd_triage 2013-11-07 15:55:37 UTC
State Changed
From-To: open->closed

Committed, thanks!