diff options
author | zuntum <zuntum@pkgsrc.org> | 2002-04-19 15:16:04 +0000 |
---|---|---|
committer | zuntum <zuntum@pkgsrc.org> | 2002-04-19 15:16:04 +0000 |
commit | 0c64bec8b73282983c623b69fd3e37a2d0b13397 (patch) | |
tree | 38879a46971f257f85e8d3eb94d0c4127884935d /ham/cwtext/Makefile | |
parent | 164565ba98925e313dcf5b30f864b6ef2234f776 (diff) | |
download | pkgsrc-0c64bec8b73282983c623b69fd3e37a2d0b13397.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/Makefile')
-rw-r--r-- | ham/cwtext/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
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" |