svn commit: r314607 - head/sysutils/tracker

Koop Mast kwm at FreeBSD.org
Mon Mar 18 22:10:05 UTC 2013


Author: kwm
Date: Mon Mar 18 22:10:04 2013
New Revision: 314607
URL: http://svnweb.freebsd.org/changeset/ports/314607

Log:
  Convert to OptionsNG. Also toggle both options on since this is a meta port it
  should depend on something!

Modified:
  head/sysutils/tracker/Makefile

Modified: head/sysutils/tracker/Makefile
==============================================================================
--- head/sysutils/tracker/Makefile	Mon Mar 18 21:59:38 2013	(r314606)
+++ head/sysutils/tracker/Makefile	Mon Mar 18 22:10:04 2013	(r314607)
@@ -1,14 +1,10 @@
-# New ports collection makefile for:	tracker
-# Date created:		2006-12-09
-# Whom:			Michael Johnson <ahze at FreeBSD.org>
-#
+# Created by: Michael Johnson <ahze at FreeBSD.org>
 # $FreeBSD$
 #   $MCom: ports/sysutils/tracker/Makefile,v 1.18 2009/08/08 18:46:41 ahze Exp $
-#
 
 PORTNAME=	tracker
 PORTVERSION=	0.6.95
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	sysutils gnome
 MASTER_SITES=	# empty
 DISTFILES=	# empty
@@ -20,19 +16,21 @@ COMMENT=	Tracker search tool and indexer
 RUN_DEPENDS=	${LOCALBASE}/libexec/trackerd:${PORTSDIR}/sysutils/tracker-client
 
 NO_BUILD=	yes
-OPTIONS=	GNOME "Gnome preferences, panel applet, and search tool" Off \
-		MSOFFICE "Enable search for Microsoft Office Docs (uses gtk)" Off
+OPTIONS_DEFINE=	GNOME MSOFFICE
+OPTIONS_DEFAULT=GNOME MSOFFICE
+GNOME_DESC=	Gnome preferences, panel applet, and search tool
+MSOFFICE_DESC=	Search support for Microsoft Office Docs (uses gtk)
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if defined(WITH_GNOME)
+.if ${PORT_OPTIONS:MGNOME}
 RUN_DEPENDS+=	tracker-applet:${PORTSDIR}/sysutils/tracker-gnome
 .endif
 
-.if defined(WITH_MSOFFICE)
+.if ${PORT_OPTIONS:MMSOFFICE}
 RUN_DEPENDS+=	${LOCALBASE}/lib/tracker/extract-modules/libextract-msoffice.so:${PORTSDIR}/sysutils/tracker-libtrackergtk
 .endif
 
 do-install:
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-head mailing list