2fb341efa3
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>
38 lines
963 B
Makefile
38 lines
963 B
Makefile
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ebook2cw
|
|
PORTVERSION= 0.8.2
|
|
CATEGORIES= comms hamradio
|
|
MASTER_SITES= http://fkurz.net/ham/ebook2cw/ \
|
|
${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= db
|
|
|
|
MAINTAINER= db@FreeBSD.org
|
|
COMMENT= Convert text files into cw as an mp3 or ogg file
|
|
|
|
LIB_DEPENDS= mp3lame:${PORTSDIR}/audio/lame \
|
|
vorbis:${PORTSDIR}/audio/libvorbis
|
|
|
|
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
|
|
.if !defined(NOPORTEXAMPLES)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
.for f in ebook2cw.conf isomap.txt utf8map.txt
|
|
@${INSTALL_DATA} ${WRKSRC}/$f ${EXAMPLESDIR}/$f
|
|
.endfor
|
|
.endif
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|