ports/57530: [NEW PORT] net/whois

filippo at widestore.net filippo at widestore.net
Fri Oct 3 13:00:42 UTC 2003


>Number:         57530
>Category:       ports
>Synopsis:       [NEW PORT] net/whois
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 03 06:00:39 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Filippo Natali
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Widestore srl
>Environment:
FreeBSD cagnina.hq.widestore.net 4.8-STABLE FreeBSD 4.8-STABLE #0: Thu Apr 10 18:12:23 CEST 2003     filippo at cagnina.hq.widestore.net:/usr/obj/usr/src/sys/CAGNINA  i386

	
>Description:
	Marco d'Itri whois client.
>How-To-Repeat:
	
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	whois
#	whois/Makefile
#	whois/pkg-descr
#	whois/distinfo
#	whois/files
#	whois/files/patch-aa
#	whois/files/patch-ab
#	whois/pkg-plist
#
echo c - whois
mkdir -p whois > /dev/null 2>&1
echo x - whois/Makefile
sed 's/^X//' >whois/Makefile << 'END-of-whois/Makefile'
X# New ports collection makefile for:   whois
X# Date created:                02 Oct 2003
X# Whom:                        Filippo Natali <filippo at widestore.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	whois
XPORTVERSION=	4.6.7
XCATEGORIES=	net
XMASTER_SITES=	http://www.linux.it/~md/software/
XDISTNAME=	${PORTNAME}_${PORTVERSION}
X
XMAINTAINER=	filippo at widestore.net
XCOMMENT=	Marco d'Itri whois client.
X
XLIB_DEPENDS=	iconv.3:${PORTSDIR}/converters/libiconv \
X		intl.5:${PORTSDIR}/devel/gettext
X
XMAN1=	whois.1
X
XUSE_PERL5_BUILD=	yes
XUSE_REINPLACE=	yes
XUSE_GMAKE=	yes
XUSE_GETOPT_LONG=	yes
XWRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}
X
Xpost-patch:
X	@${REINPLACE_CMD} -e "s|prefix\=/usr/local|prefix\=${PREFIX}|g" ${WRKSRC}/Makefile
X	@${REINPLACE_CMD} -e "s|/usr/share|${PREFIX}/share|g" ${WRKSRC}/po/Makefile
X
X.include <bsd.port.mk>
END-of-whois/Makefile
echo x - whois/pkg-descr
sed 's/^X//' >whois/pkg-descr << 'END-of-whois/pkg-descr'
XWhy another whois client? Because the RIPE client is a mess of hacks and
X#ifdefs and more complex programs lack features or are bloated.
X
XAuthor: Marco d'Itri <md at linux.it>
X
XWWW: http://www.linux.it/~md/software/
END-of-whois/pkg-descr
echo x - whois/distinfo
sed 's/^X//' >whois/distinfo << 'END-of-whois/distinfo'
XMD5 (whois_4.6.7.tar.gz) = 36929e69816f0d9a938057c700fdfbc6
END-of-whois/distinfo
echo c - whois/files
mkdir -p whois/files > /dev/null 2>&1
echo x - whois/files/patch-aa
sed 's/^X//' >whois/files/patch-aa << 'END-of-whois/files/patch-aa'
X*** work/whois-4.6.6/Makefile	Thu Dec  5 01:22:15 2002
X--- Makefile	Thu Oct  2 10:53:29 2003
X***************
X*** 9,16 ****
X  #LDFLAGS=-lintl
X  
X  # FreeBSD
X! #LDFLAGS=-L/usr/local/lib -lgnugetopt -lintl
X! #CFLAGS=-I/usr/local/include
X  
X  # OS/2 EMX
X  #LDFLAGS=-lsocket -Zexe -Dstrncasecmp=strnicmp
X--- 9,16 ----
X  #LDFLAGS=-lintl
X  
X  # FreeBSD
X! LDFLAGS=-L/usr/local/lib -lgnugetopt -lintl
X! CFLAGS=-I/usr/local/include
X  
X  # OS/2 EMX
X  #LDFLAGS=-lsocket -Zexe -Dstrncasecmp=strnicmp
X***************
X*** 35,41 ****
X  install: whois
X  	install -m 0755 whois $(BASEDIR)$(prefix)/bin/
X  	strip $(BASEDIR)$(prefix)/bin/whois
X! 	install -m 0644 whois.1 $(BASEDIR)$(prefix)/share/man/man1/
X  	cd po && $(MAKE) $@
X  
X  
X--- 35,41 ----
X  install: whois
X  	install -m 0755 whois $(BASEDIR)$(prefix)/bin/
X  	strip $(BASEDIR)$(prefix)/bin/whois
X! 	install -m 0644 whois.1 $(BASEDIR)$(prefix)/man/man1/
X  	cd po && $(MAKE) $@
X  
X  
END-of-whois/files/patch-aa
echo x - whois/files/patch-ab
sed 's/^X//' >whois/files/patch-ab << 'END-of-whois/files/patch-ab'
X*** po/Makefile.orig	Sun Jun 15 18:46:16 2003
X--- po/Makefile	Thu Oct  2 11:13:18 2003
X***************
X*** 41,46 ****
X--- 41,47 ----
X  	rm -f whois.pot
X  
X  install: $(CATALOGS)
X+ 	$(INSTALL) -d $(INSTALLNLSDIR)
X  	for n in $(CATALOGS); do \
X  	    l=`basename $$n .mo`; \
X  	    $(INSTALL) -m 755 -d $(INSTALLNLSDIR)/$$l; \
END-of-whois/files/patch-ab
echo x - whois/pkg-plist
sed 's/^X//' >whois/pkg-plist << 'END-of-whois/pkg-plist'
Xbin/whois
Xshare/locale/de/LC_MESSAGES/whois.mo
Xshare/locale/el/LC_MESSAGES/whois.mo
Xshare/locale/es/LC_MESSAGES/whois.mo
Xshare/locale/fr/LC_MESSAGES/whois.mo
Xshare/locale/it/LC_MESSAGES/whois.mo
Xshare/locale/no/LC_MESSAGES/whois.mo
Xshare/locale/pl/LC_MESSAGES/whois.mo
X at dirrm share/nls/en_US.US-ASCII
X at dirrm share/nls/POSIX
X at dirrm share/locale/pl/LC_MESSAGES
X at dirrm share/locale/pl
X at dirrm share/locale/no/LC_MESSAGES
X at dirrm share/locale/no
X at dirrm share/locale/it/LC_MESSAGES
X at dirrm share/locale/it
X at dirrm share/locale/fr/LC_MESSAGES
X at dirrm share/locale/fr
X at dirrm share/locale/es/LC_MESSAGES
X at dirrm share/locale/es
X at dirrm share/locale/el/LC_MESSAGES
X at dirrm share/locale/el
X at dirrm share/locale/de/LC_MESSAGES
X at dirrm share/locale/de
X at dirrm share/locale
END-of-whois/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list