1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/devel/gconf2/Makefile
Jeremy Messenger 74c9115dad -INSTALLS_SHLIB -> USE_LDCONFIG.
-Add locale stuff in plist that aren't in mtree/BSD.x11-4.dist.

PR:		ports/101518
Submitted by:	Stanislav Sedov <ssedov@mbsd.msk.ru>
2006-09-04 23:12:28 +00:00

62 lines
1.4 KiB
Makefile

# New ports collection makefile for: gconf2
# Date created: 28th June 2000
# Whom: Ade Lovett <ade@FreeBSD.org>
#
# $FreeBSD$
# $MCom: ports/devel/gconf2/Makefile,v 1.72 2006/04/13 07:52:32 bland Exp $
#
PORTNAME= gconf2
PORTVERSION= 2.14.0
PORTREVISION?= 3
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/GConf/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DISTNAME= GConf-${PORTVERSION}
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= A configuration database system for GNOME
USE_BZIP2= yes
.if !defined(REFERENCE_PORT)
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
USE_GMAKE= yes
USE_GETTEXT= yes
USE_X_PREFIX= yes
USE_GNOME= gnomehier gnomehack orbit2 gtk20 libxml2 linc ltverhack referencehack
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
--disable-gtk-doc
# --enable-gconf-source=${PREFIX}/etc/gconf/schemas \
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= gconftool-2.1
.include <bsd.port.pre.mk>
.if defined(WITH_LDAP) || exists(${LOCALBASE}/include/ldap.h)
USE_OPENLDAP= yes
PLIST_SUB+= LDAP=""
.else
PLIST_SUB+= LDAP="@comment "
.endif
pre-everything::
.if !defined(WITH_LDAP)
@${ECHO_MSG}
@${ECHO_MSG} "You can enable ldap support by defining"
@${ECHO_MSG} "WITH_LDAP"
@${ECHO_MSG}
.endif
.include <bsd.port.post.mk>
.endif