Lines 1-66
Link Here
|
1 |
# Created by: Olivier Duchateau |
1 |
# Created by: Olivier Duchateau |
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= siren |
4 |
PORTNAME= siren |
5 |
PORTVERSION= 0.9 |
5 |
PORTVERSION= 0.9 |
6 |
PORTREVISION= 1 |
6 |
PORTREVISION= 2 |
7 |
CATEGORIES= audio |
7 |
CATEGORIES= audio |
8 |
MASTER_SITES= http://www.kariliq.nl/${PORTNAME}/dist/ |
8 |
MASTER_SITES= http://www.kariliq.nl/${PORTNAME}/dist/ |
9 |
|
9 |
|
10 |
MAINTAINER= ports@FreeBSD.org |
10 |
MAINTAINER= ports@FreeBSD.org |
11 |
COMMENT= Text-based audio player |
11 |
COMMENT= Text-based audio player |
12 |
|
12 |
|
13 |
LICENSE= ISCL |
13 |
LICENSE= ISCL |
14 |
LICENSE_FILE= ${WRKSRC}/LICENCE |
14 |
LICENSE_FILE= ${WRKSRC}/LICENCE |
15 |
|
15 |
|
16 |
LIB_DEPENDS= libFLAC.so:audio/flac \ |
|
|
17 |
libid3tag.so:audio/libid3tag \ |
18 |
libmad.so:audio/libmad \ |
19 |
libvorbis.so:audio/libvorbis \ |
20 |
libwavpack.so:audio/wavpack \ |
21 |
libopusfile.so:audio/opusfile |
22 |
|
23 |
BROKEN_mips= fails to configure: cannot find program /nxb-bin/usr/bin/cc |
16 |
BROKEN_mips= fails to configure: cannot find program /nxb-bin/usr/bin/cc |
24 |
BROKEN_mips64= fails to configure: cannot find program /nxb-bin/usr/bin/cc |
17 |
BROKEN_mips64= fails to configure: cannot find program /nxb-bin/usr/bin/cc |
25 |
|
18 |
|
26 |
USES= ncurses pkgconfig |
19 |
USES= localbase:ldflags ncurses pkgconfig |
27 |
HAS_CONFIGURE= yes |
20 |
HAS_CONFIGURE= yes |
28 |
USE_CSTD= c99 |
21 |
USE_CSTD= c99 |
29 |
|
22 |
|
30 |
OPTIONS_DEFINE= FFMPEG MPG123 |
23 |
OPTIONS_DEFINE= FAAD FFMPEG FLAC MAD MPG123 OPUS SNDFILE VORBIS WAVPACK |
31 |
OPTIONS_MULTI= SOUND |
24 |
OPTIONS_MULTI= SOUND |
32 |
OPTIONS_MULTI_SOUND= OSS PULSEAUDIO SNDIO |
25 |
OPTIONS_MULTI_SOUND= OSS PULSEAUDIO SNDIO |
33 |
OPTIONS_DEFAULT= OSS |
26 |
OPTIONS_DEFAULT= FFMPEG OSS |
34 |
OSS_CONFIGURE_ON= oss=yes |
27 |
OSS_CONFIGURE_ON= oss=yes |
35 |
OSS_CONFIGURE_OFF= oss=no |
28 |
OSS_CONFIGURE_OFF= oss=no |
36 |
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio |
29 |
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio |
37 |
PULSEAUDIO_CONFIGURE_ON= pulse=yes |
30 |
PULSEAUDIO_CONFIGURE_ON= pulse=yes |
38 |
PULSEAUDIO_CONFIGURE_OFF= pulse=no |
31 |
PULSEAUDIO_CONFIGURE_OFF= pulse=no |
39 |
SNDIO_CONFIGURE_ON= sndio=yes |
32 |
SNDIO_CONFIGURE_ON= sndio=yes |
40 |
SNDIO_CONFIGURE_OFF= sndio=no |
33 |
SNDIO_CONFIGURE_OFF= sndio=no |
41 |
SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio |
34 |
SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio |
42 |
SNDIO_USES= localbase:ldflags |
35 |
SNDIO_USES= localbase:ldflags |
|
|
36 |
FAAD_CONFIGURE_ON= aac=yes |
37 |
FAAD_CONFIGURE_OFF= aac=no |
38 |
FAAD_LIB_DEPENDS= libfaad.so:audio/faad \ |
39 |
libmp4v2.so:multimedia/mp4v2 |
43 |
FFMPEG_CONFIGURE_ON= ffmpeg=yes |
40 |
FFMPEG_CONFIGURE_ON= ffmpeg=yes |
44 |
FFMPEG_CONFIGURE_OFF= ffmpeg=no |
41 |
FFMPEG_CONFIGURE_OFF= ffmpeg=no |
45 |
FFMPEG_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg |
42 |
FFMPEG_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg |
|
|
43 |
FLAC_CONFIGURE_ON= flac=yes |
44 |
FLAC_CONFIGURE_OFF= flac=no |
45 |
FLAC_LIB_DEPENDS= libFLAC.so:audio/flac |
46 |
MAD_CONFIGURE_ON= mad=yes |
47 |
MAD_CONFIGURE_OFF= mad=no |
48 |
MAD_LIB_DEPENDS= libmad.so:audio/libmad \ |
49 |
libid3tag.so:audio/libid3tag |
46 |
MPG123_CONFIGURE_ON= mpg123=yes |
50 |
MPG123_CONFIGURE_ON= mpg123=yes |
47 |
MPG123_CONFIGURE_OFF= mpg123=no |
51 |
MPG123_CONFIGURE_OFF= mpg123=no |
48 |
MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123 |
52 |
MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123 |
|
|
53 |
OPUS_CONFIGURE_ON= opus=yes |
54 |
OPUS_CONFIGURE_OFF= opus=no |
55 |
OPUS_LIB_DEPENDS= libopusfile.so:audio/opusfile |
56 |
SNDFILE_CONFIGURE_ON= sndfile=yes |
57 |
SNDFILE_CONFIGURE_OFF= sndfile=no |
58 |
SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile |
59 |
VORBIS_CONFIGURE_ON= vorbis=yes |
60 |
VORBIS_CONFIGURE_OFF= vorbis=no |
61 |
VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis |
62 |
WAVPACK_CONFIGURE_ON= wavpack=yes |
63 |
WAVPACK_CONFIGURE_OFF= wavpack=no |
64 |
WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack |
49 |
OPTIONS_SUB= yes |
65 |
OPTIONS_SUB= yes |
50 |
|
66 |
|
51 |
CONFIGURE_ARGS= sndfile=no \ |
67 |
CONFIGURE_ARGS= alsa=no \ |
52 |
alsa=no \ |
|
|
53 |
ao=no \ |
68 |
ao=no \ |
54 |
sun=no \ |
69 |
sun=no \ |
55 |
portaudio=no \ |
70 |
portaudio=no |
56 |
aac=no |
|
|
57 |
|
71 |
|
58 |
post-patch: |
72 |
post-patch: |
59 |
@${REINPLACE_CMD} -e 's|-lcurses|-lncurses|' ${WRKSRC}/configure |
73 |
@${REINPLACE_CMD} -e 's|-lcurses|-lncurses|' ${WRKSRC}/configure |
60 |
|
74 |
|
61 |
post-install: |
75 |
post-install: |
62 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/siren |
76 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/siren |
63 |
@${FIND} ${STAGEDIR}${PREFIX}/lib/siren -path '*.so' \ |
77 |
@${FIND} ${STAGEDIR}${PREFIX}/lib/siren -path '*.so' \ |
64 |
| ${XARGS} ${STRIP_CMD} |
78 |
| ${XARGS} ${STRIP_CMD} |
65 |
|
79 |
|
66 |
.include <bsd.port.mk> |
80 |
.include <bsd.port.mk> |