blob: fd5cf41d3dad2c8994d0ea9a8768132706fbfa91 (
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
|
# Created by: 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= ports@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}
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
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ! empty(ICONV_LIB)
CONFIGURE_ARGS+=--with-iconv-dir=${LOCALBASE}
.endif
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.post.mk>
|