summaryrefslogtreecommitdiff
path: root/net-mgmt/asused/Makefile
blob: fc2e1f9287318df4643dd44f71c9fedfe1d5ef22 (plain) (blame)
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
# New ports collection makefile for:	asused
# Date created:		2006-07-19
# Whom:			Babak Farrokhi <babak@farrokhi.net>
#
# $FreeBSD$
#

PORTNAME=	asused
PORTVERSION=	3.72
CATEGORIES=	net-mgmt perl5
MASTER_SITES=	ftp://ftp.ripe.net/tools/ \
		http://ftp.belnet.be/pub/mirror/ftp.ripe.net/ripe/tools/
DISTNAME=	${PORTNAME}-${PORTVERSION}_whois_new_query_fix

MAINTAINER=	farrokhi@FreeBSD.org
COMMENT=	Command-line tool to run a check on the usage of the RIPE Whois DB

PERL_CONFIGURE=	yes

MAN1=		asused.1
MAN3=		ArinWhois.3 NCC::CountryCode.3 NCC::RipeDelegations.3 \
		Net::RIPEWhois::in.3 Reg::Asused.3 RipeWhois.3 Whois.3 asused.3

post-patch:
	@${REINPLACE_CMD} -e 's|asused\.conf|${PREFIX}/etc/asused\.conf|g' \
		${WRKSRC}/asused.PL

post-install:
	@${INSTALL_DATA} ${WRKSRC}/asused.conf ${PREFIX}/etc/asused.conf.dist
.if !exists(${PREFIX}/etc/asused.conf)
	@${INSTALL_DATA} ${WRKSRC}/asused.conf ${PREFIX}/etc/asused.conf
.endif

.include <bsd.port.mk>