mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
18582552c9
- Use SUB_FILES for launcher shell script - Use PLIST_FILES - Set NO_BUILD - Enforce the use of a native JDK (in the port and the launcher shell script) - Fill pkg-descr
40 lines
790 B
Makefile
40 lines
790 B
Makefile
# 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= ${JAVA_HOME}/jre/lib/ext/CommDriver.jar:${PORTSDIR}/comms/java-commapi-freebsd
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.4+
|
|
JAVA_OS= native
|
|
|
|
NO_BUILD= yes
|
|
|
|
SUB_FILES= jxm.sh
|
|
PLIST_FILES= %%JAVAJARDIR%%/jxm.jar bin/jxm
|
|
|
|
do-extract:
|
|
${MKDIR} ${WRKDIR}
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${DISTDIR}/${DISTFILES} \
|
|
${JAVAJARDIR}/jxm.jar
|
|
${INSTALL_SCRIPT} ${WRKDIR}/jxm.sh \
|
|
${PREFIX}/bin/jxm
|
|
|
|
.include <bsd.port.mk>
|