blob: 3b854d2420eb76749c15c034b8776fc9616a3045 (
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
|
# New ports collection makefile for: musiccontrol
# Date created: 9 june 2003
# Whom: Christian Laursen <xi@borderworlds.dk>
#
# $FreeBSD$
#
PORTNAME= musiccontrol
PORTVERSION= 0.3
CATEGORIES= audio java
MASTER_SITES= http://borderworlds.dk/projects/mc/
DISTNAME= MusicControl-0.3
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
USE_JAVA= yes
JAVA_VERSION= 1.4+
NO_BUILD= yes
PLIST_FILES= share/java/classes/MusicControl-${PORTVERSION}.jar bin/musiccontrol
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>
|