summaryrefslogtreecommitdiff
path: root/dns/sheerdns/Makefile
blob: 744460722403922afe9903169856a7d48319c4b3 (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
30
PORTNAME=	sheerdns
PORTVERSION=	1.04
CATEGORIES=	dns
MASTER_SITES=	https://BSDforge.com/projects/source/dns/sheerdns/

MAINTAINER=	portmaster@BSDforge.com
COMMENT=	Lightweight, simple, and fast master DNS server
WWW=		https://BSDforge.com/projects/dns/sheerdns/

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		gmake tar:xz

WRKSRC=		${WRKDIR}/${PORTNAME}

PLIST_FILES=	man/man8/sheerdns.8.gz sbin/sheerdns sbin/sheerdnshash
PORTDOCS=	sheerdns.html sheerdns.ps

OPTIONS_DEFINE=	DOCS

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/sheerdns
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/sheerdnshash

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>