blob: 3d5d01eef856799c95db919768e1db3a7cea3e54 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# 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)
USE_GMAKE= yes
USE_GETTEXT= yes
USE_XLIB= yes
USE_GNOME= gnomehier gnomehack orbit2 gtk20 libxml2 linc ltverhack referencehack
INSTALLS_SHLIB= 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
post-patch:
@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|' \
${WRKSRC}/gconf/default.path.in
.include <bsd.port.post.mk>
.endif
|