summaryrefslogtreecommitdiff
path: root/dns/dlint/Makefile
blob: a8d03a4fe0febfe39af6dab7e1c088b7c56e7dcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
PORTNAME=	dlint
PORTVERSION=	1.4.1
CATEGORIES=	dns
MASTER_SITES=	https://BSDforge.com/projects/source/dns/dlint/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Lint for DNS zones (Domain Name Server zone verification utility)
WWW=		https://BSDforge.com/projects/dns/dlint

USES=		shebangfix tar:xz
NO_ARCH=	yes
NO_BUILD=	yes

SHEBANG_FILES=	digparse

OPTIONS_DEFINE=	DOCS

do-configure:
	@${REINPLACE_CMD} -e 's:/usr/local/bin:${PREFIX}/sbin:g' ${WRKSRC}/dlint
	@${SED} -e 's:DLINT 1:DLINT 8:g' ${WRKSRC}/dlint.1  >${WRKSRC}/dlint.8

do-install:
	cd ${WRKSRC} ; ${INSTALL_SCRIPT} dlint digparse \
		${STAGEDIR}${PREFIX}/sbin
	${INSTALL_MAN} ${WRKSRC}/dlint.8 ${STAGEDIR}${MANPREFIX}/man/man8
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>