1a8e748032
Bump cwtext version 0.95nb3 to 0.96 Version 0.96 Added envelope support: no more keyclick! Prosign support: use *sk* for example. Default bitrate is now 44100. To get the old 8000 bitrate use -lowrez.
34 lines
986 B
Makefile
34 lines
986 B
Makefile
# $NetBSD: Makefile,v 1.19 2010/12/07 13:14:57 mef Exp $
|
|
|
|
DISTNAME= cwtext-0.96
|
|
CATEGORIES= ham
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cwtext/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://cwtext.sourceforge.net/
|
|
COMMENT= Morse Code Generator
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
MAKE_FILE= makefile
|
|
USE_TOOLS+= gmake
|
|
BUILD_TARGET= ALL
|
|
|
|
INSTALLATION_DIRS= bin
|
|
INSTALLATION_DIRS+= share/doc/${PKGBASE}
|
|
|
|
post-patch:
|
|
${SED} -e "s,^PREFIX,#PREFIX,g" \
|
|
-e "s,gcc,${CC} ${CFLAGS},g" \
|
|
-e "s,python,${PYTHONBIN},g" \
|
|
${WRKSRC}/${MAKE_FILE} > ${WRKSRC}/${MAKE_FILE}.done
|
|
${MV} ${WRKSRC}/${MAKE_FILE}.done ${WRKSRC}/${MAKE_FILE}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cwpcm ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cwtext ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cwmm ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|