aboutsummaryrefslogtreecommitdiffstats
path: root/dns/ldapdns
diff options
context:
space:
mode:
authormilki <milki@FreeBSD.org>2014-06-04 11:56:51 +0800
committermilki <milki@FreeBSD.org>2014-06-04 11:56:51 +0800
commit43dbe9eca4db7a2c1603355d8a9eac54ecf76ce9 (patch)
tree5928dbad473966ec0529f91852a64de242d976af /dns/ldapdns
parentf007f3a689a6644767b31baceabc773607180cfb (diff)
downloadfreebsd-ports-gnome-43dbe9eca4db7a2c1603355d8a9eac54ecf76ce9.tar.gz
freebsd-ports-gnome-43dbe9eca4db7a2c1603355d8a9eac54ecf76ce9.tar.zst
freebsd-ports-gnome-43dbe9eca4db7a2c1603355d8a9eac54ecf76ce9.zip
Maintainer takeover, stage support for dns/ldapdns
- New maintainer: portmaster@bsdforge.com - Staging support - DOCS, EXAMPLES options PR: 188929 Submitted by: portmaster@bsdforge.com (new maintainer) Approved by: swills (mentor)
Diffstat (limited to 'dns/ldapdns')
-rw-r--r--dns/ldapdns/Makefile26
-rw-r--r--dns/ldapdns/pkg-plist42
2 files changed, 33 insertions, 35 deletions
diff --git a/dns/ldapdns/Makefile b/dns/ldapdns/Makefile
index 2932bcbde92c..c3581201c3aa 100644
--- a/dns/ldapdns/Makefile
+++ b/dns/ldapdns/Makefile
@@ -5,9 +5,9 @@ PORTNAME= ldapdns
PORTVERSION= 2.06
PORTREVISION= 2
CATEGORIES= dns
-MASTER_SITES= #http://www.nimh.org/dl/
+MASTER_SITES= http://bsdforge.com/projects/source/dns/ldapdns/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= portmaster@bsdforge.com
COMMENT= LDAP-backed DNS server
LICENSE= GPLv2
@@ -15,8 +15,7 @@ LICENSE= GPLv2
RUN_DEPENDS= setuidgid:${PORTSDIR}/sysutils/daemontools \
tcpserver:${PORTSDIR}/sysutils/ucspi-tcp
-BROKEN= ${MASTER_SITES} is gone - no public distfiles. \
- port needs upgrade to version 3 (ldapdns.sourceforge.net)
+OPTIONS_DEFINE= DOCS EXAMPLES
USE_OPENLDAP= yes
HAS_CONFIGURE= yes
@@ -31,22 +30,21 @@ PROGRAMS= ldapdns ldapaxfr
SCRIPTS= ldapdns-conf ldapaxfr-conf domainname.sh
DOCS= AUTHORS CHANGELOG FAQ INSTALL README README.[a-s]*
-NO_STAGE= yes
+.include <bsd.port.options.mk>
+
do-install:
.for i in ${PROGRAMS}
- ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin
.endfor
.for i in ${SCRIPTS}
- ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin
.endfor
- @${MKDIR} ${EXAMPLESDIR}/admin
- ${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/admin/* ${EXAMPLESDIR}/admin
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/admin
+ ${INSTALL_DATA} ${WRKSRC}/sample/* ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/admin/* ${STAGEDIR}${EXAMPLESDIR}/admin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
diff --git a/dns/ldapdns/pkg-plist b/dns/ldapdns/pkg-plist
index 9d77f5a7cbea..f3544b805a99 100644
--- a/dns/ldapdns/pkg-plist
+++ b/dns/ldapdns/pkg-plist
@@ -17,24 +17,24 @@ bin/domainname.sh
%%PORTDOCS%%%%DOCSDIR%%/README.how-can-i-help
%%PORTDOCS%%%%DOCSDIR%%/README.quotes
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%EXAMPLESDIR%%/admin/add_basic_zone
-%%EXAMPLESDIR%%/admin/add_generic_record
-%%EXAMPLESDIR%%/admin/add_sub_alias
-%%EXAMPLESDIR%%/admin/add_sub_host
-%%EXAMPLESDIR%%/admin/add_sub_mx
-%%EXAMPLESDIR%%/admin/config.pl
-%%EXAMPLESDIR%%/admin/dhcp_names
-%%EXAMPLESDIR%%/admin/samba_names
-%%EXAMPLESDIR%%/admin/secondary_zone
-%%EXAMPLESDIR%%/admin/set_generic_record
-%%EXAMPLESDIR%%/admin/set_ip_pointer
-%%EXAMPLESDIR%%/admin/set_sub_alias
-%%EXAMPLESDIR%%/admin/set_sub_host
-%%EXAMPLESDIR%%/admin/set_sub_mx
-%%EXAMPLESDIR%%/admin/set_txt
-%%EXAMPLESDIR%%/admin/transfer_zone
-%%EXAMPLESDIR%%/admin/unset_ip_pointer
-%%EXAMPLESDIR%%/axfr
-%%EXAMPLESDIR%%/ldapdns.conf
-@dirrm %%EXAMPLESDIR%%/admin
-@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/admin/add_basic_zone
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/admin/add_generic_record
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/admin/add_sub_alias
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/admin/add_sub_host
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/admin/add_sub_mx
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/admin/config.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/admin/dhcp_names
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/admin/samba_names
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/admin/secondary_zone
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/admin/set_generic_record
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/admin/set_ip_pointer
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/admin/set_sub_alias
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/admin/set_sub_host
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/admin/set_sub_mx
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/admin/set_txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/admin/transfer_zone
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/admin/unset_ip_pointer
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/axfr
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ldapdns.conf
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/admin
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%