# Created by: Paul Dlug # $FreeBSD: head/dns/ldapdns/Makefile 412346 2016-04-01 14:00:51Z mat $ PORTNAME= ldapdns PORTVERSION= 2.07 PORTREVISION= 2 CATEGORIES= dns MASTER_SITES= http://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 OPTIONS_DEFINE= DOCS EXAMPLES USE_OPENLDAP= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_CSTD= gnu89 USES= shebangfix tar:xz 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]* do-install: ${INSTALL_PROGRAM} ${PROGRAMS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/admin ${INSTALL_DATA} ${WRKSRC}/sample/* ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/admin/* ${STAGEDIR}${EXAMPLESDIR}/admin @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include