summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-03-09 18:04:06 +0000
committerminskim <minskim@pkgsrc.org>2004-03-09 18:04:06 +0000
commitefdfa6f969d0768feaeddc6f728a5506fe13e0aa (patch)
tree795962c8a8430eea62993b474594733b7affda51
parent7f39dffca96d8b4037882662a9e791343d763e90 (diff)
downloadpkgsrc-efdfa6f969d0768feaeddc6f728a5506fe13e0aa.tar.gz
Switch to Tk 8.4 and add a missing file to PLIST. Since this package
doesn't build anything, define NO_BUILDLINK and set USE_LANGUAGES to an empty string. Bump PKGREVISION.
-rw-r--r--audio/wavesurfer/Makefile22
-rw-r--r--audio/wavesurfer/PLIST3
2 files changed, 19 insertions, 6 deletions
diff --git a/audio/wavesurfer/Makefile b/audio/wavesurfer/Makefile
index 69700b05fa1..b6a54008482 100644
--- a/audio/wavesurfer/Makefile
+++ b/audio/wavesurfer/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2004/03/08 20:27:13 minskim Exp $
+# $NetBSD: Makefile,v 1.7 2004/03/09 18:04:06 minskim Exp $
DISTNAME= wavesurfer-1.4.6
+PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.speech.kth.se/wavesurfer/
@@ -8,13 +9,24 @@ MAINTAINER= gson@NetBSD.org
HOMEPAGE= http://www.speech.kth.se/wavesurfer/
COMMENT= Tool for sound visualization and manipulation
-USE_BUILDLINK2= YES
-NO_BUILD= YES
+DEPENDS+= tcl-snack-[0-9]*:../../audio/tcl-snack
+DEPENDS+= tk-[0-9]*:../../x11/tk
+
+NO_BUILDLINK= yes
+NO_CONFIGURE= yes
+NO_BUILD= yes
+USE_LANGUAGES= # empty
+
+SUBST_CLASSES+= wish
+SUBST_MESSAGE.wish= "Fixing hardcoded command names."
+SUBST_STAGE.wish= post-patch
+SUBST_FILES.wish= wavesurfer.tcl
+SUBST_SED.wish= -e 's,wish8.3,wish,g' \
+
+INSTALLATION_DIRS= bin lib
do-install:
${CP} ${WRKSRC}/wavesurfer.tcl ${PREFIX}/bin/wavesurfer
${CP} -R ${WRKSRC}/wsurf1.4 ${PREFIX}/lib/
-.include "../../audio/tcl-snack/buildlink2.mk"
-.include "../../x11/tk83/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/wavesurfer/PLIST b/audio/wavesurfer/PLIST
index 969af9bd321..b24835e147f 100644
--- a/audio/wavesurfer/PLIST
+++ b/audio/wavesurfer/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2002/12/01 22:10:23 gson Exp $
+@comment $NetBSD: PLIST,v 1.3 2004/03/09 18:04:06 minskim Exp $
bin/wavesurfer
lib/wsurf1.4/cmdline.tcl
lib/wsurf1.4/combobox.tcl
@@ -7,6 +7,7 @@ lib/wsurf1.4/configurations/IPA transcription.conf
lib/wsurf1.4/configurations/Spectrogram.conf
lib/wsurf1.4/configurations/Speech analysis.conf
lib/wsurf1.4/configurations/TIMIT transcription.conf
+lib/wsurf1.4/configurations/Transcription.conf
lib/wsurf1.4/configurations/WAVES transcription.conf
lib/wsurf1.4/configurations/Waveform.conf
lib/wsurf1.4/configurations/n-waveforms.conf