aboutsummaryrefslogtreecommitdiff
path: root/net/whois
diff options
context:
space:
mode:
authorDanilo G. Baio <dbaio@FreeBSD.org>2017-07-29 16:03:54 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2017-07-29 16:03:54 +0000
commit59e0fa333f6252123770813d07f6179c5c1560b5 (patch)
tree425acdc34d52ddcc7747d929ace3a6e3393775a3 /net/whois
parent118f6c8d5a800a73224e5556985f4ac3e38d98ef (diff)
downloadports-59e0fa333f6252123770813d07f6179c5c1560b5.tar.gz
ports-59e0fa333f6252123770813d07f6179c5c1560b5.zip
net/whois: Update to 5.2.17
While here: Convert to options target helper Switch to Github release format Update license PR: 221078 Submitted by: Marco Steinbach <coco@executive-computing.de> (maintainer)
Notes
Notes: svn path=/head/; revision=446882
Diffstat (limited to 'net/whois')
-rw-r--r--net/whois/Makefile13
-rw-r--r--net/whois/distinfo5
2 files changed, 8 insertions, 10 deletions
diff --git a/net/whois/Makefile b/net/whois/Makefile
index f1f66505d256..62e85a32db56 100644
--- a/net/whois/Makefile
+++ b/net/whois/Makefile
@@ -2,14 +2,14 @@
# $FreeBSD$
PORTNAME= whois
-PORTVERSION= 5.1.5
-PORTREVISION= 1
+PORTVERSION= 5.2.17
+DISTVERSIONPREFIX= v
CATEGORIES= net
MAINTAINER= coco@executive-computing.de
COMMENT= Marco d'Itri whois client
-LICENSE= GPLv2
+LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= iconv gmake perl5
@@ -23,9 +23,6 @@ NLS_USES= gettext
USE_GITHUB= yes
GH_ACCOUNT= rfc1036
-GH_TAGNAME= d346ca6
-
-.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e "s|%%MWHOISCONF%%|${PREFIX}/etc/mwhois.conf|g" ${WRKSRC}/whois.1
@@ -35,11 +32,11 @@ post-patch:
@${REINPLACE_CMD} -e "s|%%MWHOIS%%|mwhois|g" ${WRKSRC}/whois.conf.5
@${REINPLACE_CMD} -e "s|%%MWHOISCONF%%|${PREFIX}/etc/mwhois.conf|g" ${WRKSRC}/whois.conf.5
@${REINPLACE_CMD} -e "s|%%MWHOISCONF%%|${PREFIX}/etc/mwhois.conf|g" ${WRKSRC}/config.h
-.if ! ${PORT_OPTIONS:MNLS}
+
+post-patch-NLS-off:
@${REINPLACE_CMD} -e "s| pos||" -e "s| install-pos||" \
-e "s|-lintl||" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s|# define ENABLE_NLS||" ${WRKSRC}/config.h
-.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mwhois
diff --git a/net/whois/distinfo b/net/whois/distinfo
index 6be6577b7b9e..d5078a71aceb 100644
--- a/net/whois/distinfo
+++ b/net/whois/distinfo
@@ -1,2 +1,3 @@
-SHA256 (rfc1036-whois-5.1.5-d346ca6_GH0.tar.gz) = ebdd0afa9a29ee99eee1a81bfa3802eec9672643f9e08e888bb260b392513a74
-SIZE (rfc1036-whois-5.1.5-d346ca6_GH0.tar.gz) = 90812
+TIMESTAMP = 1501341653
+SHA256 (rfc1036-whois-v5.2.17_GH0.tar.gz) = c3c47b139bafc4348d6794a0cca311e3adfb4aae0597f1279faa73b749ecf0d2
+SIZE (rfc1036-whois-v5.2.17_GH0.tar.gz) = 99134