diff options
author | oliver <oliver@FreeBSD.org> | 2003-10-04 22:36:43 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2003-10-04 22:36:43 +0800 |
commit | 52c4819f931d6e315145d3f4f857af7533655f78 (patch) | |
tree | fb8bb44b47d862293bbea3497bc5a2295104c24d | |
parent | 6224c801c6b20153ea7e2f16dc8b8d27645a6307 (diff) | |
download | freebsd-ports-gnome-52c4819f931d6e315145d3f4f857af7533655f78.tar.gz freebsd-ports-gnome-52c4819f931d6e315145d3f4f857af7533655f78.tar.zst freebsd-ports-gnome-52c4819f931d6e315145d3f4f857af7533655f78.zip |
Add whois 4.6.7, marco d'Itri whois client.
PR: 57530
Submitted by: Filippo Natali <filippo@widestore.net>
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/whois/Makefile | 32 | ||||
-rw-r--r-- | net/whois/distinfo | 1 | ||||
-rw-r--r-- | net/whois/files/patch-aa | 38 | ||||
-rw-r--r-- | net/whois/files/patch-ab | 12 | ||||
-rw-r--r-- | net/whois/pkg-descr | 6 | ||||
-rw-r--r-- | net/whois/pkg-plist | 25 |
7 files changed, 115 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 9cf3b64ff3d4..6dbb3e068d50 100644 --- a/net/Makefile +++ b/net/Makefile @@ -689,6 +689,7 @@ SUBDIR += wais SUBDIR += wakeonlan SUBDIR += whatmask + SUBDIR += whois SUBDIR += wide-dhcp SUBDIR += wmlj SUBDIR += wmnd diff --git a/net/whois/Makefile b/net/whois/Makefile new file mode 100644 index 000000000000..4ee5ee9593b5 --- /dev/null +++ b/net/whois/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: whois +# Date created: 02 Oct 2003 +# Whom: Filippo Natali <filippo@widestore.net> +# +# $FreeBSD$ +# + +PORTNAME= whois +PORTVERSION= 4.6.7 +CATEGORIES= net +MASTER_SITES= http://www.linux.it/~md/software/ +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= filippo@widestore.net +COMMENT= Marco d'Itri whois client + +LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv \ + intl.5:${PORTSDIR}/devel/gettext + +MAN1= whois.1 + +USE_PERL5_BUILD= yes +USE_REINPLACE= yes +USE_GMAKE= yes +USE_GETOPT_LONG= yes +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +post-patch: + @${REINPLACE_CMD} -e "s|prefix\=/usr/local|prefix\=${PREFIX}|g" ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e "s|/usr/share|${PREFIX}/share|g" ${WRKSRC}/po/Makefile + +.include <bsd.port.mk> diff --git a/net/whois/distinfo b/net/whois/distinfo new file mode 100644 index 000000000000..2435f366bbd6 --- /dev/null +++ b/net/whois/distinfo @@ -0,0 +1 @@ +MD5 (whois_4.6.7.tar.gz) = 36929e69816f0d9a938057c700fdfbc6 diff --git a/net/whois/files/patch-aa b/net/whois/files/patch-aa new file mode 100644 index 000000000000..2ff7c45811b6 --- /dev/null +++ b/net/whois/files/patch-aa @@ -0,0 +1,38 @@ +*** work/whois-4.6.6/Makefile Thu Dec 5 01:22:15 2002 +--- Makefile Thu Oct 2 10:53:29 2003 +*************** +*** 9,16 **** + #LDFLAGS=-lintl + + # FreeBSD +! #LDFLAGS=-L/usr/local/lib -lgnugetopt -lintl +! #CFLAGS=-I/usr/local/include + + # OS/2 EMX + #LDFLAGS=-lsocket -Zexe -Dstrncasecmp=strnicmp +--- 9,16 ---- + #LDFLAGS=-lintl + + # FreeBSD +! LDFLAGS=-L/usr/local/lib -lgnugetopt -lintl +! CFLAGS=-I/usr/local/include + + # OS/2 EMX + #LDFLAGS=-lsocket -Zexe -Dstrncasecmp=strnicmp +*************** +*** 35,41 **** + install: whois + install -m 0755 whois $(BASEDIR)$(prefix)/bin/ + strip $(BASEDIR)$(prefix)/bin/whois +! install -m 0644 whois.1 $(BASEDIR)$(prefix)/share/man/man1/ + cd po && $(MAKE) $@ + + +--- 35,41 ---- + install: whois + install -m 0755 whois $(BASEDIR)$(prefix)/bin/ + strip $(BASEDIR)$(prefix)/bin/whois +! install -m 0644 whois.1 $(BASEDIR)$(prefix)/man/man1/ + cd po && $(MAKE) $@ + + diff --git a/net/whois/files/patch-ab b/net/whois/files/patch-ab new file mode 100644 index 000000000000..d03b183e610b --- /dev/null +++ b/net/whois/files/patch-ab @@ -0,0 +1,12 @@ +*** po/Makefile.orig Sun Jun 15 18:46:16 2003 +--- po/Makefile Thu Oct 2 11:13:18 2003 +*************** +*** 41,46 **** +--- 41,47 ---- + rm -f whois.pot + + install: $(CATALOGS) ++ $(INSTALL) -d $(INSTALLNLSDIR) + for n in $(CATALOGS); do \ + l=`basename $$n .mo`; \ + $(INSTALL) -m 755 -d $(INSTALLNLSDIR)/$$l; \ diff --git a/net/whois/pkg-descr b/net/whois/pkg-descr new file mode 100644 index 000000000000..e7c15ac969f4 --- /dev/null +++ b/net/whois/pkg-descr @@ -0,0 +1,6 @@ +Why another whois client? Because the RIPE client is a mess of hacks and +#ifdefs and more complex programs lack features or are bloated. + +Author: Marco d'Itri <md@linux.it> + +WWW: http://www.linux.it/~md/software/ diff --git a/net/whois/pkg-plist b/net/whois/pkg-plist new file mode 100644 index 000000000000..5cd3344ae851 --- /dev/null +++ b/net/whois/pkg-plist @@ -0,0 +1,25 @@ +bin/whois +share/locale/de/LC_MESSAGES/whois.mo +share/locale/el/LC_MESSAGES/whois.mo +share/locale/es/LC_MESSAGES/whois.mo +share/locale/fr/LC_MESSAGES/whois.mo +share/locale/it/LC_MESSAGES/whois.mo +share/locale/no/LC_MESSAGES/whois.mo +share/locale/pl/LC_MESSAGES/whois.mo +@dirrm share/nls/en_US.US-ASCII +@dirrm share/nls/POSIX +@dirrm share/locale/pl/LC_MESSAGES +@dirrm share/locale/pl +@dirrm share/locale/no/LC_MESSAGES +@dirrm share/locale/no +@dirrm share/locale/it/LC_MESSAGES +@dirrm share/locale/it +@dirrm share/locale/fr/LC_MESSAGES +@dirrm share/locale/fr +@dirrm share/locale/es/LC_MESSAGES +@dirrm share/locale/es +@dirrm share/locale/el/LC_MESSAGES +@dirrm share/locale/el +@dirrm share/locale/de/LC_MESSAGES +@dirrm share/locale/de +@dirrm share/locale |