aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gconf2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gconf2/Makefile')
-rw-r--r--devel/gconf2/Makefile21
1 files changed, 9 insertions, 12 deletions
diff --git a/devel/gconf2/Makefile b/devel/gconf2/Makefile
index f89b14f1afc2..417886e1a3aa 100644
--- a/devel/gconf2/Makefile
+++ b/devel/gconf2/Makefile
@@ -1,10 +1,6 @@
-# New ports collection makefile for: gconf2
-# Date created: 28th June 2000
-# Whom: Ade Lovett <ade@FreeBSD.org>
-#
+# Created by: Ade Lovett <ade@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/devel/gconf2/Makefile,v 1.124 2010/11/15 22:14:03 kwm Exp $
-#
PORTNAME= gconf2
PORTVERSION= 2.32.0
@@ -25,12 +21,13 @@ LICENSE_FILE= ${WRKSRC}/COPYING
.if !defined(REFERENCE_PORT)
-LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
- polkit-gobject-1.0:${PORTSDIR}/sysutils/polkit
+LIB_DEPENDS= dbus-glib-1:${PORTSDIR}/devel/dbus-glib \
+ polkit-gobject-1:${PORTSDIR}/sysutils/polkit
USE_GMAKE= yes
USE_GETTEXT= yes
-USE_GNOME= gnomehier gnomehack orbit2 gtk20 libxml2 ltverhack \
+USES= pathfix
+USE_GNOME= gnomehier orbit2 gtk20 libxml2 ltverhack \
referencehack intlhack dconf
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool
@@ -43,11 +40,11 @@ LDFLAGS+= -L${LOCALBASE}/lib
MAN1= gconftool-2.1 gsettings-data-convert.1 \
gsettings-schema-convert.1
-OPTIONS= LDAP "Enable LDAP support" off
+OPTIONS_DEFINE= LDAP
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_LDAP)
+.if ${PORT_OPTIONS:MLDAP}
USE_OPENLDAP= yes
CONFIGURE_ARGS+=--with-openldap
PLIST_SUB+= LDAP=""
@@ -59,6 +56,6 @@ PLIST_SUB+= LDAP="@comment "
post-install:
-${LOCALBASE}/bin/gio-querymodules ${PREFIX}/lib/gio/modules
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
.endif