1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/net/ldap2dns/Makefile
2004-02-16 14:37:39 +00:00

40 lines
1.0 KiB
Makefile

# New ports collection makefile for: ldap2dns
# Date created: 29 September 2003
# Whom: Bruce M Simpson <bms@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ldap2dns
PORTVERSION= 0.3.1
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://ldap2dns.tiscover.com/
MAINTAINER= bms@FreeBSD.org
COMMENT= Maintain DNS zones using an LDAP directory
USE_OPENLDAP= yes
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \
${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap
USE_GMAKE= yes
USE_PERL5= yes
MAKE_ENV+= PREFIX=$(PREFIX)
MAKE_ENV+= INC=-I$(PREFIX)/include
MAKE_ENV+= LIB=-L$(PREFIX)/lib
do-install:
${MKDIR} ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/ldap2dns ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/ldap2dnsd ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/dns.schema ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/example.ldif ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/README.html ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/ldap2tinydns-conf ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/import.pl ${DATADIR}
.include <bsd.port.mk>