summaryrefslogtreecommitdiff
path: root/audio/wavesurfer/Makefile
blob: 6b49758c3b397786378832affdd08cc622020067 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $NetBSD: Makefile,v 1.20 2018/07/04 13:40:09 jperkin Exp $

DISTNAME=	wavesurfer-1.8.5
CATEGORIES=	audio
MASTER_SITES=	http://www.speech.kth.se/wavesurfer/

MAINTAINER=	gson@NetBSD.org
HOMEPAGE=	http://www.speech.kth.se/wavesurfer/
COMMENT=	Tool for sound visualization and manipulation
LICENSE=	esdl-license

DEPENDS+=	tcl-snack-[0-9]*:../../audio/tcl-snack
DEPENDS+=	tk-[0-9]*:../../x11/tk

USE_TOOLS+=	pax

NO_CONFIGURE=	yes
NO_BUILD=	yes
USE_LANGUAGES=	# empty

SUBST_CLASSES+=		wish
SUBST_MESSAGE.wish=	Fixing hardcoded command names.
SUBST_STAGE.wish=	pre-configure
SUBST_FILES.wish=	wavesurfer.tcl
SUBST_SED.wish=		-e 's,wish8.4,wish,g'

INSTALLATION_DIRS=	bin lib

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/wavesurfer.tcl \
		${DESTDIR}${PREFIX}/bin/wavesurfer
	cd ${WRKSRC} && pax -wr -pm wsurf1.8 ${DESTDIR}${PREFIX}/lib

.include "../../mk/bsd.pkg.mk"