aboutsummaryrefslogtreecommitdiffstats
path: root/audio/jxm/Makefile
blob: d1907d9fef4a0a031e081b8d87c137d8f955e75e (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
32
33
34
35
36
# New ports collection makefile for:    jxm
# Date created:     07 March 2004
# Whom:         Nick Sayer <nsayer@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=   jxm
PORTVERSION=    1.2
CATEGORIES= audio
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= javaxm
DISTNAME=   jxm-${PORTVERSION}
EXTRACT_SUFX=   .jar

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

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

USE_JAVA=   1.4+

do-extract:
    ${MKDIR} ${WRKSRC}

do-build:
    @${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
        < ${FILESDIR}/jxm > ${WRKSRC}/jxm

do-install:
    ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} \
        ${PREFIX}/share/java/classes/jxm.jar
    ${INSTALL_SCRIPT} ${WRKSRC}/jxm \
        ${PREFIX}/bin/jxm

.include <bsd.port.mk>