2013-09-20 22:10:23 +00:00
|
|
|
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
2007-08-28 17:15:10 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gwhois
|
2012-11-26 12:03:14 +00:00
|
|
|
PORTVERSION= 20120626
|
2007-08-28 17:15:10 +00:00
|
|
|
CATEGORIES= net
|
2015-11-28 15:33:32 +00:00
|
|
|
MASTER_SITES= http://julijane.de/gwhois/
|
2007-08-28 17:15:10 +00:00
|
|
|
DISTNAME= ${PORTNAME}_${DISTVERSION}
|
|
|
|
|
2014-06-11 18:55:29 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2007-08-28 17:15:10 +00:00
|
|
|
COMMENT= Flexible whois client and proxy
|
|
|
|
|
2015-12-31 10:58:10 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2016-04-01 14:16:16 +00:00
|
|
|
RUN_DEPENDS= p5-libwww>=5.805:www/p5-libwww \
|
|
|
|
p5-Net-LibIDN>=0:dns/p5-Net-LibIDN \
|
|
|
|
lynx:www/lynx \
|
|
|
|
curl:ftp/curl
|
2007-08-28 17:15:10 +00:00
|
|
|
|
2014-06-23 09:32:16 +00:00
|
|
|
USES= perl5 shebangfix
|
2013-09-06 14:30:23 +00:00
|
|
|
USE_PERL5= run
|
2014-06-23 09:32:16 +00:00
|
|
|
SHEBANG_FILES= gwhois
|
2007-08-28 17:15:10 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
|
2015-12-31 10:58:10 +00:00
|
|
|
NO_BUILD= yes
|
|
|
|
NO_ARCH= yes
|
|
|
|
|
2014-06-23 09:32:16 +00:00
|
|
|
PLIST_FILES= bin/${PORTNAME} man/man1/gwhois.1.gz %%DATADIR%%/pattern
|
2007-08-28 17:15:10 +00:00
|
|
|
PORTDOCS= TODO README.RIPE
|
|
|
|
|
2014-07-04 21:44:04 +00:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2007-08-28 17:15:10 +00:00
|
|
|
post-patch:
|
2015-12-31 10:58:10 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|/etc/gwhois|${DATADIR}|g'\
|
2007-08-28 17:15:10 +00:00
|
|
|
${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.1
|
|
|
|
|
|
|
|
do-install:
|
2014-07-04 21:44:04 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pattern ${STAGEDIR}${DATADIR}
|
2015-12-31 10:58:10 +00:00
|
|
|
|
|
|
|
do-install-DOCS-on:
|
2014-07-04 21:44:04 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
2007-08-28 17:15:10 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|