From 85a0e12b972af96ffd0b9c26f31c438abaf3ada9 Mon Sep 17 00:00:00 2001 From: kwm Date: Mon, 18 Mar 2013 22:10:04 +0000 Subject: Convert to OptionsNG. Also toggle both options on since this is a meta port it should depend on something! --- sysutils/tracker/Makefile | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'sysutils/tracker') diff --git a/sysutils/tracker/Makefile b/sysutils/tracker/Makefile index 1a861e561a5d..f1fba25f461d 100644 --- a/sysutils/tracker/Makefile +++ b/sysutils/tracker/Makefile @@ -1,14 +1,10 @@ -# New ports collection makefile for: tracker -# Date created: 2006-12-09 -# Whom: Michael Johnson -# +# Created by: Michael Johnson # $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 metaport 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 +.include -.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 +.include -- cgit