2003-02-04 02:06:58 +01:00
|
|
|
# New ports collection makefile for: streamtuner
|
|
|
|
# Date created: 02 Apr 2002
|
|
|
|
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= streamtuner
|
2004-12-22 03:25:39 +01:00
|
|
|
PORTVERSION= 0.99.99
|
2011-02-25 00:25:54 +01:00
|
|
|
PORTREVISION= 18
|
2003-02-04 02:06:58 +01:00
|
|
|
CATEGORIES= audio www
|
2004-02-01 13:48:50 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2003-02-04 02:06:58 +01:00
|
|
|
|
2008-04-29 07:11:44 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-05 11:29:41 +01:00
|
|
|
COMMENT= A GTK+ stream directory browser
|
2003-02-04 02:06:58 +01:00
|
|
|
|
2007-10-25 01:37:25 +02:00
|
|
|
BUILD_DEPENDS= rarian-sk-config:${PORTSDIR}/textproc/rarian
|
2003-07-16 08:23:23 +02:00
|
|
|
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
|
2006-10-14 10:54:54 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme
|
2003-02-04 02:06:58 +01:00
|
|
|
|
2004-05-12 09:03:35 +02:00
|
|
|
USE_GNOME= gtk20 gnomehack gnomeprefix
|
2004-07-27 09:56:23 +02:00
|
|
|
USE_GMAKE= yes
|
2007-10-25 01:37:25 +02:00
|
|
|
INSTALLS_OMF= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2004-12-22 03:25:39 +01:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2003-02-04 02:06:58 +01:00
|
|
|
|
2004-10-28 23:20:12 +02:00
|
|
|
OPTIONS= SHOUTCAST "SHOUTcast plugin" on \
|
|
|
|
LIVE365 "Live365 plugin" on \
|
|
|
|
XIPH "Xiph plugin" on \
|
|
|
|
LOCAL "Local plugin" on \
|
|
|
|
LOCAL_METADATA "metadata support for the Local plugin" on \
|
|
|
|
PYTHON "Python plugin" on
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITHOUT_SHOUTCAST)
|
|
|
|
CONFIGURE_ARGS+= --disable-shoutcast
|
|
|
|
PLIST_SUB+= SHOUTCAST="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= SHOUTCAST=""
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITHOUT_LIVE365)
|
|
|
|
CONFIGURE_ARGS+= --disable-live365
|
|
|
|
PLIST_SUB+= LIVE365="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= LIVE365=""
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITHOUT_XIPH)
|
|
|
|
CONFIGURE_ARGS+= --disable-xiph
|
|
|
|
PLIST_SUB+= XIPH="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= XIPH=""
|
|
|
|
USE_GNOME+= libxml2
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITHOUT_LOCAL)
|
|
|
|
CONFIGURE_ARGS+= --disable-local
|
|
|
|
PLIST_SUB+= LOCAL="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= LOCAL=""
|
|
|
|
.if defined(WITHOUT_LOCAL_METADATA)
|
|
|
|
CONFIGURE_ARGS+= --disable-local-metadata
|
|
|
|
.else
|
|
|
|
LIB_DEPENDS+= tag_c:${PORTSDIR}/audio/taglib
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITHOUT_PYTHON)
|
|
|
|
CONFIGURE_ARGS+= --disable-python
|
|
|
|
PLIST_SUB+= PYTHON="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= PYTHON=""
|
2011-02-25 00:25:54 +01:00
|
|
|
USE_PYTHON= 2.5+
|
2004-10-28 23:20:12 +02:00
|
|
|
# we need to manually include this, because USE_PYTHON is defined
|
|
|
|
# after including bsd.port.pre.mk
|
|
|
|
.include "${PORTSDIR}/Mk/bsd.python.mk"
|
2004-12-22 03:25:39 +01:00
|
|
|
USE_GNOME+= pygtk2
|
2004-10-28 23:20:12 +02:00
|
|
|
.endif
|
|
|
|
|
2007-03-23 23:38:33 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
|
2007-10-25 01:37:25 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|[(]datadir[)]/help|(datadir)/gnome/help|g' \
|
|
|
|
${WRKSRC}/help/C/Makefile.in
|
2007-03-23 23:38:33 +01:00
|
|
|
|
2004-10-28 23:20:12 +02:00
|
|
|
.include <bsd.port.post.mk>
|