freebsd-ports/comms/ebook2cw/Makefile
Diane Bruce 146f374043 - 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]
2011-02-11 14:17:16 +00:00

40 lines
959 B
Makefile

# ports collection makefile for: ebook2cw
# Date created: 17 July 2008
# Whom: db
#
# $FreeBSD$
#
PORTNAME= ebook2cw
PORTVERSION= 0.8.0
CATEGORIES= comms hamradio
MASTER_SITES= http://fkurz.net/ham/ebook2cw/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= db
MAINTAINER= db@FreeBSD.org
COMMENT= Convert textfiles into cw as a mp3 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
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>