From owner-freebsd-ports Wed Aug 4 13:31:10 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 31E661543D for ; Wed, 4 Aug 1999 13:31:07 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA41672; Wed, 4 Aug 1999 13:30:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from whizkidtech.net (r45.bfm.org [208.18.213.141]) by hub.freebsd.org (Postfix) with ESMTP id 2FD26151AB for ; Wed, 4 Aug 1999 13:23:59 -0700 (PDT) (envelope-from adam@whizkidtech.net) Received: (from adam@localhost) by whizkidtech.net (8.9.2/8.9.2) id PAA20635; Wed, 4 Aug 1999 15:23:49 -0500 (CDT) (envelope-from adam) Message-Id: <199908042023.PAA20635@whizkidtech.net> Date: Wed, 4 Aug 1999 15:23:49 -0500 (CDT) From: "G. Adam Stanislav" Reply-To: adam@whizkidtech.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/12974: New port - numchar Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12974 >Category: ports >Synopsis: New port - numchar (converts phone numbers between digits and characters) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 4 13:30:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: G. Adam Stanislav >Release: FreeBSD 3.1-RELEASE i386 >Organization: Whiz Kid Technomagic >Environment: >Description: The port contains two utilities: 1. numchar - finds all possible digit/character combinations of a phone number; 2. phdecode - converts a textual phone number into digits. The second one is actually just a symbolic link to the first one under a different name. >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: # # numchar # numchar/Makefile # numchar/files # numchar/files/md5 # numchar/pkg # numchar/pkg/COMMENT # numchar/pkg/DESCR # numchar/pkg/PLIST # echo c - numchar mkdir -p numchar > /dev/null 2>&1 echo x - numchar/Makefile sed 's/^X//' >numchar/Makefile << 'END-of-numchar/Makefile' X# New ports collection makefile for: numchar X# Version required: 1.0 X# Date created: 3 August 1999 X# Whom: G. Adam Stanislav X# X# $Id$ X# X XDISTNAME= numchar-1.0 XCATEGORIES= misc XMASTER_SITES= ftp://www.whizkidtech.net/unix/ X XMAINTAINER= adam@whizkidtech.net X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/numchar ${PREFIX}/bin X ${LN} -fs ${PREFIX}/bin/numchar ${PREFIX}/bin/phdecode X ${MKDIR} ${PREFIX}/share/doc/numchar X $(INSTALL_MAN) ${WRKSRC}/numchar.html ${PREFIX}/share/doc/numchar X Xpost-install: X @${ECHO} X @${ECHO} " Please read ${PREFIX}/share/doc/numchar/numchar.html" X @${ECHO} " to learn how to use this program." X @${ECHO} X @${ECHO} " Sample use:" X @${ECHO} " ===========" X @${ECHO} X @${ECHO} " To determine what phone number spells out \"BSD Unix\"," X @${ECHO} " type:" X @${ECHO} X @${ECHO} " phdecode \"BSD Unix\"" X @${ECHO} X @${ECHO} " Here is what the result will be:" X @${ECHO} X @${PREFIX}/bin/phdecode "BSD Unix" X @${ECHO} X X.include END-of-numchar/Makefile echo c - numchar/files mkdir -p numchar/files > /dev/null 2>&1 echo x - numchar/files/md5 sed 's/^X//' >numchar/files/md5 << 'END-of-numchar/files/md5' XMD5 (numchar-1.0.tar.gz) = 90293ab97dca1fed58452128cbe33602 END-of-numchar/files/md5 echo c - numchar/pkg mkdir -p numchar/pkg > /dev/null 2>&1 echo x - numchar/pkg/COMMENT sed 's/^X//' >numchar/pkg/COMMENT << 'END-of-numchar/pkg/COMMENT' XConverts phone numbers between digits and characters. END-of-numchar/pkg/COMMENT echo x - numchar/pkg/DESCR sed 's/^X//' >numchar/pkg/DESCR << 'END-of-numchar/pkg/DESCR' XThis port contains two phone number conversion utilities: X X 1. numchar - converts a phone number to all possible combinations X of digits and characters; X X 2. phdecode - decodes a phone number containing characters into X one containing only digits. X XG. Adam Stanislav X END-of-numchar/pkg/DESCR echo x - numchar/pkg/PLIST sed 's/^X//' >numchar/pkg/PLIST << 'END-of-numchar/pkg/PLIST' Xbin/phdecode Xbin/numchar Xshare/doc/numchar/numchar.html X@dirrm share/doc/numchar END-of-numchar/pkg/PLIST exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message