blob: f1446b3185b9936b7a903ee4a2bb16567cef9c75 (
plain) (
tree)
|
|
# Created by: Ade Lovett <ade@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/trunk/devel/gconf2/Makefile 18610 2013-06-30 16:33:05Z marcus $
PORTNAME= gconf2
PORTVERSION= 3.2.6
PORTREVISION= 0
CATEGORIES= devel gnome
MASTER_SITES= GNOME
MASTER_SITE_SUBDIR= sources/GConf/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DISTNAME= GConf-${PORTVERSION}
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Configuration database system for GNOME
LICENSE= LGPL20
LICENSE_FILE= ${WRKSRC}/COPYING
USE_XZ= yes
.if !defined(REFERENCE_PORT)
LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit
USES= gettext gmake pathfix pkgconfig
USE_GNOME= gnomehier orbit2 gtk20 libxml2 ltverhack \
referencehack intlhack dconf introspection:build
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
--with-gtk=2.0 \
--disable-gtk-doc
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= LDAP
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MLDAP}
USE_OPENLDAP= yes
CONFIGURE_ARGS+=--with-openldap
PLIST_SUB+= LDAP=""
.else
CONFIGURE_ARGS+=--without-openldap
PLIST_SUB+= LDAP="@comment "
.endif
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/GConf/2/libgconfbackend-*.so
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgconf-2.so.4
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gio/modules/libgsettingsgconfbackend.so
.include <bsd.port.mk>
.endif
|