aboutsummaryrefslogtreecommitdiff
path: root/net/whois/Makefile
blob: cdab3b1076e8a8e91f7c284671124484a48069fe (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
35
36
# New ports collection makefile for:   whois
# Date created:                02 Oct 2003
# Whom:                        Filippo Natali <filippo@widestore.net>
#
# $FreeBSD$
#

PORTNAME=	whois
PORTVERSION=	5.0.11
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_DEBIAN_POOL}
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	lapo@lapo.it
COMMENT=	Marco d'Itri whois client

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		iconv gmake perl5
USE_PERL5=	build

WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}

MAKE_ARGS=	OPTS=""

MAN1=		mwhois.1 mkpasswd.1

PLIST_FILES=	bin/mwhois bin/mkpasswd

post-patch:
	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g ; \
		s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/Makefile
	@${REINPLACE_CMD} -e "s|/usr/share|${PREFIX}/share|g" ${WRKSRC}/po/Makefile

.include <bsd.port.mk>