blob: 46f46d88f4ee53fe360ef5278a98196705a484b2 (
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
51
52
53
54
55
56
57
58
|
# Created by: Jean-Yves Lefort <jylefort@brutele.be>
# $FreeBSD$
PORTNAME= streamtuner
PORTVERSION= 0.99.99
PORTREVISION= 20
CATEGORIES= audio www
MASTER_SITES= SAVANNAH
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK+ stream directory browser
BUILD_DEPENDS= rarian-sk-config:${PORTSDIR}/textproc/rarian
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme
USES= gettext gmake libtool pathfix pkgconfig
USE_GNOME= gtk20 gnomeprefix
INSTALLS_OMF= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= SHOUTCAST LIVE365 XIPH LOCAL LOCAL_METADATA PYTHON
OPTIONS_DEFAULT= SHOUTCAST LIVE365 XIPH LOCAL LOCAL_METADATA
SHOUTCAST_DESC= SHOUTcast plugin
LIVE365_DESC= Live365 plugin
LOCAL_DESC= Local plugin
LOCAL_METADATA_DESC= Metadata support for the Local plugin
XIPH_DESC= Xiph plugin
OPTIONS_SUB= yes
SHOUTCAST_CONFIGURE_ENABLE= shoutcast
LIB365_CONFIGURE_ENABLE= libve365
XIPH_CONFIGURE_ENABLE= xiph
PYTHON_USE= python=yes gnome=pygtk2
PYTHON_CONFIGURE_ENABLE= python
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MLOCAL}
PLIST_SUB+= LOCAL=""
.if ${PORT_OPTIONS:MLOCAL_METADATA}
LIB_DEPENDS+= libtag_c.so:${PORTSDIR}/audio/taglib
.else
CONFIGURE_ARGS+= --disable-local-metadata
.endif
.else
CONFIGURE_ARGS+= --disable-local
PLIST_SUB+= LOCAL="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|[(]datadir[)]/help|(datadir)/gnome/help|g' \
${WRKSRC}/help/C/Makefile.in
.include <bsd.port.mk>
|