1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

Always install DOCS so that we don't parse bsd.port.mk twice, fixup stupid make

makeplist.
This commit is contained in:
Mathieu Arnold 2013-11-29 16:06:07 +00:00
parent 095c6deb0c
commit dff434c86c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335191
2 changed files with 1 additions and 5 deletions

View File

@ -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>

View File

@ -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