mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
e929aea23c
This round is @FreeBSD.org residents except teams.
36 lines
948 B
Makefile
36 lines
948 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= ebook2cw
|
|
PORTVERSION= 0.8.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= comms hamradio
|
|
MASTER_SITES= http://fkurz.net/ham/ebook2cw/ \
|
|
LOCAL/db
|
|
|
|
MAINTAINER= hamradio@FreeBSD.org
|
|
COMMENT= Convert text files into cw as an mp3 or ogg file
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libmp3lame.so:audio/lame \
|
|
libvorbis.so:audio/libvorbis
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
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 ${STAGEDIR}${PREFIX}/bin/ebook2cw
|
|
${INSTALL_DATA} ${WRKSRC}/ebook2cw.1 ${STAGEDIR}${PREFIX}/man/man1
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
.for f in ebook2cw.conf isomap.txt utf8map.txt
|
|
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${EXAMPLESDIR}/$f
|
|
.endfor
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|