aboutsummaryrefslogtreecommitdiffstats
path: root/net/openldap22-server/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/openldap22-server/Makefile')
-rw-r--r--net/openldap22-server/Makefile54
1 files changed, 30 insertions, 24 deletions
diff --git a/net/openldap22-server/Makefile b/net/openldap22-server/Makefile
index 157ced384e46..5cdce9acb1a8 100644
--- a/net/openldap22-server/Makefile
+++ b/net/openldap22-server/Makefile
@@ -1,6 +1,6 @@
-# New ports collection makefile for: openldap
-# Date created: 20 Sep 1998
-# Whom: Lachlan O'Dea
+# New ports collection makefile for: OpenLDAP 1.x
+# Date created: 20 Sep 1998
+# Whom: Lachlan O'Dea
#
# $FreeBSD$
#
@@ -9,37 +9,45 @@ PORTNAME= openldap
PORTVERSION= 1.2.11
PORTREVISION= 1
CATEGORIES= net databases
-MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/ \
- ftp://ftp.net.lut.ac.uk/openldap/openldap-release/ \
- ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/openldap-release/ \
- ftp://mirror.aarnet.edu.au/pub/OpenLDAP/openldap-release/ \
- ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/openldap-release/ \
- http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/openldap-release/ \
- ftp://ftp.ntua.gr/mirror/OpenLDAP/openldap-release/ \
- ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/openldap-release/\
- ftp://ftp.zcu.cz/pub/network/openldap/openldap-release/
+MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
+ ftp://ftp.net.lut.ac.uk/openldap/%SUBDIR%/ \
+ ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \
+ ftp://mirror.aarnet.edu.au/pub/OpenLDAP/%SUBDIR%/ \
+ ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/%SUBDIR%/ \
+ http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/%SUBDIR%/ \
+ ftp://ftp.ntua.gr/mirror/OpenLDAP/%SUBDIR%/ \
+ ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/%SUBDIR%/ \
+ ftp://ftp.zcu.cz/pub/network/openldap/%SUBDIR%/
+MASTER_SITE_SUBDIR= openldap-release
EXTRACT_SUFX= .tgz
MAINTAINER= lodea@vet.com.au
-.if defined(WITH_DB2)
-BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \
- LDFLAGS=-L${LOCALBASE}/lib
-CONFIGURE_ARGS+= --enable-ldbm --with-ldbm-api=db2
-.endif
-
USE_LIBTOOL= yes
-CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns
+
+CONFIGURE_ARGS= --localstatedir=/var/run \
+ --enable-shared \
+ --enable-dns
# Include tcp-wrapper support
.if exists(/usr/include/tcpd.h)
-CONFIGURE_ARGS+= --enable-wrappers
+CONFIGURE_ARGS+= --enable-wrappers
+.endif
+
+.if defined(WITH_DB2)
+BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/
+
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS+= --enable-ldbm \
+ --with-ldbm-api=db2
.endif
BINS= bin/ldapadd \
bin/ldapdelete \
+ bin/ldapmodify \
bin/ldapmodrdn \
+ bin/ldappasswd \
bin/ldapsearch \
bin/ud \
libexec/fax500 \
@@ -58,9 +66,7 @@ BINS= bin/ldapadd \
sbin/ldif2id2children \
sbin/ldif2id2entry \
sbin/ldif2index \
- sbin/ldif2ldbm \
- bin/ldapmodify \
- bin/ldappasswd
+ sbin/ldif2ldbm
.include <bsd.port.pre.mk>
.include "${FILESDIR}/manpages"