aboutsummaryrefslogtreecommitdiff
path: root/net/ldapdiff/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-08-14 18:00:01 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-08-14 18:00:01 +0000
commit284c0308889f012d42cfe8a3ef804bf923904a22 (patch)
tree0e8b85987f48f847c2ef989cbf350b13f076e039 /net/ldapdiff/Makefile
parent8e29f3aaf6a65b071082072417707ab1f1598a74 (diff)
downloadports-284c0308889f012d42cfe8a3ef804bf923904a22.tar.gz
ports-284c0308889f012d42cfe8a3ef804bf923904a22.zip
Notes
Diffstat (limited to 'net/ldapdiff/Makefile')
-rw-r--r--net/ldapdiff/Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/net/ldapdiff/Makefile b/net/ldapdiff/Makefile
index 77b75aa1ee2e..5b6c16bfe220 100644
--- a/net/ldapdiff/Makefile
+++ b/net/ldapdiff/Makefile
@@ -5,27 +5,27 @@
# $FreeBSD$
#
-PORTNAME= ldapdiff
-PORTVERSION= 0.9.0
-CATEGORIES= net
-MASTER_SITES= http://webtomware.rhoen.de/ \
+PORTNAME= ldapdiff
+PORTVERSION= 0.9.0
+CATEGORIES= net
+MASTER_SITES= http://webtomware.rhoen.de/ \
http://unixpages.org/distfiles/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= A utility for patching LDAP directories using LDIF files
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
+.if defined(WITH_OPENLDAP1)
+LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12
+.else
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/${LDAP_PORT}
+.endif
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} \
--with-ldap-dir=${PREFIX} \
--with-iconv-dir=${PREFIX}
-
-.if defined(WITH_OPENLDAP1)
-LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12
-.else
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
-.endif
+LDAP_PORT?= net/openldap20-client
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ldapdiff ${PREFIX}/bin