1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/net/tinyldap/Makefile
Dirk Meyer 615fb92797 - update to 20080425
better ACL support
2008-04-25 20:23:03 +00:00

54 lines
1.3 KiB
Makefile

# 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= 20080425
USE_BZIP2= yes
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
CFLAGS+= -DATTRIBS=512
LIBOWFAT_PORT?= devel/libowfat
TINYLDAP_DATA?= ${PREFIX}/tinyldap/data
SBINFILES= acl addindex bindrequest dumpacls dumpidx idx2ldif parse \
tinyldap_debug tinyldap_standalone
BINFILES= ldapclient ldapclient_str ldapdelete md5password mysql2ldif
DOCFILES= ACL FORMAT GETTING.STARTED README README.security 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>