View | Details | Raw Unified | Return to bug 173776
Collapse All | Expand All

(-)aqualung/Makefile (-31 / +26 lines)
Lines 1-9 Link Here
1
# New ports collection makefile for:	aqualung
1
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
2
# Date created:		08 October 2006
3
# Whom:			Andrew Pantyukhin <infofarmer@FreeBSD.org>
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	aqualung
4
PORTNAME=	aqualung
9
DISTVERSION=	0.9beta11
5
DISTVERSION=	0.9beta11
Lines 15-40 Link Here
15
MAINTAINER=	jsa@FreeBSD.org
11
MAINTAINER=	jsa@FreeBSD.org
16
COMMENT=	Music player with rich features
12
COMMENT=	Music player with rich features
17
13
18
LIB_DEPENDS=	samplerate.1:${PORTSDIR}/audio/libsamplerate \
14
LIB_DEPENDS=	samplerate:${PORTSDIR}/audio/libsamplerate \
19
		sndfile.1:${PORTSDIR}/audio/libsndfile \
15
		sndfile:${PORTSDIR}/audio/libsndfile \
20
		FLAC.10:${PORTSDIR}/audio/flac \
16
		FLAC:${PORTSDIR}/audio/flac \
21
		vorbis.4:${PORTSDIR}/audio/libvorbis \
17
		vorbis:${PORTSDIR}/audio/libvorbis \
22
		oggz.8:${PORTSDIR}/audio/liboggz \
18
		oggz:${PORTSDIR}/audio/liboggz \
23
		speex.1:${PORTSDIR}/audio/speex \
19
		speex:${PORTSDIR}/audio/speex \
24
		mad.2:${PORTSDIR}/audio/libmad \
20
		mad:${PORTSDIR}/audio/libmad \
25
		modplug.1:${PORTSDIR}/audio/libmodplug \
21
		modplug:${PORTSDIR}/audio/libmodplug \
26
		mpcdec.7:${PORTSDIR}/audio/musepack \
22
		mpcdec:${PORTSDIR}/audio/musepack \
27
		mac.2:${PORTSDIR}/audio/mac \
23
		mac:${PORTSDIR}/audio/mac \
28
		tag.1:${PORTSDIR}/audio/taglib \
24
		tag:${PORTSDIR}/audio/taglib \
29
		lrdf.2:${PORTSDIR}/textproc/liblrdf \
25
		lrdf:${PORTSDIR}/textproc/liblrdf \
30
		cdio.13:${PORTSDIR}/sysutils/libcdio \
26
		cdio:${PORTSDIR}/sysutils/libcdio \
31
		mp3lame.0:${PORTSDIR}/audio/lame \
27
		mp3lame:${PORTSDIR}/audio/lame \
32
		avcodec.1:${PORTSDIR}/multimedia/ffmpeg \
28
		avcodec:${PORTSDIR}/multimedia/ffmpeg \
33
		strfunc.9:${PORTSDIR}/devel/libstrfunc \
29
		strfunc:${PORTSDIR}/devel/libstrfunc \
34
		wavpack.2:${PORTSDIR}/audio/wavpack \
30
		wavpack:${PORTSDIR}/audio/wavpack \
35
		xslt.2:${PORTSDIR}/textproc/libxslt \
31
		xslt:${PORTSDIR}/textproc/libxslt \
36
		cddb.4:${PORTSDIR}/audio/libcddb \
32
		cddb:${PORTSDIR}/audio/libcddb \
37
		strfunc.9:${PORTSDIR}/devel/libstrfunc
33
		strfunc:${PORTSDIR}/devel/libstrfunc
38
34
39
USE_GETTEXT=	yes
35
USE_GETTEXT=	yes
40
USE_GNOME=	pkgconfig gtk20 libxml2
36
USE_GNOME=	pkgconfig gtk20 libxml2
Lines 46-67 Link Here
46
LDFLAGS+=	-L${LOCALBASE}/lib -lstrfunc
42
LDFLAGS+=	-L${LOCALBASE}/lib -lstrfunc
47
MAN1=		${PORTNAME}.1
43
MAN1=		${PORTNAME}.1
48
44
49
OPTIONS=	JACK "Enable JACK low-latency audio server support" Off \
45
OPTIONS_DEFINE=	JACK PULSE
50
		PULSE "Enable PulseAudio sound server support" Off
51
46
52
.include <bsd.port.options.mk>
47
.include <bsd.port.options.mk>
53
48
54
.if !defined(WITH_JACK)
49
.if ${PORT_OPTIONS:MJACK}
55
CONFIGURE_ARGS+=	--with-jack=no
50
CONFIGURE_ARGS+=	--with-jack=no
56
.else
51
.else
57
LIB_DEPENDS+=	jack.0:${PORTSDIR}/audio/jack
52
LIB_DEPENDS+=	jack:${PORTSDIR}/audio/jack
58
CONFIGURE_ARGS+=	--with-jack=yes
53
CONFIGURE_ARGS+=	--with-jack=yes
59
.endif
54
.endif
60
55
61
.if !defined(WITH_PULSE)
56
.if ${PORT_OPTIONS:MPULSE}
62
CONFIGURE_ARGS+=	--with-pulse=no
57
CONFIGURE_ARGS+=	--with-pulse=no
63
.else
58
.else
64
LIB_DEPENDS+=	pulse.0:${PORTSDIR}/audio/pulseaudio
59
LIB_DEPENDS+=	pulse:${PORTSDIR}/audio/pulseaudio
65
CONFIGURE_ARGS+=	--with-pulse=yes
60
CONFIGURE_ARGS+=	--with-pulse=yes
66
.endif
61
.endif

Return to bug 173776