aboutsummaryrefslogtreecommitdiff
path: root/net/jwhois
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2000-07-27 05:40:55 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2000-07-27 05:40:55 +0000
commitc331f8e106fc937b555823c70474f21dc209c63a (patch)
tree15040abfd438e8729c23c63e0fe1ec223a736c02 /net/jwhois
parent50d3f281cebb4deb6be39ac609de2b53dd63943a (diff)
downloadports-c331f8e106fc937b555823c70474f21dc209c63a.tar.gz
ports-c331f8e106fc937b555823c70474f21dc209c63a.zip
Notes
Diffstat (limited to 'net/jwhois')
-rw-r--r--net/jwhois/Makefile33
-rw-r--r--net/jwhois/distinfo1
-rw-r--r--net/jwhois/files/patch-aa11
-rw-r--r--net/jwhois/files/patch-ab11
-rw-r--r--net/jwhois/pkg-comment1
-rw-r--r--net/jwhois/pkg-descr6
-rw-r--r--net/jwhois/pkg-plist12
7 files changed, 75 insertions, 0 deletions
diff --git a/net/jwhois/Makefile b/net/jwhois/Makefile
new file mode 100644
index 000000000000..58964110d2bf
--- /dev/null
+++ b/net/jwhois/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: jwhois
+# Date created: 15 Jul 2000
+# Whom: matusita@jp.FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= jwhois
+PORTVERSION= 2.4.1
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_GNU}
+MASTER_SITE_SUBDIR= jwhois
+
+MAINTAINER= matusita@jp.FreeBSD.org
+
+LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --localstatedir=${PREFIX}/var/jwhois
+USE_GMAKE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib"
+
+INSTALL_TARGET= install-strip
+
+MAN1= jwhois.1
+
+post-install:
+ ${MKDIR} ${PREFIX}/var/jwhois
+ ${CHOWN} :nogroup ${PREFIX}/var/jwhois
+ ${CHMOD} g+w ${PREFIX}/var/jwhois
+ ${INSTALL_DATA} ${WRKSRC}/example/jwhois.conf ${PREFIX}/etc
+
+.include <bsd.port.mk>
diff --git a/net/jwhois/distinfo b/net/jwhois/distinfo
new file mode 100644
index 000000000000..dd1543331b7e
--- /dev/null
+++ b/net/jwhois/distinfo
@@ -0,0 +1 @@
+MD5 (jwhois-2.4.1.tar.gz) = ca4716c2a8eea8d1f11a61d928397637
diff --git a/net/jwhois/files/patch-aa b/net/jwhois/files/patch-aa
new file mode 100644
index 000000000000..dd86388b7f27
--- /dev/null
+++ b/net/jwhois/files/patch-aa
@@ -0,0 +1,11 @@
+--- po/Makefile.in.in.dist Sat Nov 27 06:10:41 1999
++++ po/Makefile.in.in Sat Jul 15 22:27:05 2000
+@@ -19,7 +19,7 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ datadir = $(prefix)/@DATADIRNAME@
+-localedir = $(datadir)/locale
++localedir = @localedir@
+ gnulocaledir = $(prefix)/share/locale
+ gettextsrcdir = $(prefix)/share/gettext/po
+ subdir = po
diff --git a/net/jwhois/files/patch-ab b/net/jwhois/files/patch-ab
new file mode 100644
index 000000000000..290c0a0daa20
--- /dev/null
+++ b/net/jwhois/files/patch-ab
@@ -0,0 +1,11 @@
+--- src/cache.c.dist Sun Dec 19 06:46:53 1999
++++ src/cache.c Sat Jul 15 22:52:06 2000
+@@ -119,7 +119,7 @@
+ jconfig_set();
+ j = jconfig_getone("jwhois", "cachefile");
+ if (!j)
+- cfname = LOCALSTATEDIR "/jwhois.db";
++ cfname = LOCALSTATEDIR "/jwhois";
+ else
+ cfname = j->value;
+
diff --git a/net/jwhois/pkg-comment b/net/jwhois/pkg-comment
new file mode 100644
index 000000000000..def79f67d883
--- /dev/null
+++ b/net/jwhois/pkg-comment
@@ -0,0 +1 @@
+An improved WHOIS client capable of selecting server to query
diff --git a/net/jwhois/pkg-descr b/net/jwhois/pkg-descr
new file mode 100644
index 000000000000..a7e3cae1246c
--- /dev/null
+++ b/net/jwhois/pkg-descr
@@ -0,0 +1,6 @@
+Jwhois is a WHOIS client, with a feature of selecting servers to
+query based on a configulation file. Query results are cached to local
+databases. If you make a same query later, the results are extracted
+from databases; you can get your answer quickly.
+
+WWW: http://www.gnu.org/software/jwhois
diff --git a/net/jwhois/pkg-plist b/net/jwhois/pkg-plist
new file mode 100644
index 000000000000..5f69e9a7d830
--- /dev/null
+++ b/net/jwhois/pkg-plist
@@ -0,0 +1,12 @@
+bin/jwhois
+etc/jwhois.conf
+@unexec install-info --delete %D/info/jwhois.info %D/info/dir
+info/jwhois.info
+@exec install-info %D/info/jwhois.info %D/info/dir
+share/locale/sv/LC_MESSAGES/jwhois.mo
+@unexec rmdir %D/share/locale/*/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/* 2>/dev/null || true
+@unexec rmdir %D/share/locale 2>/dev/null || true
+@unexec rm -f %D/var/jwhois/jwhois.db 2>/dev/null || true
+@unexec rmdir %D/var/jwhois 2>/dev/null || true
+@unexec rmdir %D/var 2>/dev/null || true