blob: fe7cf0136911d3a3883ed455894f7dbea08e0994 (
plain)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# Created by: Lars Engels <lme@FreeBSD.org>
# $FreeBSD$
PORTNAME= atunes
PORTVERSION= 3.1.2
CATEGORIES= audio java
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/aTunes%20${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}-bin
MAINTAINER= lme@FreeBSD.org
COMMENT= Full-featured audio player and manager developed in Java
LICENSE= GPLv2
NO_BUILD= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
SUB_FILES= atunes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= CDDA2WAV
OPTIONS_MULTI= ENCODER ENGINE
OPTIONS_MULTI_ENCODER= LAME VORBIS FLAC
OPTIONS_MULTI_ENGINE= MPLAYER XINE
OPTIONS_DEFAULT= MPLAYER CDDA2WAV LAME VORBIS
MPLAYER_DESC= Engine: Use Mplayer
XINE_DESC= Engine: Use Xine
CDDA2WAV_DESC= Ripper: Enable cdrtools support
LAME_DESC= Encoder: Enable lame MP3 encoder
VORBIS_DESC= Encoder: Enable vorbis OGG encoder
FLAC_DESC= Encoder: Enable FLAC encoder
MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer
XINE_LIB_DEPENDS= libxine.so:multimedia/libxine
CDDA2WAV_RUN_DEPENDS= cdda2wav:sysutils/cdrtools
LAME_RUN_DEPENDS= lame:audio/lame
VORBIS_RUN_DEPENDS= ogg123:audio/vorbis-tools
FLAC_RUN_DEPENDS= flac:audio/flac
DESKTOP_ENTRIES="aTunes" \
"Audio player and manager" \
"${PREFIX}/share/pixmaps/atunes.png" \
"atunes" \
"Audio;AudioVideo;Java;" \
true
INSTALL_FILES= aTunes.ico aTunes.jar splash.gif changelog.txt
PIXMAPS= atunes.png
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${DATADIR}/lib
${INSTALL_SCRIPT} ${WRKDIR}/atunes ${STAGEDIR}${PREFIX}/bin
.for file in ${INSTALL_FILES}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DATADIR}/${file}
.endfor
@(cd ${WRKSRC} && ${FIND} lib -type f -name "*.jar" -exec ${INSTALL_DATA} {} \
${STAGEDIR}${DATADIR}/{} \;)
@(cd ${WRKSRC} && ${COPYTREE_SHARE} settings ${STAGEDIR}${DATADIR}/)
.for file in ${PIXMAPS}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/share/pixmaps
.endfor
.include <bsd.port.mk>
|