aboutsummaryrefslogtreecommitdiff
path: root/audio/tkeca
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2013-12-29 14:17:15 +0000
committerChris Rees <crees@FreeBSD.org>2013-12-29 14:17:15 +0000
commit757ae83b727ee6f65ffe0fd6557df0199caf4ee5 (patch)
tree938fec78ed55e0ce817f2ff451ff25fdfead0420 /audio/tkeca
parent1c55544dd8903e3221e0c20ed692fe4a5f253d5b (diff)
downloadports-757ae83b727ee6f65ffe0fd6557df0199caf4ee5.tar.gz
ports-757ae83b727ee6f65ffe0fd6557df0199caf4ee5.zip
Stage audio ports maintained by me
Notes
Notes: svn path=/head/; revision=337989
Diffstat (limited to 'audio/tkeca')
-rw-r--r--audio/tkeca/Makefile22
-rw-r--r--audio/tkeca/pkg-plist2
2 files changed, 8 insertions, 16 deletions
diff --git a/audio/tkeca/Makefile b/audio/tkeca/Makefile
index ddf46a75ed9d..7b6094ee871d 100644
--- a/audio/tkeca/Makefile
+++ b/audio/tkeca/Makefile
@@ -13,27 +13,21 @@ LICENSE= GPLv2
RUN_DEPENDS= normalize:${PORTSDIR}/audio/normalize \
ecasound:${PORTSDIR}/audio/ecasound
-USE_GNOME= desktopfileutils
-NO_STAGE= yes
-USE_TCL= yes
-USE_TK= yes
+USES= desktop-file-utils tk
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
+ ${INSTALL_SCRIPT} ${WRKSRC}/tkeca.tcl ${STAGEDIR}${PREFIX}/bin/tkeca
+ ${INSTALL_DATA} ${WRKSRC}/tkeca.png ${STAGEDIR}${PREFIX}/share/pixmaps/
+ ${INSTALL_DATA} ${WRKSRC}/tkeca.desktop \
+ ${STAGEDIR}${PREFIX}/share/applications/
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/tkeca.html ${WRKSRC}/README.tkeca \
+ ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
diff --git a/audio/tkeca/pkg-plist b/audio/tkeca/pkg-plist
index 16e1fe512576..b34cd894d3bf 100644
--- a/audio/tkeca/pkg-plist
+++ b/audio/tkeca/pkg-plist
@@ -1,5 +1,3 @@
bin/tkeca
share/applications/tkeca.desktop
share/pixmaps/tkeca.png
-@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
-@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true