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
|
2000-07-07 18:30:21 +00:00
|
|
|
PORTVERSION= 1.2.11
|
2000-10-30 18:38:54 +00:00
|
|
|
PORTREVISION= 1
|
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
|
|
|
|
|
2000-07-07 18:30:21 +00:00
|
|
|
MAINTAINER= lodea@vet.com.au
|
1998-10-10 04:40:45 +00:00
|
|
|
|
2000-04-02 03:27:54 +00:00
|
|
|
.if defined(WITH_DB2)
|
2000-04-20 20:33:42 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \
|
|
|
|
LDFLAGS=-L${LOCALBASE}/lib
|
2000-05-29 02:36:54 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-ldbm --with-ldbm-api=db2
|
2000-04-02 03:27:54 +00:00
|
|
|
.endif
|
|
|
|
|
2000-07-07 18:30:21 +00:00
|
|
|
USE_LIBTOOL= yes
|
2000-05-29 02:36:54 +00:00
|
|
|
CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns
|
2000-04-02 03:27:54 +00:00
|
|
|
|
|
|
|
# Include tcp-wrapper support
|
|
|
|
.if exists(/usr/include/tcpd.h)
|
|
|
|
CONFIGURE_ARGS+= --enable-wrappers
|
|
|
|
.endif
|
1998-10-10 04:40:45 +00:00
|
|
|
|
2000-10-30 18:53:28 +00:00
|
|
|
BINS= bin/ldapadd \
|
|
|
|
bin/ldapdelete \
|
|
|
|
bin/ldapmodrdn \
|
|
|
|
bin/ldapsearch \
|
|
|
|
bin/ud \
|
|
|
|
libexec/fax500 \
|
|
|
|
libexec/go500 \
|
|
|
|
libexec/go500gw \
|
|
|
|
libexec/in.xfingerd \
|
|
|
|
libexec/mail500 \
|
|
|
|
libexec/rcpt500 \
|
|
|
|
libexec/rp500 \
|
|
|
|
libexec/slapd \
|
|
|
|
libexec/slurpd \
|
|
|
|
sbin/centipede \
|
|
|
|
sbin/ldbmcat \
|
|
|
|
sbin/ldbmtest \
|
|
|
|
sbin/ldif \
|
|
|
|
sbin/ldif2id2children \
|
|
|
|
sbin/ldif2id2entry \
|
|
|
|
sbin/ldif2index \
|
|
|
|
sbin/ldif2ldbm \
|
|
|
|
bin/ldapmodify \
|
|
|
|
bin/ldappasswd
|
|
|
|
|
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:
|
2000-10-30 18:53:28 +00:00
|
|
|
cd ${WRKSRC} ; ${MAKE} depend
|
1998-10-10 04:40:45 +00:00
|
|
|
|
2000-09-25 05:43:46 +00:00
|
|
|
post-build:
|
|
|
|
${SED} 's,@@PREFIX@@,${PREFIX},g' ${FILESDIR}/slapd.sh >${WRKDIR}/slapd.sh
|
|
|
|
|
1998-10-10 04:40:45 +00:00
|
|
|
post-install:
|
2000-10-30 18:53:28 +00:00
|
|
|
.for f in ${BINS}
|
|
|
|
strip ${PREFIX}/${f}
|
|
|
|
.endfor
|
2000-09-25 05:43:46 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
|
1998-10-10 04:40:45 +00:00
|
|
|
|
1999-02-12 23:57:01 +00:00
|
|
|
.include <bsd.port.post.mk>
|