diff options
Diffstat (limited to 'dns/doc/Makefile')
-rw-r--r-- | dns/doc/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dns/doc/Makefile b/dns/doc/Makefile new file mode 100644 index 000000000000..d94a90584d8d --- /dev/null +++ b/dns/doc/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: doc +# Version required: 2.1.4 +# Date created: 28 November 1999 +# Whom: MIHIRA Yoshiro <sanpei@jp.FreeBSD.org> +# +# $FreeBSD$ +# + +DISTNAME= doc-2.1.4 +CATEGORIES= net +MASTER_SITES= ftp://ftp.his.com/pub/brad/dns/ + +MAINTAINER= sanpei@jp.FreeBSD.org + +AUX_DIR= lib/doc +AUX_FILES= doc1.awk doc3.awk doc4.awk INFO RFC.XXXX + +MAN8= doc.8 + +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(NOPORTDOCS) + @${INSTALL_DATA} ${WRKSRC}/doc.8 ${PREFIX}/man/man8/doc.8 +.endif + +.include <bsd.port.mk> |