blob: 24c3d5d56d3461b113ebeaa866c8de8ea9068501 (
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
|
# Created by: Paul Dlug <paul@aps.org>
PORTNAME= ldapdns
PORTVERSION= 2.07
PORTREVISION= 4
CATEGORIES= dns
MASTER_SITES= https://BSDforge.com/projects/source/dns/ldapdns/
MAINTAINER= portmaster@bsdforge.com
COMMENT= LDAP-backed DNS server
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= setuidgid:sysutils/daemontools \
tcpserver:sysutils/ucspi-tcp
USES= localbase:ldflags shebangfix tar:xz
USE_OPENLDAP= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
USE_CSTD= gnu89
SHEBANG_FILES= admin/*
ALL_TARGET= default
PROGRAMS= ldapdns ldapaxfr
SCRIPTS= ldapdns-conf ldapaxfr-conf domainname.sh
PORTDOCS= AUTHORS CHANGELOG FAQ INSTALL README README.[a-s]*
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_PROGRAM} ${PROGRAMS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/admin
${INSTALL_DATA} ${WRKSRC}/sample/* ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/admin/* ${STAGEDIR}${EXAMPLESDIR}/admin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|