mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
a3a0715f38
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here Reviewed by: zeising
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
# New ports collection makefile for: ldapdiff
|
|
# Date created: 15 February 2002
|
|
# Whom: Christian Brueffer <chris@unixpages.org)
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ldapdiff
|
|
PORTVERSION= 1.4.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://launchpadlibrarian.net/20391352/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}_src
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= sylvio@FreeBSD.org
|
|
COMMENT= A utility for patching LDAP directories using LDIF files
|
|
|
|
USES= iconv
|
|
USE_OPENLDAP= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --prefix=${LOCALBASE} \
|
|
--with-ldap-dir=${LOCALBASE} \
|
|
--with-iconv-dir=${LOCALBASE}
|
|
SAMPLES= addentry.sh webtomware_without_jpeg.user.ldif \
|
|
webtomware.init.ldif webtomware.user.ldif
|
|
MAN1= ldapdiff.1
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
PORTDOCS= CHANGES ChangeLog README TODO
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ldapdiff ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
|
|
${INSTALL_DATA} ${WRKSRC}/ldapdiff.conf.sample ${PREFIX}/etc/
|
|
@${MKDIR} ${DATADIR}/samples
|
|
.for sample in ${SAMPLES}
|
|
${INSTALL_DATA} ${WRKSRC}/samples/${sample} ${DATADIR}/samples
|
|
.endfor
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for docs in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|