aboutsummaryrefslogtreecommitdiff
path: root/devel/libmcs/Makefile
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2007-10-15 19:49:44 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2007-10-15 19:49:44 +0000
commit53fc7f22a38fc92df69c55e8cdec9fec26eaa06d (patch)
treecf99ad631e2ce6e610ba7c85175341e573962b26 /devel/libmcs/Makefile
parentd54475429d95f6e89cdacdb17ea2ab7ff4bcfb22 (diff)
downloadports-53fc7f22a38fc92df69c55e8cdec9fec26eaa06d.tar.gz
ports-53fc7f22a38fc92df69c55e8cdec9fec26eaa06d.zip
Notes
Diffstat (limited to 'devel/libmcs/Makefile')
-rw-r--r--devel/libmcs/Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/devel/libmcs/Makefile b/devel/libmcs/Makefile
index c8f3c8814ba1..3f63f51efad6 100644
--- a/devel/libmcs/Makefile
+++ b/devel/libmcs/Makefile
@@ -16,12 +16,26 @@ COMMENT= A BSD licenced configuration database system
LIB_DEPENDS= mowgli.1:${PORTSDIR}/devel/libmowgli
+OPTIONS= GCONF "Enable gconf support" on
+
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_GMAKE= yes
+USE_GNOME= pkgconfig
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_GCONF)
+USE_GNOME+= gconf2
+CONFIGURE_ARGS+=--enable-gconf
+PLIST_SUB= GCONF=""
+.else
+CONFIGURE_ARGS+=--disable-gconf
+PLIST_SUB= GCONF="@comment "
+.endif
post-patch:
@${REINPLACE_CMD} 's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|g' \
${WRKSRC}/Makefile
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>