diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-19 20:02:46 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-19 20:02:46 +0800 |
commit | 2e7a20d3e2211c8a79cef9300fb327f760d78561 (patch) | |
tree | 6a4cb37c1476c64437496e5c08c93aeda2d9c11f | |
parent | ddd8a84441a2f06d7408589d5b34247e40bc17d2 (diff) | |
download | freebsd-ports-gnome-2e7a20d3e2211c8a79cef9300fb327f760d78561.tar.gz freebsd-ports-gnome-2e7a20d3e2211c8a79cef9300fb327f760d78561.tar.zst freebsd-ports-gnome-2e7a20d3e2211c8a79cef9300fb327f760d78561.zip |
Support staging
-rw-r--r-- | dns/doc/Makefile | 17 | ||||
-rw-r--r-- | dns/doc/pkg-plist | 1 |
2 files changed, 7 insertions, 11 deletions
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 <bsd.port.mk> 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 |