1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

* Add more complete PORTDOCS, namely the same files the base installs

* This fixes deinstall when PORT_REPLACES_BASE
This commit is contained in:
Doug Barton 2002-11-16 20:18:42 +00:00
parent 2090d595c2
commit bb708d2cd0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70261
4 changed files with 20 additions and 2 deletions

View File

@ -61,12 +61,15 @@ post-install:
cd ${WRKDIR}/doc/man && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
${MAKEFILE} clean all ${INSTALL_TARGET}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/html
@${MKDIR} ${DOCSDIR}/html ${DOCSDIR}/misc
${INSTALL_DATA} ${WRKDIR}/doc/html/*.html ${DOCSDIR}/html
${CP} -Rp ${WRKDIR}/src/conf ${DOCSDIR}
.for file in CHANGES DNSSEC LICENSE LICENSE_RSA README SUPPORT TODO
${INSTALL_DATA} ${WRKDIR}/src/${file} ${DOCSDIR}
.endfor
.for file in DynamicUpdate FAQ.* *.txt
${INSTALL_DATA} ${WRKDIR}/doc/misc/${file} ${DOCSDIR}/misc
.endfor
.endif
.include <bsd.port.mk>

View File

@ -68,6 +68,11 @@ sbin/ndc
%%PORTDOCS%%share/doc/bind/html/server.html
%%PORTDOCS%%share/doc/bind/html/trusted-keys.html
%%PORTDOCS%%share/doc/bind/html/zone.html
%%PORTDOCS%%share/doc/bind/misc/DynamicUpdate
%%PORTDOCS%%share/doc/bind/misc/FAQ.1of2
%%PORTDOCS%%share/doc/bind/misc/FAQ.2of2
%%PORTDOCS%%share/doc/bind/misc/rfc2317-notes.txt
%%PORTDOCS%%share/doc/bind/misc/style.txt
share/misc/nslookup.help
@dirrm include/bind/arpa
@dirrm include/bind/isc
@ -80,4 +85,5 @@ share/misc/nslookup.help
%%PORTDOCS%%@dirrm share/doc/bind/conf/workstation
%%PORTDOCS%%@dirrm share/doc/bind/conf
%%PORTDOCS%%@dirrm share/doc/bind/html
%%PORTDOCS%%@dirrm share/doc/bind/misc
%%PORTDOCS%%@dirrm share/doc/bind/

View File

@ -61,12 +61,15 @@ post-install:
cd ${WRKDIR}/doc/man && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
${MAKEFILE} clean all ${INSTALL_TARGET}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/html
@${MKDIR} ${DOCSDIR}/html ${DOCSDIR}/misc
${INSTALL_DATA} ${WRKDIR}/doc/html/*.html ${DOCSDIR}/html
${CP} -Rp ${WRKDIR}/src/conf ${DOCSDIR}
.for file in CHANGES DNSSEC LICENSE LICENSE_RSA README SUPPORT TODO
${INSTALL_DATA} ${WRKDIR}/src/${file} ${DOCSDIR}
.endfor
.for file in DynamicUpdate FAQ.* *.txt
${INSTALL_DATA} ${WRKDIR}/doc/misc/${file} ${DOCSDIR}/misc
.endfor
.endif
.include <bsd.port.mk>

View File

@ -68,6 +68,11 @@ sbin/ndc
%%PORTDOCS%%share/doc/bind/html/server.html
%%PORTDOCS%%share/doc/bind/html/trusted-keys.html
%%PORTDOCS%%share/doc/bind/html/zone.html
%%PORTDOCS%%share/doc/bind/misc/DynamicUpdate
%%PORTDOCS%%share/doc/bind/misc/FAQ.1of2
%%PORTDOCS%%share/doc/bind/misc/FAQ.2of2
%%PORTDOCS%%share/doc/bind/misc/rfc2317-notes.txt
%%PORTDOCS%%share/doc/bind/misc/style.txt
share/misc/nslookup.help
@dirrm include/bind/arpa
@dirrm include/bind/isc
@ -80,4 +85,5 @@ share/misc/nslookup.help
%%PORTDOCS%%@dirrm share/doc/bind/conf/workstation
%%PORTDOCS%%@dirrm share/doc/bind/conf
%%PORTDOCS%%@dirrm share/doc/bind/html
%%PORTDOCS%%@dirrm share/doc/bind/misc
%%PORTDOCS%%@dirrm share/doc/bind/