1999-12-04 20:43:27 +00:00
|
|
|
# New ports collection makefile for: doc
|
|
|
|
# Date created: 28 November 1999
|
|
|
|
# Whom: MIHIRA Yoshiro <sanpei@jp.FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 18:14:07 +00:00
|
|
|
PORTNAME= doc
|
|
|
|
PORTVERSION= 2.1.4
|
1999-12-04 20:43:27 +00:00
|
|
|
CATEGORIES= net
|
2000-11-19 13:11:41 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= sanpei
|
1999-12-04 20:43:27 +00:00
|
|
|
|
2000-08-03 14:28:33 +00:00
|
|
|
MAINTAINER= sanpei@FreeBSD.org
|
2003-02-22 13:24:09 +00:00
|
|
|
COMMENT= Diagnose unhealthy DNS domains
|
1999-12-04 20:43:27 +00:00
|
|
|
|
|
|
|
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>
|