Bug 183674 - [PATCH] audio/gtick: Use new options framework
Summary: [PATCH] audio/gtick: Use new options framework
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: Ganael LAPLANCHE
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-05 10:10 UTC by Mathieu Arnold
Modified: 2013-11-07 16:00 UTC (History)
0 users

See Also:


Attachments
gtick-0.5.2.patch (569 bytes, patch)
2013-11-05 10:10 UTC, Mathieu Arnold
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Arnold freebsd_committer 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 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 freebsd_committer 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 2013-11-07 15:55:37 UTC
State Changed
From-To: open->closed

Committed, thanks!