summaryrefslogtreecommitdiffstats
path: root/dns/domtools/Makefile
blob: 2c01de1e2dab92a2081e15fc40c2f8245b884e82 (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
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:	domtools
# Date created:				12 Jun 1999
# Whom:					alexp
#
# $FreeBSD$
#

PORTNAME=	domtools
PORTVERSION=	1.6.0
CATEGORIES=	dns
MASTER_SITES=	http://www.domtools.com/pub/ \
		http://www.ussrback.com/UNIX/utilities/ \
		http://packetstormsecurity.nl/UNIX/utilities/
DISTNAME=	${PORTNAME}${PORTVERSION}

MAINTAINER=	veers@disturbed.net
COMMENT=	Set of utilities for extracting information from DNS records

USE_PERL5=	YES

NO_BUILD=	YES
WRKSRC=		${WRKDIR}/domtools${PORTVERSION}/

MAKE_ENV+=	PDEST=${PREFIX}

# XXX - patches/patch-aa modifies Makefile
# and so does the post-patch target

post-patch:

	${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.old
	${SED} -e 's#/usr/bin/perl#${PERL5}#' -e '/^PDEST=/d' \
	< ${WRKSRC}/Makefile.old > ${WRKSRC}/Makefile

post-install:

	${MKDIR} ${PREFIX}/domtools/lib/zonecache

.include <bsd.port.mk>
OpenPOWER on IntegriCloud