aboutsummaryrefslogtreecommitdiffstats
path: root/net/gq
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-10-04 18:00:38 +0800
committerbapt <bapt@FreeBSD.org>2012-10-04 18:00:38 +0800
commitb1d9484175649c69fba62936588118d9cddb8a09 (patch)
treead6ce86a39fc8a59b7fcf6f2b0eacd5d669174c2 /net/gq
parentd09d4edb012b6ef9e5dd1dc907a66fb6248b13ec (diff)
downloadfreebsd-ports-gnome-b1d9484175649c69fba62936588118d9cddb8a09.tar.gz
freebsd-ports-gnome-b1d9484175649c69fba62936588118d9cddb8a09.tar.zst
freebsd-ports-gnome-b1d9484175649c69fba62936588118d9cddb8a09.zip
Convert to new options framework
Diffstat (limited to 'net/gq')
-rw-r--r--net/gq/Makefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/net/gq/Makefile b/net/gq/Makefile
index ae38341c497c..927242bc6928 100644
--- a/net/gq/Makefile
+++ b/net/gq/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: gq
-# Date Created: 8 Jun 2000
-# Whom: Roman Shterenzon <roman@xpert.com>
-#
+# Created by: Roman Shterenzon <roman@xpert.com>
# $FreeBSD$
-#
PORTNAME= gq
PORTVERSION= 1.3.4
@@ -17,8 +13,10 @@ COMMENT= GTK-based LDAP client
LIB_DEPENDS= gnome-keyring:${PORTSDIR}/security/gnome-keyring
-OPTIONS= DND "Enable Drag and drop support in browse mode" On \
- CACHE "Support the OpenLDAP experimental client cache" On
+OPTIONS_DEFINE= DND CACHE
+OPTIONS_DEFAULT= DND CACHE
+DND_DESC= Enable Drag and drop support in browse mode
+CACHE_DESC= Support the OpenLDAP experimental client cache
USE_GNOME= libglade2 gnomedocutils
USE_OPENSSL= yes
@@ -31,14 +29,14 @@ CONFIGURE_ARGS= --with-ldap-prefix=${LOCALBASE}
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(WITHOUT_DND)
+.if ${PORT_OPTIONS:MDND}
CONFIGURE_ARGS+= --enable-browser-dnd
.endif
-.if !defined(WITHOUT_CACHE)
+.if ${PORT_OPTIONS:MCACHE}
CONFIGURE_ARGS+= --enable-cache
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>