aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2013-03-19 06:10:04 +0800
committerkwm <kwm@FreeBSD.org>2013-03-19 06:10:04 +0800
commit85a0e12b972af96ffd0b9c26f31c438abaf3ada9 (patch)
tree25ab7e14fd450cbb3ce6ff557f04b32f47e55af9
parent712237ecc59c7a64f3ae9702c21f950202c9d57a (diff)
downloadfreebsd-ports-gnome-85a0e12b972af96ffd0b9c26f31c438abaf3ada9.tar.gz
freebsd-ports-gnome-85a0e12b972af96ffd0b9c26f31c438abaf3ada9.tar.zst
freebsd-ports-gnome-85a0e12b972af96ffd0b9c26f31c438abaf3ada9.zip
Convert to OptionsNG. Also toggle both options on since this is a meta port it
should depend on something!
-rw-r--r--sysutils/tracker/Makefile22
1 files changed, 10 insertions, 12 deletions
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 <ahze@FreeBSD.org>
-#
+# Created by: Michael Johnson <ahze@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 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 <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>