summaryrefslogtreecommitdiff
path: root/ham/cwtext
diff options
context:
space:
mode:
authorzuntum <zuntum>2002-04-19 15:16:04 +0000
committerzuntum <zuntum>2002-04-19 15:16:04 +0000
commit6b24b77abd7000c9c3984119c995e7dd185b3165 (patch)
tree38879a46971f257f85e8d3eb94d0c4127884935d /ham/cwtext
parent93d2bfc23bb29a6b03551426036f59478cc91f3b (diff)
downloadpkgsrc-6b24b77abd7000c9c3984119c995e7dd185b3165.tar.gz
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
Diffstat (limited to 'ham/cwtext')
-rw-r--r--ham/cwtext/DESCR16
-rw-r--r--ham/cwtext/Makefile27
-rw-r--r--ham/cwtext/PLIST3
-rw-r--r--ham/cwtext/distinfo4
4 files changed, 50 insertions, 0 deletions
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