aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-10-04 14:28:21 +0800
committerbapt <bapt@FreeBSD.org>2012-10-04 14:28:21 +0800
commit363d1b946575336b2f8151f06f3901ab3618af38 (patch)
tree6654e97aed803f18ed180283a123309b55672121 /x11
parentee65b7e819618bbca65cf612224676118da89d1f (diff)
downloadfreebsd-ports-gnome-363d1b946575336b2f8151f06f3901ab3618af38.tar.gz
freebsd-ports-gnome-363d1b946575336b2f8151f06f3901ab3618af38.tar.zst
freebsd-ports-gnome-363d1b946575336b2f8151f06f3901ab3618af38.zip
Convert to new options framework
Diffstat (limited to 'x11')
-rw-r--r--x11/kdebase3/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/x11/kdebase3/Makefile b/x11/kdebase3/Makefile
index 1a16b1cd74c6..e0e6d9744022 100644
--- a/x11/kdebase3/Makefile
+++ b/x11/kdebase3/Makefile
@@ -45,9 +45,10 @@ CONFIGURE_ARGS+=--without-java \
--with-xdmdir=${LOCALBASE}/lib/X11/xdm \
--with-ssl-dir=${OPENSSLBASE}
-OPTIONS= ARTSWRAPPER "Suid wrapper for aRts, req'd for realtime prio" on \
- HAL "Use HAL backend for media:/" on \
- HTDIG "Depend on htdig, used to build manual indices" off
+OPTIONS_DEFINE= ARTSWRAPPER HAL HTDIG
+OPTIONS_DEFAULT= ARTSWRAPPER HAL
+ARTSWRAPPER_DESC= Suid wrapper for aRts, req'd for realtime prio
+HTDIG_DESC= Use htdig to build manual indices
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
@@ -58,15 +59,15 @@ LIB_DEPENDS+= usb-0.1:${PORTSDIR}/devel/libusb
EXTRA_PATCHES+= ${FILESDIR}/extrapatch-libusb20
.endif
-.if !defined(WITHOUT_ARTSWRAPPER)
+.if ${PORT_OPTIONS:MDOCS}
RUN_DEPENDS+= artswrapper:${PORTSDIR}/audio/artswrapper
.endif
-.if defined(WITH_HTDIG)
+.if ${PORT_OPTIONS:MDOCS}
RUN_DEPENDS+= htdig:${PORTSDIR}/textproc/htdig
.endif
-.if !defined(WITHOUT_HAL)
+.if ${PORT_OPTIONS:MHAL}
EXTRA_PATCHES+= ${FILESDIR}/extrapatch-kioslave_media_mediamanager-halbackend.cpp \
${FILESDIR}/extrapatch-kioslave_media_mediamanager-halbackend.h
LIB_DEPENDS+= dbus-qt-1.1:${PORTSDIR}/devel/dbus-qt3 \