From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 21 07:30:12 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDC6016A41F for ; Thu, 21 Jul 2005 07:30:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4495C43D48 for ; Thu, 21 Jul 2005 07:30:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6L7UCXW058174 for ; Thu, 21 Jul 2005 07:30:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6L7UBF4058173; Thu, 21 Jul 2005 07:30:12 GMT (envelope-from gnats) Resent-Date: Thu, 21 Jul 2005 07:30:12 GMT Resent-Message-Id: <200507210730.j6L7UBF4058173@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Emanuel Haupt Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE70C16A420 for ; Thu, 21 Jul 2005 07:21:05 +0000 (GMT) (envelope-from ehaupt@mx.critical.ch) Received: from mx.critical.ch (admin.critical.ch [67.18.86.178]) by mx1.FreeBSD.org (Postfix) with SMTP id 5085C43D5F for ; Thu, 21 Jul 2005 07:21:00 +0000 (GMT) (envelope-from ehaupt@mx.critical.ch) Received: (qmail 46090 invoked by uid 1000); 21 Jul 2005 07:20:59 -0000 Message-Id: <20050721072059.46089.qmail@mx.critical.ch> Date: 21 Jul 2005 07:20:59 -0000 From: Emanuel Haupt To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/83830: misc/countrycodes - A ISO 3166 country code finder X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Emanuel Haupt List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 07:30:12 -0000 >Number: 83830 >Category: ports >Synopsis: misc/countrycodes - A ISO 3166 country code finder >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jul 21 07:30:11 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Emanuel Haupt >Release: FreeBSD 4.11-RELEASE-p11 i386 >Organization: >Environment: System: FreeBSD admin.critical.ch 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 #0: Thu Jun 30 09:36:40 CEST 2005 root@admin.critical.ch:/usr/obj/usr/src-release/src/sys/GENERIC i386 >Description: misc/countrycodes - A ISO 3166 country code finder It is an ISO 3166 country code finder. It is mainly used to know from what country a domain name belongs. It also allows searching by 2 or 3 letters codes, country number and country name. >How-To-Repeat: >Fix: --- countrycodes.shar begins here --- # 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: # # countrycodes # countrycodes/Makefile # countrycodes/pkg-descr # countrycodes/files # countrycodes/files/patch-Makefile # countrycodes/distinfo # echo c - countrycodes mkdir -p countrycodes > /dev/null 2>&1 echo x - countrycodes/Makefile sed 's/^X//' >countrycodes/Makefile << 'END-of-countrycodes/Makefile' X# New ports collection makefile for: countrycodes X# Date created: 6 Jul 2005 X# Whom: Emanuel Haupt X# X# $FreeBSD$ X# X XPORTNAME= countrycodes XPORTVERSION= 1.0.5 XCATEGORIES= misc XMASTER_SITES= http://www.grigna.com/diego/linux/countrycodes/ X XMAINTAINER= ehaupt@critical.ch XCOMMENT= A ISO 3166 country code finder X XUSE_GMAKE= yes X XWRKSRC= ${WRKDIR}/${DISTNAME}/src XPLIST_FILES= bin/iso3166 XPORTDOCS= README XMAN1= iso3166.1 XCMDNAME= iso3166 X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/${CMDNAME} ${PREFIX}/bin X ${INSTALL_MAN} ${WRKSRC}/${CMDNAME}.1 ${PREFIX}/man/man1 X X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/${PORTDOCS} ${DOCSDIR} X.endif X X.include END-of-countrycodes/Makefile echo x - countrycodes/pkg-descr sed 's/^X//' >countrycodes/pkg-descr << 'END-of-countrycodes/pkg-descr' XIt is an ISO 3166 country code finder. It is mainly used to know from what Xcountry a domain name belongs. It also allows searching by 2 or 3 letters codes, Xcountry number and country name. X XWWW: http://www.grigna.com/diego/linux/countrycodes/ X X- ehaupt Xehaupt@critical.ch END-of-countrycodes/pkg-descr echo c - countrycodes/files mkdir -p countrycodes/files > /dev/null 2>&1 echo x - countrycodes/files/patch-Makefile sed 's/^X//' >countrycodes/files/patch-Makefile << 'END-of-countrycodes/files/patch-Makefile' X--- Makefile.orig Sat Feb 1 16:56:08 2003 X+++ Makefile Wed Jul 6 17:38:58 2005 X@@ -26,13 +26,13 @@ X LOGDIRMODE=700 X X # Compiler to use X-CC=gcc X+CC?=gcc X X # Compiler warnings X-WARNINGS= -pedantic -Wall X+#WARNINGS= -pedantic -Wall X X # Compiler flags X-CCOPTS = -O2 -fomit-frame-pointer X+CCOPTS = ${CFLAGS} X X # The makefile standards document I read says that I have to put it here... X SHELL = /bin/sh X@@ -58,11 +58,14 @@ X X PROGRAM = iso3166 X X-all: $(PROGRAM) X+all: $(PROGRAM) man X X $(PROGRAM): $(ISO3166OBJ) X $(CC) $(CCOPTS) $(ISO3166OBJ) -o $@ X X+man: X+ @$(SEDBIN) $(SEDCMDS) ${docdir}/iso3166.1.in > iso3166.1 X+ X clean: X rm -f $(ISO3166OBJ) core defines.h $(PROGRAM) X X@@ -72,7 +75,6 @@ X install: X $(INSTALL) -g root -m $(BINMODE) -o root -s ${srcdir}/$(PROGRAM) ${bindir} X @echo "Installing man page..." X- @$(SEDBIN) $(SEDCMDS) ${docdir}/iso3166.1.in > ${mandir}/iso3166.1 X @chown 0.0 ${mandir}/iso3166.1 X @echo X END-of-countrycodes/files/patch-Makefile echo x - countrycodes/distinfo sed 's/^X//' >countrycodes/distinfo << 'END-of-countrycodes/distinfo' XMD5 (countrycodes-1.0.5.tar.gz) = 9decb29be88236791fcb3f036095c018 XSIZE (countrycodes-1.0.5.tar.gz) = 18621 END-of-countrycodes/distinfo exit --- countrycodes.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: