2004-01-06 08:19:47 +00:00
|
|
|
# New ports collection makefile for: ldapdns
|
|
|
|
# Date created: 2004-01-06
|
|
|
|
# Whom: Paul Dlug <paul@aps.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ldapdns
|
2006-06-16 08:23:10 +00:00
|
|
|
PORTVERSION= 2.06
|
2011-02-25 01:32:17 +00:00
|
|
|
PORTREVISION= 2
|
2004-01-06 08:19:47 +00:00
|
|
|
CATEGORIES= dns
|
|
|
|
MASTER_SITES= http://www.nimh.org/dl/
|
|
|
|
|
2009-11-27 22:52:30 +00:00
|
|
|
MAINTAINER= sylvio@FreeBSD.org
|
2004-01-06 08:19:47 +00:00
|
|
|
COMMENT= LDAP-backed DNS server
|
|
|
|
|
|
|
|
RUN_DEPENDS= setuidgid:${PORTSDIR}/sysutils/daemontools \
|
|
|
|
tcpserver:${PORTSDIR}/sysutils/ucspi-tcp
|
|
|
|
|
2011-05-20 19:49:23 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2004-01-06 08:19:47 +00:00
|
|
|
USE_OPENLDAP= yes
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
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:
|
2005-10-16 19:02:02 +00:00
|
|
|
.for i in ${PROGRAMS}
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin
|
|
|
|
.endfor
|
|
|
|
.for i in ${SCRIPTS}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/bin
|
|
|
|
.endfor
|
2004-01-06 08:19:47 +00:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}/admin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/admin/* ${EXAMPLESDIR}/admin
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2005-10-16 19:02:02 +00:00
|
|
|
.for i in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
2004-01-06 08:19:47 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|