aboutsummaryrefslogtreecommitdiff
path: root/audio/tkeca/Makefile
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2013-03-23 14:24:59 +0000
committerChris Rees <crees@FreeBSD.org>2013-03-23 14:24:59 +0000
commit09e69a6a54715ee5c8e873bda183e6cdfa313a75 (patch)
tree6522e8f970399a4936e836b4937b05f4068e16bc /audio/tkeca/Makefile
parentc75e48fcb985ac85ad2777ea5cc821d5f0367d16 (diff)
downloadports-09e69a6a54715ee5c8e873bda183e6cdfa313a75.tar.gz
ports-09e69a6a54715ee5c8e873bda183e6cdfa313a75.zip
Notes
Diffstat (limited to 'audio/tkeca/Makefile')
-rw-r--r--audio/tkeca/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/audio/tkeca/Makefile b/audio/tkeca/Makefile
new file mode 100644
index 000000000000..9dbec0af8e02
--- /dev/null
+++ b/audio/tkeca/Makefile
@@ -0,0 +1,37 @@
+# $FreeBSD$
+
+PORTNAME= tkeca
+PORTVERSION= 4.4.3
+CATEGORIES= audio
+MASTER_SITES= SF/${PORTNAME}
+
+MAINTAINER= crees@FreeBSD.org
+COMMENT= Tk interface to ecasound
+
+LICENSE= GPLv2
+
+RUN_DEPENDS= normalize:${PORTSDIR}/audio/normalize \
+ ecasound:${PORTSDIR}/audio/ecasound
+
+USE_TCL= yes
+USE_TK= yes
+
+NO_BUILD= yes
+PORTDOCS= *
+
+.include <bsd.port.options.mk>
+
+post-patch:
+ ${REINPLACE_CMD} -e '3s,^exec wish,exec ${WISH},' ${WRKSRC}/tkeca.tcl
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/tkeca.tcl ${PREFIX}/bin/tkeca
+ ${INSTALL_DATA} ${WRKSRC}/tkeca.png ${PREFIX}/share/pixmaps/
+ ${INSTALL_DATA} ${WRKSRC}/tkeca.desktop ${PREFIX}/share/applications/
+ -@update-desktop-database
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/tkeca.html ${WRKSRC}/README.tkeca ${DOCSDIR}/
+.endif
+
+.include <bsd.port.mk>