Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Aug 1999 15:23:49 -0500 (CDT)
From:      "G. Adam Stanislav" <adam@whizkidtech.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/12974: New port - numchar
Message-ID:  <199908042023.PAA20635@whizkidtech.net>

next in thread | raw e-mail | index | archive | help

>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 <adam@whizkidtech.net>
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 <bsd.port.mk>
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<adam@whizkidtech.net>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908042023.PAA20635>