1998-10-10 04:40:45 +00:00
|
|
|
# New ports collection makefile for: openldap
|
|
|
|
# Date created: 20 Sep 1998
|
|
|
|
# Whom: Lachlan O'Dea
|
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1998-10-10 04:40:45 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 18:14:07 +00:00
|
|
|
PORTNAME= openldap
|
|
|
|
PORTVERSION= 1.2.9
|
1999-02-12 23:57:01 +00:00
|
|
|
CATEGORIES= net databases
|
1999-01-04 15:49:04 +00:00
|
|
|
MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/ \
|
|
|
|
ftp://ftp.net.lut.ac.uk/openldap/openldap-release/ \
|
1999-02-12 23:57:01 +00:00
|
|
|
ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/openldap-release/ \
|
1999-04-20 03:46:00 +00:00
|
|
|
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/ \
|
1999-06-08 22:39:45 +00:00
|
|
|
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/
|
1998-10-10 04:40:45 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= ulmo@earthling.net
|
|
|
|
|
2000-04-02 03:27:54 +00:00
|
|
|
.if defined(WITH_DB2)
|
|
|
|
BUILD_DEPENDS= ${PREFIX}/lib/libdb2.a:${PORTSDIR}/databases/db/
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include/db2 -D_THREAD_SAFE" \
|
|
|
|
LDFLAGS=-L${PREFIX}/lib
|
|
|
|
.endif
|
|
|
|
|
1999-01-02 19:49:20 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2000-04-02 03:27:54 +00:00
|
|
|
CONFIGURE_ARGS= --localstatedir=/var/run --enable-shared --enable-dns
|
|
|
|
|
|
|
|
# Include tcp-wrapper support
|
|
|
|
.if exists(/usr/include/tcpd.h)
|
|
|
|
CONFIGURE_ARGS+= --enable-wrappers
|
|
|
|
.endif
|
1998-10-10 04:40:45 +00:00
|
|
|
|
1999-02-12 23:57:01 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.include "${FILESDIR}/manpages"
|
1998-10-10 04:40:45 +00:00
|
|
|
|
1999-01-02 19:49:20 +00:00
|
|
|
pre-build:
|
|
|
|
cd ${WRKSRC} ; make depend
|
1998-10-10 04:40:45 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
strip ${PREFIX}/bin/ldapadd ${PREFIX}/bin/ldapdelete \
|
|
|
|
${PREFIX}/bin/ldapmodrdn ${PREFIX}/bin/ldapsearch ${PREFIX}/bin/ud \
|
|
|
|
${PREFIX}/libexec/fax500 ${PREFIX}/libexec/go500 \
|
|
|
|
${PREFIX}/libexec/go500gw ${PREFIX}/libexec/in.xfingerd \
|
|
|
|
${PREFIX}/libexec/mail500 ${PREFIX}/libexec/rcpt500 \
|
|
|
|
${PREFIX}/libexec/rp500 ${PREFIX}/libexec/slapd \
|
|
|
|
${PREFIX}/libexec/slurpd ${PREFIX}/sbin/centipede \
|
|
|
|
${PREFIX}/sbin/ldbmcat ${PREFIX}/sbin/ldbmtest ${PREFIX}/sbin/ldif \
|
|
|
|
${PREFIX}/sbin/ldif2id2children ${PREFIX}/sbin/ldif2id2entry \
|
1999-01-02 19:49:20 +00:00
|
|
|
${PREFIX}/sbin/ldif2index ${PREFIX}/sbin/ldif2ldbm \
|
1999-02-12 23:57:01 +00:00
|
|
|
${PREFIX}/bin/ldapmodify ${PREFIX}/bin/ldappasswd
|
1998-10-10 04:40:45 +00:00
|
|
|
|
1999-02-12 23:57:01 +00:00
|
|
|
.include <bsd.port.post.mk>
|