pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/wavesurfer Switch to Tk 8.4 and add a missing fi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a3a6ba2b2131
branches:  trunk
changeset: 470473:a3a6ba2b2131
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Tue Mar 09 18:04:06 2004 +0000

description:
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.

diffstat:

 audio/wavesurfer/Makefile |  22 +++++++++++++++++-----
 audio/wavesurfer/PLIST    |   3 ++-
 2 files changed, 19 insertions(+), 6 deletions(-)

diffs (58 lines):

diff -r 19f2f97e1bec -r a3a6ba2b2131 audio/wavesurfer/Makefile
--- a/audio/wavesurfer/Makefile Tue Mar 09 18:01:26 2004 +0000
+++ b/audio/wavesurfer/Makefile Tue Mar 09 18:04:06 2004 +0000
@@ -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 @@
 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 -r 19f2f97e1bec -r a3a6ba2b2131 audio/wavesurfer/PLIST
--- a/audio/wavesurfer/PLIST    Tue Mar 09 18:01:26 2004 +0000
+++ b/audio/wavesurfer/PLIST    Tue Mar 09 18:04:06 2004 +0000
@@ -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/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



Home | Main Index | Thread Index | Old Index