diff options
author | db <db@FreeBSD.org> | 2013-01-17 02:15:33 +0800 |
---|---|---|
committer | db <db@FreeBSD.org> | 2013-01-17 02:15:33 +0800 |
commit | 75d6fdc3346b1bccf92b5a34ea702f983bcdf51e (patch) | |
tree | eac41f3fb5d3dc8fbbf461b46237259137297e7e /comms/ebook2cw | |
parent | e8a4be7ebb6a03f96c2a70aa735ef048e53d4d85 (diff) | |
download | freebsd-ports-gnome-75d6fdc3346b1bccf92b5a34ea702f983bcdf51e.tar.gz freebsd-ports-gnome-75d6fdc3346b1bccf92b5a34ea702f983bcdf51e.tar.zst freebsd-ports-gnome-75d6fdc3346b1bccf92b5a34ea702f983bcdf51e.zip |
- Update to 0.8.2 [1]
0.8.2 / 2013-01-04 Fabian Kurz <fabian@fkurz.net>
* Time of conversion and speed-up calculations
* Fixed text command |T0
* Samplerate of output file now always according to -s parameter (no
longer using LAME's own preference for the given bitrate)
* New text command |v for volume control
* Chapter splitting now possible by duration (-d seconds)
and number of words (-l words) (suggested by DM3KPO)
* Fix inconsistent numbers for waveforms (0 = sine, 1 = sawtooth,
2 = square)
* Fix OGG/Vorbis headers in CGI mode
* New CGI mode (make cgibuffered) where the whole sound file is
first created temporarily and then sent to the client.
This makes it possible to send the Content-Length header.
* Code cleanup
PR: ports/175117 [1]
Submitted by: Chris Petrik <c.petrik.sosa@gmail.com>
Diffstat (limited to 'comms/ebook2cw')
-rw-r--r-- | comms/ebook2cw/Makefile | 9 | ||||
-rw-r--r-- | comms/ebook2cw/distinfo | 4 | ||||
-rw-r--r-- | comms/ebook2cw/files/patch-Makefile | 37 |
3 files changed, 21 insertions, 29 deletions
diff --git a/comms/ebook2cw/Makefile b/comms/ebook2cw/Makefile index 16692e4633bc..3674e76dfabc 100644 --- a/comms/ebook2cw/Makefile +++ b/comms/ebook2cw/Makefile @@ -1,13 +1,8 @@ -# ports collection makefile for: ebook2cw -# Date created: 17 July 2008 -# Whom: db -# # $FreeBSD$ # PORTNAME= ebook2cw -PORTVERSION= 0.8.1 -PORTREVISION?= 2 +PORTVERSION= 0.8.2 CATEGORIES= comms hamradio MASTER_SITES= http://fkurz.net/ham/ebook2cw/ \ ${MASTER_SITE_LOCAL} @@ -24,6 +19,8 @@ MAN1= ebook2cw.1 post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|'g \ ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|'g \ + ${WRKSRC}/Makefile do-install: @${INSTALL_SCRIPT} ${WRKSRC}/ebook2cw ${PREFIX}/bin/ebook2cw @${INSTALL_DATA} ${WRKSRC}/ebook2cw.1 ${MANPREFIX}/man/man1 diff --git a/comms/ebook2cw/distinfo b/comms/ebook2cw/distinfo index f6b0c03ed4fa..57be1bb1010a 100644 --- a/comms/ebook2cw/distinfo +++ b/comms/ebook2cw/distinfo @@ -1,2 +1,2 @@ -SHA256 (ebook2cw-0.8.1.tar.gz) = 3f97d2e6fbb419f8c985b0cbe3a9d33bfaa8fd746ea3651ecf086e523395c908 -SIZE (ebook2cw-0.8.1.tar.gz) = 26581 +SHA256 (ebook2cw-0.8.2.tar.gz) = d8277ac6aaf9e64d9cb9a96457488b3a0dbd77e87622ded8f0825acb500c5758 +SIZE (ebook2cw-0.8.2.tar.gz) = 29170 diff --git a/comms/ebook2cw/files/patch-Makefile b/comms/ebook2cw/files/patch-Makefile index 33abd14b7b31..5a896fedf70a 100644 --- a/comms/ebook2cw/files/patch-Makefile +++ b/comms/ebook2cw/files/patch-Makefile @@ -1,18 +1,20 @@ ---- Makefile.orig 2011-04-04 15:57:55.000000000 -0400 -+++ Makefile 2011-04-16 11:11:52.000000000 -0400 -@@ -1,34 +1,26 @@ - # ebook2cw Makefile -- Fabian Kurz, DJ1YFK -- http://fkurz.net/ham/ebook2cw.html +--- Makefile.orig 2013-01-04 09:33:04.000000000 -0500 ++++ Makefile 2013-01-16 10:16:50.000000000 -0500 +@@ -3,37 +3,26 @@ + # $Id: Makefile 547 2012-12-29 21:07:53Z dj1yfk $ - VERSION=0.8.1 + VERSION=0.8.2 -DESTDIR ?= /usr -+DESTDIR ?= /usr/local -+CC ?= gcc - +- -# Set to NO to compile without Lame/Ogg-vorbis support -USE_LAME?=YES -USE_OGG?=YES ++DESTDIR ?= %%PREFIX%% ++CC ?= gcc CFLAGS:=$(CFLAGS) -D DESTDIR=\"$(DESTDIR)\" -D VERSION=\"$(VERSION)\" ++CFLAGS+= -I%%LOCALBASE%%/include -D LAME -D OGGV ++LDFLAGS+= -L%%LOCALBASE%%/lib -lmp3lame -lvorbis -lvorbisenc -logg -ifeq ($(USE_LAME), YES) - CFLAGS:=$(CFLAGS) -D LAME @@ -22,10 +24,8 @@ - CFLAGS:=$(CFLAGS) -D OGGV - LDFLAGS:=$(LDFLAGS) -lvorbis -lvorbisenc -logg -endif -+CFLAGS+= -I/usr/local/include -D LAME -D OGGV -+LDFLAGS+= -L/usr/local/lib -lmp3lame -lvorbis -lvorbisenc -logg - - +- +- -all: ebook2cw +all: ebook2cw cgi @@ -37,18 +37,13 @@ - gcc -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -D CGI -o cw.cgi + ${CC} -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -D CGI -o cw.cgi + cgibuffered: ebook2cw.c codetables.h +- gcc -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -D CGI -D CGIBUFFERED -o cw.cgi ++ ${CC} -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -D CGI -D CGIBUFFERED -o cw.cgi + static: - gcc -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -o ebook2cw + ${CC} -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -o ebook2cw install: install -d -v $(DESTDIR)/share/man/man1/ -@@ -41,7 +33,7 @@ - install -m 0644 ebook2cw.conf $(DESTDIR)/share/doc/ebook2cw/examples/ - install -m 0644 isomap.txt $(DESTDIR)/share/doc/ebook2cw/examples/ - install -m 0644 utf8map.txt $(DESTDIR)/share/doc/ebook2cw/examples/ -- -+ - uninstall: - rm -f $(DESTDIR)/bin/ebook2cw - rm -f $(DESTDIR)/share/man/man1/ebook2cw.1 |