svn commit: r310042 - head/audio/mp3info

Sylvio Cesar Teixeira sylvio at svn.freebsd.org
Mon Jan 7 12:33:59 UTC 2013


Author: sylvio
Date: Mon Jan  7 12:33:59 2013
New Revision: 310042
URL: http://svnweb.freebsd.org/changeset/ports/310042

Log:
  - Change OPTIONS to new format.
  
  PR:		ports/174869
  Submitted by:	Doug Penner <darwinsurvivor at gmail.com>

Modified:
  head/audio/mp3info/Makefile

Modified: head/audio/mp3info/Makefile
==============================================================================
--- head/audio/mp3info/Makefile	Mon Jan  7 12:16:45 2013	(r310041)
+++ head/audio/mp3info/Makefile	Mon Jan  7 12:33:59 2013	(r310042)
@@ -22,18 +22,20 @@ WANT_GNOME=	yes
 
 PORTDOCS=	ChangeLog README mp3info.txt
 
-OPTIONS=	"GTK2"	"Enable to have the gmp3info"	"off"
+OPTIONS_DEFINE=	GTK2
+GTK2_DESC=	Enable to have the gmp3info
 
 PLIST_FILES=	bin/mp3info \
 		%%WITH_GTK%%bin/gmp3info
 
 MAN1=		mp3info.1
 
-.include <bsd.port.pre.mk>
-
 ALL_TARGET=	doc mp3info
 
-.if defined (WITH_GTK2)
+.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MGTK2}
 PKGNAMESUFFIX=	-gtk
 USE_GNOME+=	gtk20
 ALL_TARGET+=	gmp3info


More information about the svn-ports-head mailing list