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

(-)gmusicbrowser/Makefile (-17 / +12 lines)
Lines 1-9 Link Here
1
# New ports collection makefile for:	gmusicbrowser
1
# Created by:	Zhihao Yuan <lichray@gmail.com>
2
# Date created:		2011-10-13
3
# Whom:			Zhihao Yuan <lichray@gmail.com>
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	gmusicbrowser
4
PORTNAME=	gmusicbrowser
9
PORTVERSION=	1.1.9
5
PORTVERSION=	1.1.9
Lines 20-47 Link Here
20
PORTDOCS=	AUTHORS COPYING README NEWS INSTALL layout_doc.html
16
PORTDOCS=	AUTHORS COPYING README NEWS INSTALL layout_doc.html
21
PORTDATA=	*
17
PORTDATA=	*
22
18
23
OPTIONS=	GST	"Enable GStreamer backend"	Off \
19
#OPTIONS_DEFINE=	GST MPLAYER DBUS WEBKIT NLS MPG123
24
		MPLAYER	"Enable mplayer backend"	On \
20
OPTIONS_DEFINE=	GSTREAMER MPLAYER DBUS WEBKIT NLS
25
		DBUS	"Enable DBus (Gnome multimedia key)" Off \
21
OPTIONS_DEFAULT=	MPLAYER NLS
26
		WEBKIT	"Enable embedded web browser" Off \
27
		NLS	"Enable Native Language Support" On
28
#		123	"Enable mpg123/ogg123 backend"	Off  # alsa-only
29
22
30
.include <bsd.port.pre.mk>
23
WEBKIT_DESC=	Enable embedded web browser
31
24
32
.if defined(WITH_GST)
25
.include <bsd.port.options.mk>
26
27
.if ${PORT_OPTIONS:MGSTREAMER}
33
RUN_DEPENDS+=	p5-GStreamer>=0:${PORTSDIR}/multimedia/p5-GStreamer
28
RUN_DEPENDS+=	p5-GStreamer>=0:${PORTSDIR}/multimedia/p5-GStreamer
34
.endif
29
.endif
35
30
36
.if defined(WITH_MPLAYER)
31
.if ${PORT_OPTIONS:MMPLAYER}
37
RUN_DEPENDS+=	mplayer:${PORTSDIR}/multimedia/mplayer
32
RUN_DEPENDS+=	mplayer:${PORTSDIR}/multimedia/mplayer
38
.endif
33
.endif
39
34
40
.if defined(WITH_DBUS)
35
.if ${PORT_OPTIONS:MDBUS}
41
RUN_DEPENDS+=	p5-Net-DBus>=1.0:${PORTSDIR}/devel/p5-Net-DBus
36
RUN_DEPENDS+=	p5-Net-DBus>=1.0:${PORTSDIR}/devel/p5-Net-DBus
42
.endif
37
.endif
43
38
44
.if defined(WITH_WEBKIT)
39
.if ${PORT_OPTIONS:MWEBKIT}
45
RUN_DEPENDS+=	p5-Gtk2-WebKit>=0:${PORTSDIR}/www/p5-Gtk2-WebKit
40
RUN_DEPENDS+=	p5-Gtk2-WebKit>=0:${PORTSDIR}/www/p5-Gtk2-WebKit
46
.endif
41
.endif
47
42
Lines 72-75 Link Here
72
		${FIND} locale -type f | ${SED} "s|^|share/|g" >> ${TMPPLIST})
67
		${FIND} locale -type f | ${SED} "s|^|share/|g" >> ${TMPPLIST})
73
.endif
68
.endif
74
69
75
.include <bsd.port.post.mk>
70
.include <bsd.port.mk>

Return to bug 173800