blob: 1eb8a68a84a1143b6c6d81b183b7dbb66f5d0502 (
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
|
# New ports collection makefile for: ldapdns
# Date created: 2004-01-06
# Whom: Paul Dlug <paul@aps.org>
#
# $FreeBSD$
#
PORTNAME= ldapdns
PORTVERSION= 2.05
CATEGORIES= dns
MASTER_SITES= http://www.nimh.org/dl/
MAINTAINER= paul@aps.org
COMMENT= LDAP-backed DNS server
RUN_DEPENDS= setuidgid:${PORTSDIR}/sysutils/daemontools \
tcpserver:${PORTSDIR}/sysutils/ucspi-tcp
USE_OPENLDAP= yes
HAS_CONFIGURE= yes
CONFIGURE_ENV= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --prefix=${PREFIX}
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
ALL_TARGET= default
PROGRAMS= ldapdns ldapaxfr
SCRIPTS= ldapdns-conf ldapaxfr-conf domainname.sh
DOCS= AUTHORS CHANGELOG FAQ INSTALL README README.[a-s]*
do-install:
cd ${WRKSRC} && \
${INSTALL_PROGRAM} ${PROGRAMS} ${PREFIX}/bin && \
${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/bin
@${MKDIR} ${EXAMPLESDIR}/admin
${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/admin/* ${EXAMPLESDIR}/admin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
|