Subject: pkg/16309: new package submission (/usr/pkgsrc/ham/cwtext)
To: None <>
From: None <>
List: netbsd-bugs
Date: 04/11/2002 14:51:39
>Number:         16309
>Category:       pkg
>Synopsis:       pkgsrc files and source tar ball for new package
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 11 14:56:00 PDT 2002
>Release:        NetBSD 1.5.2
This a text to morse code converter, either spells out '-' and '.' on the screen, or
 plays them as tones on the pc speaker (might only work on i386, but maybe others I can't test)
download the file and follow the steps
 below to get it installed and running.  In addition to the master site source which is in the package
 Makefile, the source can be gotten from
dhcp-109-67# pwd
dhcp-109-67# wget
           => `cwtext.tgz'
Connecting to connected!
HTTP request sent, awaiting response... 200 OK
Length: 1,105 [application/x-tar]

    0K .                                                     100% @  89.93 KB/s

13:38:38 (83.01 KB/s) - `cwtext.tgz' saved [1105/1105]

dhcp-109-67# ls -al cwtext.tgz
-rw-r--r--  1 root  wheel  1105 Apr 11 12:21 cwtext.tgz
dhcp-109-67# tar -xpvzf cwtext.tgz
dhcp-109-67# cd pkgsrc/ham/cwtext
dhcp-109-67# pkglint
OK: checking Makefile.
OK: checking ./PLIST.
OK: checking ./DESCR.
OK: checking distinfo.
looks fine.
dhcp-109-67# make install
=> Checksum OK for cwtext-0.91.tar.gz.
===> Extracting for cwtext-0.91
===> Required installed package perl>=5.0: perl-5.6.1nb7 found
===> Required installed package gmake>=3.78: gmake-3.79.1 found
===> Patching for cwtext-0.91
===> Configuring for cwtext-0.91
===> Building for cwtext-0.91
cc -O2 -c cwtext.c
python > cw.h
cc -O2 -c morse.c
cc -O2 -o cwtext  cwtext.o morse.o
cc -O2 -c cwpcm.c
cc -O2 -c pcm.c
cc -O2 -o cwpcm -lm cwpcm.o morse.o pcm.o
===> Installing for cwtext-0.91
install -c -s -o root -g wheel -m 555 /usr/pkgsrc/ham/cwtext/work/cwtext-0.91/cwpcm /usr/pkg/bin
install -c -s -o root -g wheel -m 555 /usr/pkgsrc/ham/cwtext/work/cwtext-0.91/cwtext /usr/pkg/bin
===> Registering installation for cwtext-0.91
cwtext-0.91 requires installed package perl-5.6.1nb7
dhcp-109-67# echo "This is a test" | /usr/pkg/bin/cwtext
- .... .. ...  .. ...  .-  - . ... -  
dhcp-109-67# echo "This is a test" | /usr/pkg/bin/cwpcm > /dev/audio
<<morse code is audible on pc speaker>>
 >System: NetBSD 1.5.2 NetBSD 1.5.2 (daemona) #2: Mon Feb 25 16:58:35 PST 2002 i386