openbsd-ports/net/doc/Makefile

31 lines
774 B
Makefile

# $OpenBSD: Makefile,v 1.4 2002/06/09 05:37:04 wilfried Exp $
COMMENT= automated domain testing tool
DISTNAME= doc-2.2.3
CATEGORIES= net
NEED_VERSION= 1.496
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.shub-internet.org/pub/shub/brad/dns/
RUN_DEPENDS= :bind-9.*:net/bind9
do-build:
mv ${WRKSRC}/doc ${WRKSRC}/doc.dist
sed "s,y0y0y0,${PREFIX}/libexec/doc/," ${WRKSRC}/doc.dist >${WRKSRC}/doc
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/libexec/doc
${INSTALL_DATA} ${WRKSRC}/*.awk ${PREFIX}/libexec/doc
${INSTALL_PROGRAM} ${WRKSRC}/doc ${PREFIX}/bin/doc
${INSTALL_MAN} ${WRKSRC}/doc.8 ${PREFIX}/man/man8
.include <bsd.port.mk>