From 6b24b77abd7000c9c3984119c995e7dd185b3165 Mon Sep 17 00:00:00 2001 From: zuntum Date: Fri, 19 Apr 2002 15:16:04 +0000 Subject: Initial import of cwtext-0.91 [pkgsrc/ham/cwtext] Convert text to International Morse Code. Input is ASCII text. Output can be: - . -..- - on the console, raw 8bit PCM suitable for piping to /dev/audio, .wav files or even (mp3|ogg). Good for headlines on your MP3 player or code practice. Provided by mor@linex.com in pkg/16309, heavily modified by myself --- ham/cwtext/DESCR | 16 ++++++++++++++++ ham/cwtext/Makefile | 27 +++++++++++++++++++++++++++ ham/cwtext/PLIST | 3 +++ ham/cwtext/distinfo | 4 ++++ 4 files changed, 50 insertions(+) create mode 100644 ham/cwtext/DESCR create mode 100644 ham/cwtext/Makefile create mode 100644 ham/cwtext/PLIST create mode 100644 ham/cwtext/distinfo diff --git a/ham/cwtext/DESCR b/ham/cwtext/DESCR new file mode 100644 index 00000000000..b4020657af0 --- /dev/null +++ b/ham/cwtext/DESCR @@ -0,0 +1,16 @@ +About the project + +We plan to build a program that will accept ASCII text as input and generate +International Morse Code as output. The output formats can be: + + - . -..- - (text) on the console + Raw audio on /dev/audio (8bit PCM data) + .wav files + .ogg or (proprietary format) compressed audio + +International Morse Code + +Supported character set includes [A-Za-z] (all downcased as Morse is not case +sensitive), [0-9], ",-.?/" plus a few procedural characters (SK, AR, BT etc). + +WWW: http://cwtext.sourceforge.net/ diff --git a/ham/cwtext/Makefile b/ham/cwtext/Makefile new file mode 100644 index 00000000000..c300598c3ea --- /dev/null +++ b/ham/cwtext/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/04/19 15:16:04 zuntum Exp $ + +DISTNAME= cwtext-0.91 +CATEGORIES= textproc +MASTER_SITES= http://prdownloads.sourceforge.net/cwtext/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://cwtext.sourceforge.net/ +COMMENT= Morse Code Generator + +MAKEFILE= makefile +USE_GMAKE= YES +ALL_TARGET= ALL + +post-patch: + ${SED} -e "s,^PREFIX,#PREFIX,g" \ + -e "s,gcc,${CC} ${CFLAGS},g" \ + -e "s,python,${PYTHONBIN},g" \ + ${WRKSRC}/${MAKEFILE} > ${WRKSRC}/${MAKEFILE}.done + ${MV} ${WRKSRC}/${MAKEFILE}.done ${WRKSRC}/${MAKEFILE} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/cwpcm ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/cwtext ${PREFIX}/bin + +.include "../../lang/python/application.buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/ham/cwtext/PLIST b/ham/cwtext/PLIST new file mode 100644 index 00000000000..ecddd60f176 --- /dev/null +++ b/ham/cwtext/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/19 15:16:04 zuntum Exp $ +bin/cwpcm +bin/cwtext diff --git a/ham/cwtext/distinfo b/ham/cwtext/distinfo new file mode 100644 index 00000000000..bbda40db947 --- /dev/null +++ b/ham/cwtext/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/04/19 15:16:04 zuntum Exp $ + +SHA1 (cwtext-0.91.tar.gz) = 756e9acda2e5fee8f4be06bf3835dd04f83b216c +Size (cwtext-0.91.tar.gz) = 11802 bytes -- cgit v1.2.3