summaryrefslogtreecommitdiff
path: root/ham/cwtext/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ham/cwtext/Makefile')
-rw-r--r--ham/cwtext/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/ham/cwtext/Makefile b/ham/cwtext/Makefile
new file mode 100644
index 00000000000..c300598c3ea
--- /dev/null
+++ b/ham/cwtext/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/19 15:16:04 zuntum Exp $
+
+DISTNAME= cwtext-0.91
+CATEGORIES= textproc
+MASTER_SITES= http://prdownloads.sourceforge.net/cwtext/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://cwtext.sourceforge.net/
+COMMENT= Morse Code Generator
+
+MAKEFILE= makefile
+USE_GMAKE= YES
+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
+
+.include "../../lang/python/application.buildlink.mk"
+.include "../../mk/bsd.pkg.mk"