aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-03-02 06:21:50 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-03-02 06:21:50 +0000
commit34019e890dfa6957d754e70e5e4d1eada772c9dd (patch)
treea5c5ba1cb78b418ad805903b64bdea54b4fa1206
parentb309d8545d91c7ecadfcec26cbce424981ef67a5 (diff)
downloadports-34019e890dfa6957d754e70e5e4d1eada772c9dd.tar.gz
ports-34019e890dfa6957d754e70e5e4d1eada772c9dd.zip
Notes
-rw-r--r--net/whois/Makefile3
-rw-r--r--net/whois/distinfo6
-rw-r--r--net/whois/files/patch-aa12
3 files changed, 11 insertions, 10 deletions
diff --git a/net/whois/Makefile b/net/whois/Makefile
index 9689d3cf675e..e7fbf1617780 100644
--- a/net/whois/Makefile
+++ b/net/whois/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= whois
-PORTVERSION= 4.7.22
+PORTVERSION= 4.7.24
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
DISTNAME= ${PORTNAME}_${PORTVERSION}
@@ -37,6 +37,7 @@ NO_PO= yes
post-patch:
@${REINPLACE_CMD} -e "s|prefix\=/usr/local|prefix\=${PREFIX}|g ; \
s|/usr/local|${LOCALBASE}|g ; \
+ s|share/man/|man/|g ; \
s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s|/usr/share|${PREFIX}/share|g" ${WRKSRC}/po/Makefile
@if [ -n "${NO_PO}" ]; \
diff --git a/net/whois/distinfo b/net/whois/distinfo
index 2db3699e8e27..088535d1a2f9 100644
--- a/net/whois/distinfo
+++ b/net/whois/distinfo
@@ -1,3 +1,3 @@
-MD5 (whois_4.7.22.tar.gz) = 0e91c899a836be0f0cdc4a8ed5af6479
-SHA256 (whois_4.7.22.tar.gz) = 9acdc5b93ad9145dd2da47ea592aeb5b2b170bdac29ca780b186bd4249b3b3a9
-SIZE (whois_4.7.22.tar.gz) = 60511
+MD5 (whois_4.7.24.tar.gz) = 479ebc79d1e8189e16ab51b4d8981529
+SHA256 (whois_4.7.24.tar.gz) = 9b2841222f122670850d157fd76228aa0942f2f7c19694262904439f5ba50fe0
+SIZE (whois_4.7.24.tar.gz) = 61416
diff --git a/net/whois/files/patch-aa b/net/whois/files/patch-aa
index c5f5e71efe72..0982f8a4c779 100644
--- a/net/whois/files/patch-aa
+++ b/net/whois/files/patch-aa
@@ -1,5 +1,5 @@
---- Makefile.orig Mon Nov 28 20:06:56 2005
-+++ Makefile Mon Nov 28 20:06:38 2005
+--- Makefile.orig Thu Jan 10 22:19:40 2008
++++ Makefile Thu Jan 10 22:19:38 2008
@@ -6,23 +6,23 @@
#whois_LDADD += -lnsl -lsocket
@@ -31,10 +31,10 @@
PERL := perl
-@@ -49,9 +49,8 @@
- $(PERL) -w make_tld_serv.pl < tld_serv_list > tld_serv.h
-
+@@ -55,9 +55,8 @@
install: whois
+ install -d $(BASEDIR)$(prefix)/bin/
+ install -d $(BASEDIR)$(prefix)/share/man/man1/
- install -m 0755 whois $(BASEDIR)$(prefix)/bin/
- install -m 0644 whois.1 $(BASEDIR)$(prefix)/share/man/man1/
- cd po && $(MAKE) $@
@@ -42,4 +42,4 @@
+ install -m 0644 whois.1 ${PREFIX}/man/man1/mwhois.1
install-mkpasswd: mkpasswd
- install -m 0755 mkpasswd $(BASEDIR)$(prefix)/bin/
+ install -d $(BASEDIR)$(prefix)/bin/