summaryrefslogtreecommitdiff
path: root/net/openldap20/Makefile
blob: 5a3db43bf9ef04dac2e9c11cfea4a0e8ba3dfa29 (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
# New ports collection makefile for:    openldap
# Version required:     1.0.1
# Date created:         20 Sep 1998
# Whom:                 Lachlan O'Dea
#
# $Id$
#

DISTNAME=       openldap-1.0.1
CATEGORIES=	net
MASTER_SITES=	ftp://ftp.OpenLDAP.org/pub/OpenLDAP/
EXTRACT_SUFX=	.tgz

MAINTAINER=     ulmo@earthling.net

WRKSRC=		${WRKDIR}/ldap
MANCOMPRESSED=	yes

.include "files/manpages"

MAKE_ENV=	LDAP_PREFIX=${PREFIX} \
		EXTRACFLAGS="${CFLAGS}"

pre-patch:
	${CP} ${WRKSRC}/Make-common.dist ${WRKSRC}/Make-common

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 \
	${PREFIX}/sbin/ldif2index ${PREFIX}/sbin/ldif2ldbm

.include <bsd.port.mk>