2002-06-27 16:13:07 +02:00
|
|
|
# New ports collection makefile for: ldapdiff
|
|
|
|
# Date created: 15 February 2002
|
|
|
|
# Whom: Christian Brueffer <chris@unixpages.org)
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ldapdiff
|
2002-07-11 14:53:15 +02:00
|
|
|
PORTVERSION= 0.8.3
|
2002-06-27 16:13:07 +02:00
|
|
|
CATEGORIES= net
|
2002-07-11 09:05:01 +02:00
|
|
|
MASTER_SITES= http://webtomware.rhoen.de/ \
|
|
|
|
http://unixpages.org/distfiles/
|
2002-06-27 16:13:07 +02:00
|
|
|
|
|
|
|
MAINTAINER= chris@unixpages.org
|
|
|
|
|
2002-07-11 09:05:01 +02:00
|
|
|
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
|
2002-06-27 16:13:07 +02:00
|
|
|
|
2002-07-11 09:05:01 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
|
|
--with-ldap-dir=${PREFIX} \
|
|
|
|
--with-iconv-dir=${PREFIX}
|
2002-06-27 16:13:07 +02:00
|
|
|
|
2002-07-11 09:05:01 +02:00
|
|
|
.if defined(WITH_OPENLDAP1)
|
|
|
|
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap
|
|
|
|
.else
|
|
|
|
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
|
|
|
|
.endif
|
2002-06-27 16:13:07 +02:00
|
|
|
|
2002-07-11 09:05:01 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ldapdiff ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ldapdiff.conf \
|
|
|
|
${PREFIX}/etc/ldapdiff.conf.sample
|
|
|
|
@${MKDIR} ${DATADIR}/samples
|
|
|
|
.for i in addentry webtomware.init.ldif webtomware.user.ldif
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/samples/${i} ${DATADIR}/samples
|
|
|
|
.endfor
|
|
|
|
@${MKDIR} ${DATADIR}/plugins
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/plugins/ldapskeleton.c ${DATADIR}/plugins
|
2002-06-27 16:13:07 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-07-11 09:05:01 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in CHANGES README TODO ChangeLog
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
2002-06-27 16:13:07 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|