2004-01-24 14:30:55 +01:00
|
|
|
# $NetBSD: Makefile,v 1.7 2004/01/24 13:40:43 grant Exp $
|
2002-04-19 17:16:04 +02:00
|
|
|
|
|
|
|
DISTNAME= cwtext-0.91
|
2002-04-19 17:19:06 +02:00
|
|
|
CATEGORIES= ham
|
2002-05-12 12:16:44 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cwtext/}
|
2002-04-19 17:16:04 +02:00
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2002-04-19 17:16:04 +02:00
|
|
|
HOMEPAGE= http://cwtext.sourceforge.net/
|
|
|
|
COMMENT= Morse Code Generator
|
|
|
|
|
|
|
|
MAKEFILE= makefile
|
2004-01-24 14:30:55 +01:00
|
|
|
USE_GNU_TOOLS+= make
|
2002-04-19 17:16:04 +02:00
|
|
|
ALL_TARGET= ALL
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${SED} -e "s,^PREFIX,#PREFIX,g" \
|
|
|
|
-e "s,gcc,${CC} ${CFLAGS},g" \
|
|
|
|
-e "s,python,${PYTHONBIN},g" \
|
|
|
|
${WRKSRC}/${MAKEFILE} > ${WRKSRC}/${MAKEFILE}.done
|
|
|
|
${MV} ${WRKSRC}/${MAKEFILE}.done ${WRKSRC}/${MAKEFILE}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cwpcm ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cwtext ${PREFIX}/bin
|
|
|
|
|
2002-09-22 01:46:45 +02:00
|
|
|
.include "../../lang/python/application.mk"
|
2002-04-19 17:16:04 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|