From 2e7a20d3e2211c8a79cef9300fb327f760d78561 Mon Sep 17 00:00:00 2001 From: ehaupt Date: Wed, 19 Feb 2014 12:02:46 +0000 Subject: Support staging --- dns/doc/Makefile | 17 ++++++----------- dns/doc/pkg-plist | 1 + 2 files changed, 7 insertions(+), 11 deletions(-) (limited to 'dns') diff --git a/dns/doc/Makefile b/dns/doc/Makefile index 6344c361e3ce..22d732d9f756 100644 --- a/dns/doc/Makefile +++ b/dns/doc/Makefile @@ -16,22 +16,17 @@ USE_BZIP2= yes AUX_DIR= lib/doc AUX_FILES= doc-1.awk doc-3.awk doc-4.awk INFO RFC.XXXX -MAN8= doc.8 - -NO_STAGE= yes do-build: @${MV} ${WRKSRC}/doc ${WRKSRC}/doc.org @${SED} -e 's|$${PREFIX}|${PREFIX}|g' -e 's|$${AUX_DIR}|${AUX_DIR}|g' ${WRKSRC}/doc.org \ > ${WRKSRC}/doc do-install: - @${MKDIR} ${PREFIX}/${AUX_DIR} - @${INSTALL_SCRIPT} ${WRKSRC}/doc ${PREFIX}/bin/doc - @for file in ${AUX_FILES}; do \ - ${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/${AUX_DIR}/ ; \ - done -.if !defined(NO_INSTALL_MANPAGES) - @${INSTALL_DATA} ${WRKSRC}/doc.8 ${PREFIX}/man/man8/doc.8 -.endif + @${MKDIR} ${STAGEDIR}${PREFIX}/${AUX_DIR} + @${INSTALL_SCRIPT} ${WRKSRC}/doc ${STAGEDIR}${PREFIX}/bin/doc +.for f in ${AUX_FILES} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/${AUX_DIR} +.endfor + @${INSTALL_DATA} ${WRKSRC}/doc.8 ${STAGEDIR}${PREFIX}/man/man8/doc.8 .include diff --git a/dns/doc/pkg-plist b/dns/doc/pkg-plist index 65ccff37236d..0ffd82aadf9a 100644 --- a/dns/doc/pkg-plist +++ b/dns/doc/pkg-plist @@ -4,4 +4,5 @@ lib/doc/doc-3.awk lib/doc/doc-4.awk lib/doc/INFO lib/doc/RFC.XXXX +man/man8/doc.8.gz @dirrm lib/doc -- cgit