blob: acc7894e04b29266219f582d1e6d1a13ee8940bb (
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
|
# $NetBSD: Makefile,v 1.1 2014/08/07 20:53:26 wiz Exp $
DISTNAME= spectro-edit_0.4
PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= audio
MASTER_SITES= https://spectro-edit.googlecode.com/files/
EXTRACT_SUFX= .jar
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://code.google.com/p/spectro-edit/
COMMENT= Graphically view and edit WAV files
LICENSE= gnu-gpl-v3
WRKSRC= ${WRKDIR}
USE_LANGUAGES= # none
INSTALLATION_DIRS= bin share/spectro-edit
USE_JAVA= run
USE_JAVA2= yes
do-build:
${ECHO} '#!/bin/sh' > ${WRKDIR}/spectro-edit.sh
${ECHO} "exec ${JAVA_BINPREFIX}-java -jar "'"'"${PREFIX}"'/share/spectro-edit/${DISTNAME}.jar" "$$@"' >> ${WRKDIR}/spectro-edit.sh
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/spectro-edit.sh ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar ${DESTDIR}${PREFIX}/share/spectro-edit
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
|