blob: 3a276a1af150e4c07ec27ab2874f9167de68f6f6 (
plain)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# New ports collection makefile for: tinyldap
# Date Created: 26 Feb 2004
# Whom: dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#
PORTNAME= tinyldap
PORTVERSION= 0.0.${SNAPSHOT}
PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.dinoex.de/pub/tinyldap/
DISTNAME= ${PORTNAME}-${SNAPSHOT}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= A small LDAP implementation
BUILD_DEPENDS+= ${LOCALBASE}/lib/libowfat.a:${PORTSDIR}/${LIBOWFAT_PORT}
SNAPSHOT= 20040323
USE_REINPLACE= yes
USE_BZIP2= yes
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
CFLAGS+= -DATTRIBS=512
LIBOWFAT_PORT?= devel/libowfat
TINYLDAP_DATA?= ${PREFIX}/tinyldap/data
SBINFILES= dumpidx idx2ldif addindex parse tinyldap_debug \
tinyldap_standalone
BINFILES= ldapclient ldapclient_str md5password
DOCFILES= FORMAT GETTING.STARTED README RFCs THANKS TODO
post-patch:
${TOUCH} ${WRKSRC}/alloca.h
${REINPLACE_CMD} -e "s|\"data\"|\"${TINYLDAP_DATA}\"|" \
${WRKSRC}/tinyldap.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tinyldap ${PREFIX}/libexec/
.for i in ${BINFILES}
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin/
.endfor
.for i in ${SBINFILES}
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/sbin/
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
.endfor
.endif
.include <bsd.port.mk>
|