freebsd-ports/net/gwhois/Makefile
Andrew Pantyukhin 758e9afaad Add port net/gwhois:
gwhois is a generic whois client. It strives to know for all existing
tlds and all ip address range the appropiate whois server to ask. You
can simple call gwhois with a query for some domain or some ip and it
will ask the right server for you! It can even query webforms which
are unfortunately the only query type supported by many bad nics.

gwhois can also be used as a whois server. You can call it from the
inetd and make it accessable via a normal standard whois client. This
allows for example using a windows client and still make use of the
enhanced features of gwhois.

WWW: http://freshmeat.net/projects/gwhois/

Based on:	pkgsrc-wip, Gentoo Portage
2007-08-28 17:15:10 +00:00

44 lines
1.1 KiB
Makefile

# New ports collection makefile for: gwhois
# Date created: 28 August 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gwhois
PORTVERSION= 20070822
CATEGORIES= net
MASTER_SITES= http://gwhois.de/gwhois/ CENKES
DISTNAME= ${PORTNAME}_${DISTVERSION}
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Flexible whois client and proxy
RUN_DEPENDS= p5-libwww>=5.805:${PORTSDIR}/www/p5-libwww \
lynx:${PORTSDIR}/www/lynx \
curl:${PORTSDIR}/ftp/curl
CONFLICTS= whois-[0-9]*
NO_BUILD= yes
USE_PERL5_RUN= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
PLIST_FILES= bin/${PORTNAME} %%DATADIR%%/pattern
PLIST_DIRS= %%DATADIR%%
MAN1= ${PORTNAME}.1
PORTDOCS= TODO README.RIPE
post-patch:
@${REINPLACE_CMD} -e 's|/etc/gwhois|${DATADIR}|g'\
${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.1
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
@${INSTALL} -d ${DATADIR}/
@${INSTALL_DATA} ${WRKSRC}/pattern ${DATADIR}/
.ifndef NOPORTDOCS
@${INSTALL} -d ${DOCSDIR}/
@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
.include <bsd.port.mk>