aboutsummaryrefslogtreecommitdiffstats
path: root/audio/jxm/Makefile
blob: 31798817acdfcb1fd90898ff9bba60ff33d31cff (plain) (blame)
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
# Created by: Nick Sayer <nsayer@FreeBSD.org>
# $FreeBSD$

PORTNAME=   jxm
PORTVERSION=    1.4
PORTREVISION=   1
CATEGORIES= audio java
MASTER_SITES=   SF/javaxm/JAR%20file%20only/${PORTVERSION}
EXTRACT_SUFX=   .jar
EXTRACT_ONLY=

MAINTAINER= ports@FreeBSD.org
COMMENT=    XMPCR (USB XM radio) control software

RUN_DEPENDS=    ${JAVA_HOME}/jre/lib/ext/CommDriver.jar:comms/java-commapi-freebsd

USE_JAVA=   yes
JAVA_VERSION=   1.6+
JAVA_OS=    native

NO_BUILD=   yes
NO_WRKSUBDIR=   yes

SUB_FILES=  jxm.sh
PLIST_FILES=    %%JAVAJARDIR%%/jxm.jar bin/jxm

do-install:
    @${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${STAGEDIR}${JAVAJARDIR}/jxm.jar
    @${INSTALL_SCRIPT} ${WRKDIR}/jxm.sh ${STAGEDIR}${PREFIX}/bin/jxm

.include <bsd.port.mk>