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:
parent
095c6deb0c
commit
dff434c86c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335191
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user