diff options
author | db <db@FreeBSD.org> | 2011-02-11 22:17:16 +0800 |
---|---|---|
committer | db <db@FreeBSD.org> | 2011-02-11 22:17:16 +0800 |
commit | 1c56ce2330e249d7a5fa6a8e00b55ac2b7f0a386 (patch) | |
tree | b7ec511483e77cf30d01a20e030b2979739cce90 /comms/ebook2cw | |
parent | 7bf61f6a5d8ed1d6d9b26ce94f4afd3b30331c28 (diff) | |
download | freebsd-ports-gnome-1c56ce2330e249d7a5fa6a8e00b55ac2b7f0a386.tar.gz freebsd-ports-gnome-1c56ce2330e249d7a5fa6a8e00b55ac2b7f0a386.tar.zst freebsd-ports-gnome-1c56ce2330e249d7a5fa6a8e00b55ac2b7f0a386.zip |
- Update to 0.8.0
From vendors change log:
* ebook2cw can now also be compiled to work as a CGI on a webserver
* Support for OGG/Vorbis audio file format added
* Time of created files is now calculated accurately
* Option to add a noise floor with an user definable SNR added [-N]
(very experimental)
* Waveform can now be set to sine, sawtooth or squarewave. [-T]
* Config files are searched in current directory, ~/.ebook2cw,
and DESTDIR/share/doc/ebook2cw/examples now. ~/.ebook2cw is
created if only the last is found. [Linux/Unix only]
Diffstat (limited to 'comms/ebook2cw')
-rw-r--r-- | comms/ebook2cw/Makefile | 6 | ||||
-rw-r--r-- | comms/ebook2cw/distinfo | 5 | ||||
-rw-r--r-- | comms/ebook2cw/files/patch-Makefile | 27 |
3 files changed, 24 insertions, 14 deletions
diff --git a/comms/ebook2cw/Makefile b/comms/ebook2cw/Makefile index ddc75dc5ca24..23c9c6fc21f3 100644 --- a/comms/ebook2cw/Makefile +++ b/comms/ebook2cw/Makefile @@ -6,8 +6,7 @@ # PORTNAME= ebook2cw -PORTVERSION= 0.7.0 -PORTREVISION?= 1 +PORTVERSION= 0.8.0 CATEGORIES= comms hamradio MASTER_SITES= http://fkurz.net/ham/ebook2cw/ \ ${MASTER_SITE_LOCAL} @@ -16,7 +15,8 @@ MASTER_SITE_SUBDIR= db MAINTAINER= db@FreeBSD.org COMMENT= Convert textfiles into cw as a mp3 file -LIB_DEPENDS= mp3lame:${PORTSDIR}/audio/lame +LIB_DEPENDS= mp3lame:${PORTSDIR}/audio/lame \ + vorbis:${PORTSDIR}/audio/libvorbis MAN1= ebook2cw.1 diff --git a/comms/ebook2cw/distinfo b/comms/ebook2cw/distinfo index 61de6fcd1689..af86668ead83 100644 --- a/comms/ebook2cw/distinfo +++ b/comms/ebook2cw/distinfo @@ -1,3 +1,2 @@ -MD5 (ebook2cw-0.7.0.tar.gz) = 77a2902ef19340ad8528514822d17518 -SHA256 (ebook2cw-0.7.0.tar.gz) = 1f4ce59f78f5519986cfa0a8f4f9ca4e38996ddc1842511a79179a247719a33a -SIZE (ebook2cw-0.7.0.tar.gz) = 19580 +SHA256 (ebook2cw-0.8.0.tar.gz) = 4eea453ec7557ca2739de936343c2b872346bd8224f83f8e3d1d6cf34a713654 +SIZE (ebook2cw-0.8.0.tar.gz) = 25711 diff --git a/comms/ebook2cw/files/patch-Makefile b/comms/ebook2cw/files/patch-Makefile index bf9c5e8f825b..e779293b3df0 100644 --- a/comms/ebook2cw/files/patch-Makefile +++ b/comms/ebook2cw/files/patch-Makefile @@ -1,17 +1,28 @@ ---- Makefile.orig 2008-07-03 10:36:58.000000000 -0400 -+++ Makefile 2008-07-18 08:34:18.000000000 -0400 -@@ -1,12 +1,12 @@ +--- Makefile.orig 2011-01-25 16:10:27.000000000 -0500 ++++ Makefile 2011-02-10 19:41:06.000000000 -0500 +@@ -1,19 +1,19 @@ # ebook2cw Makefile -- Fabian Kurz, DJ1YFK -- http://fkurz.net/ham/ebook2cw.html - VERSION=0.7.0 + VERSION=0.8.0 -DESTDIR ?= /usr +DESTDIR ?= %%PREFIX%% ++CC ?= gcc - all: ebook2cw +-all: ebook2cw ++all: ebook2cw cgi ebook2cw: ebook2cw.c codetables.h -- gcc ebook2cw.c -pedantic -Wall -lm -lmp3lame -D VERSION=\"$(VERSION)\" -o ebook2cw -+ ${CC} -I%%PREFIX%%/include -L%%PREFIX%%/lib ebook2cw.c ${CFLAGS} -lm -lmp3lame -D VERSION=\"$(VERSION)\" -o ebook2cw +- gcc ebook2cw.c -pedantic -Wall -lm -lmp3lame -lvorbis -lvorbisenc -D DESTDIR=\"$(DESTDIR)\" -D VERSION=\"$(VERSION)\" -o ebook2cw ++ ${CC} -I%%PREFIX%%/include -L%%PREFIX%%/lib ebook2cw.c -pedantic -Wall -lm -lmp3lame -lvorbis -lvorbisenc -D DESTDIR=\"$(DESTDIR)\" -D VERSION=\"$(VERSION)\" -o ebook2cw + + cgi: ebook2cw.c codetables.h +- gcc -static ebook2cw.c -lvorbis -lvorbisenc -logg -lmp3lame -lm -D DESTDIR=\"$(DESTDIR)\" -D VERSION=\"$(VERSION)\" -D CGI -o cw.cgi ++ ${CC} -I%%PREFIX%%/include -L%%PREFIX%%/lib -static ebook2cw.c -lvorbis -lvorbisenc -logg -lmp3lame -lm -D DESTDIR=\"$(DESTDIR)\" -D VERSION=\"$(VERSION)\" -D CGI -o cw.cgi static: - gcc -static ebook2cw.c -lmp3lame -lm -D VERSION=\"$(VERSION)\" -o ebook2cw +- gcc -static ebook2cw.c -lvorbis -lvorbisenc -logg -lmp3lame -lm -D DESTDIR=\"$(DESTDIR)\" -D VERSION=\"$(VERSION)\" -o ebook2cw +- ++ ${CC} -I%%PREFIX%% -L%%PREFIX%% -static ebook2cw.c -lvorbis -lvorbisenc -logg -lmp3lame -lm -D DESTDIR=\"$(DESTDIR)\" -D VERSION=\"$(VERSION)\" -o ebook2cw + install: + install -d -v $(DESTDIR)/share/man/man1/ + install -d -v $(DESTDIR)/bin/ |