blob: 22b5aff170f2d7d2a1cf7fcb90f96b53c71b20d0 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Created by: Radek Kozlowski <radek@raadradd.com>
# $FreeBSD$
PORTNAME= gxmms
PORTVERSION= 0.3.0
CATEGORIES= multimedia gnome
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= c.petrik.sosa@gmail.com
COMMENT= Simple GNOME panel applet for controlling XMMS
USE_GMAKE= yes
USE_GNOME= gnomehack gnomepanel gnomeprefix intlhack libgnomeui
USE_GETTEXT= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="`pkg-config --libs libgnomeui-2.0`"
CPPFLAGS+= -I${LOCALBASE}/include `pkg-config --cflags libgnomeui-2.0`
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_SINGLE= FRONTEND
OPTIONS_SINGLE_FRONTEND= XMMS BMP
OPTIONS_DEFAULT= XMMS
XMMS_DESC= Use xmms as frontend
BMP_DESC= Use BMP as frontend
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MXMMS}
CONFIGURE_ARGS+= --with-xmms
BUILD_DEPENDS+= xmms:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS+= xmms:${PORTSDIR}/multimedia/xmms
PLIST_SUB+= XMMS=""
.else
CONFIGURE_ARGS+=--disable-xmms
PLIST_SUB+= XMMS="@comment "
.endif
.if ${PORT_OPTIONS:MBMP}
CONFIGURE_ARGS+=--with-bmp
BUILD_DEPENDS+= beep-media-player:${PORTSDIR}/multimedia/beep-media-player
RUN_DEPENDS+= beep-media-player:${PORTSDIR}/multimedia/beep-media-player
PLIST_SUB+= BMP=""
.else
CONFIGURE_ARGS+=--disable-bmp
PLIST_SUB+= BMP="@comment "
.endif
.include <bsd.port.mk>
|