aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2013-11-30 00:06:07 +0800
committermat <mat@FreeBSD.org>2013-11-30 00:06:07 +0800
commitf528d134e0e166285844904b5268b0cf60fec8d3 (patch)
tree4c51152e9684773aeda3c4934dc9b53f7fd786e2 /dns
parent6aad6c53bae3a8f1ff73b994ead7a7db3df149e1 (diff)
downloadfreebsd-ports-graphics-f528d134e0e166285844904b5268b0cf60fec8d3.tar.gz
freebsd-ports-graphics-f528d134e0e166285844904b5268b0cf60fec8d3.tar.zst
freebsd-ports-graphics-f528d134e0e166285844904b5268b0cf60fec8d3.zip
Always install DOCS so that we don't parse bsd.port.mk twice, fixup stupid make
makeplist.
Diffstat (limited to 'dns')
-rw-r--r--dns/yadifa/Makefile4
-rw-r--r--dns/yadifa/pkg-plist2
2 files changed, 1 insertions, 5 deletions
diff --git a/dns/yadifa/Makefile b/dns/yadifa/Makefile
index 85768f7b973..ec2e3dcd5c7 100644
--- a/dns/yadifa/Makefile
+++ b/dns/yadifa/Makefile
@@ -31,14 +31,10 @@ post-configure:
${REINPLACE_CMD} -e 's|^docdir = .*|docdir = ${EXAMPLESDIR}|' ${WRKSRC}/etc/Makefile
${REINPLACE_CMD} -e 's|/usr/local/var|/var|' -e 's|/var/zones|/var/${PORTNAME}|' ${WRKSRC}/etc/yadifad.conf.example
-.include <bsd.port.options.mk>
-
post-install:
${INSTALL_DATA} ${WRKSRC}/etc/yadifad.conf.example ${STAGEDIR}${PREFIX}/etc/
-.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.endif
@${MV} ${STAGEDIR}/var/zones ${STAGEDIR}/var/${PORTNAME}
.include <bsd.port.mk>
diff --git a/dns/yadifa/pkg-plist b/dns/yadifa/pkg-plist
index d1cf20342cf..29c423f8219 100644
--- a/dns/yadifa/pkg-plist
+++ b/dns/yadifa/pkg-plist
@@ -152,7 +152,7 @@ sbin/yadifad
@unexec rmdir >/dev/null 2>&1 /var/yadifa/masters || :
@unexec rmdir >/dev/null 2>&1 /var/yadifa/keys || :
@unexec rmdir >/dev/null 2>&1 /var/yadifa || :
-@dirrmtry %%PORTEXAMPLES%%%%EXAMPLESDIR%%
+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
@dirrmtry include/dnszone
@dirrmtry include/dnsdb
@dirrmtry include/dnscore