60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
33 lines
871 B
Makefile
33 lines
871 B
Makefile
# Created by: MIHIRA Yoshiro <sanpei@jp.FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= doc
|
|
PORTVERSION= 2.2.3
|
|
CATEGORIES= dns
|
|
MASTER_SITES= LOCAL/sanpei \
|
|
ftp://ftp.shub-internet.org/pub/shub/brad/dns/
|
|
|
|
MAINTAINER= sanpei@FreeBSD.org
|
|
COMMENT= Diagnose unhealthy DNS domains
|
|
|
|
RUN_DEPENDS= dig:${PORTSDIR}/dns/bind-tools
|
|
|
|
USES= tar:bzip2
|
|
|
|
AUX_DIR= lib/doc
|
|
AUX_FILES= doc-1.awk doc-3.awk doc-4.awk INFO RFC.XXXX
|
|
|
|
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} ${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>
|