2008-07-18 16:57:43 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ebook2cw
|
2013-01-16 19:15:33 +01:00
|
|
|
PORTVERSION= 0.8.2
|
2016-12-08 16:38:24 +01:00
|
|
|
PORTREVISION= 1
|
2008-07-18 16:57:43 +02:00
|
|
|
CATEGORIES= comms hamradio
|
|
|
|
MASTER_SITES= http://fkurz.net/ham/ebook2cw/ \
|
2015-05-14 12:15:04 +02:00
|
|
|
LOCAL/db
|
2008-07-18 16:57:43 +02:00
|
|
|
|
2014-11-23 00:38:50 +01:00
|
|
|
MAINTAINER= hamradio@FreeBSD.org
|
2012-07-26 15:28:58 +02:00
|
|
|
COMMENT= Convert text files into cw as an mp3 or ogg file
|
2008-07-18 16:57:43 +02:00
|
|
|
|
2013-12-29 01:33:17 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
LIB_DEPENDS= libmp3lame.so:audio/lame \
|
|
|
|
libvorbis.so:audio/libvorbis
|
2008-07-18 16:57:43 +02:00
|
|
|
|
2014-07-16 01:11:12 +02:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
|
2008-07-18 16:57:43 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|'g \
|
|
|
|
${WRKSRC}/Makefile
|
2013-01-16 19:15:33 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|'g \
|
|
|
|
${WRKSRC}/Makefile
|
2008-07-18 16:57:43 +02:00
|
|
|
do-install:
|
2014-03-01 16:36:07 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ebook2cw ${STAGEDIR}${PREFIX}/bin/ebook2cw
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ebook2cw.1 ${STAGEDIR}${PREFIX}/man/man1
|
|
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
2017-11-02 22:41:47 +01:00
|
|
|
.for f in ebook2cw.conf isomap.txt utf8map.txt
|
2014-03-01 16:36:07 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${EXAMPLESDIR}/$f
|
2008-07-18 16:57:43 +02:00
|
|
|
.endfor
|
2014-03-01 16:36:07 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
2008-07-18 16:57:43 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|