diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-01-14 17:17:58 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-01-14 17:17:58 +0000 |
commit | eac7e79a906bcfe3056849b9db51f3fdef98f5f8 (patch) | |
tree | a6e11eaa2c64b07e5742b762b396925631c65e93 /net/ldap2dns/Makefile | |
parent | cafeb2714832094b8160102725b3ef278309cd12 (diff) | |
download | ports-eac7e79a906bcfe3056849b9db51f3fdef98f5f8.tar.gz ports-eac7e79a906bcfe3056849b9db51f3fdef98f5f8.zip |
Notes
Diffstat (limited to 'net/ldap2dns/Makefile')
-rw-r--r-- | net/ldap2dns/Makefile | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/net/ldap2dns/Makefile b/net/ldap2dns/Makefile index 8ab88395f19e..afb91e3f7b0a 100644 --- a/net/ldap2dns/Makefile +++ b/net/ldap2dns/Makefile @@ -6,34 +6,36 @@ # PORTNAME= ldap2dns -PORTVERSION= 0.3.1 -PORTREVISION= 1 +PORTVERSION= 0.3.6 CATEGORIES= net -MASTER_SITES= http://ldap2dns.tiscover.com/ +MASTER_SITES= http://projects.alkaloid.net/dist/ldap2dns/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= gerrit.beine@gmx.de 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_OPENLDAP= yes USE_PERL5= yes +USE_REINPLACE= yes + +MAKE_ENV= PREFIX=${PREFIX} INC=-I${PREFIX}/include LIB=-L${PREFIX}/lib -MAKE_ENV+= PREFIX=$(PREFIX) -MAKE_ENV+= INC=-I$(PREFIX)/include -MAKE_ENV+= LIB=-L$(PREFIX)/lib +post-patch: + @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/ldap2dns.c + @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/ldap2tinydns-conf 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_DATA} ${WRKSRC}/ldap2dns.schema ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/doc/example.ldif ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/doc/README.html ${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/ldap2tinydns-conf ${DATADIR} - ${INSTALL_SCRIPT} ${WRKSRC}/import.pl ${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/scripts/axfr2ldap.pl ${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/scripts/data2ldap.pl ${DATADIR} .include <bsd.port.mk> |