mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
33aca413b5
- Update to bsd.java.mk 2.0 - Use INSTALL_DATA and INSTALL_SCRIPT macros - Register java/javavmwrapper as a run dependency - Use JAVAJARDIR in launcher script - Use LOCALBASE rather than PREFIX to invoke javavmwrapper in launcher script PR: 73856 [1] Submitted by: maintainer [1]
36 lines
997 B
Makefile
36 lines
997 B
Makefile
# New ports collection makefile for: musiccontrol
|
|
# Date created: 9 june 2003
|
|
# Whom: Christian Laursen <xi@borderworlds.dk>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= musiccontrol
|
|
PORTVERSION= 0.2
|
|
CATEGORIES= audio java
|
|
MASTER_SITES= http://borderworlds.dk/projects/mc/
|
|
DISTNAME= MusicControl-0.2
|
|
EXTRACT_SUFX= .jar
|
|
EXTRACT_ONLY=
|
|
|
|
MAINTAINER= xi@borderworlds.dk
|
|
COMMENT= An advanced music player
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/mpg123:${PORTSDIR}/audio/mpg123 \
|
|
${LOCALBASE}/bin/ogg123:${PORTSDIR}/audio/vorbis-tools \
|
|
${LOCALBASE}/bin/simplemod:${PORTSDIR}/audio/simplemod \
|
|
java:${PORTSDIR}/java/javavmwrapper
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.3+
|
|
NO_BUILD= yes
|
|
|
|
do-install:
|
|
@${MKDIR} ${JAVAJARDIR}
|
|
${INSTALL_DATA} ${DISTDIR}/MusicControl-${PORTVERSION}.jar ${JAVAJARDIR}/
|
|
${SED} 's,%%LOCALBASE%%,${LOCALBASE},g ; s,%%JAVAJARDIR%%,${JAVAJARDIR},g' \
|
|
${FILESDIR}/musiccontrol > ${WRKDIR}/musiccontrol
|
|
${INSTALL_SCRIPT} ${WRKDIR}/musiccontrol ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|