diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-24 03:18:58 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-24 03:18:58 +0800 |
commit | ea55f3b2bed649895d0a305157d049811de8af05 (patch) | |
tree | 58e2b159dc3ffbdfca466db2a17f887065f43bd0 /audio/streamtuner/Makefile | |
parent | 8bb58d593f34bfc85ce219059cbd7ebde11a3f45 (diff) | |
download | marcuscom-ports-ea55f3b2bed649895d0a305157d049811de8af05.tar marcuscom-ports-ea55f3b2bed649895d0a305157d049811de8af05.tar.gz marcuscom-ports-ea55f3b2bed649895d0a305157d049811de8af05.tar.bz2 marcuscom-ports-ea55f3b2bed649895d0a305157d049811de8af05.tar.lz marcuscom-ports-ea55f3b2bed649895d0a305157d049811de8af05.tar.xz marcuscom-ports-ea55f3b2bed649895d0a305157d049811de8af05.tar.zst marcuscom-ports-ea55f3b2bed649895d0a305157d049811de8af05.zip |
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9238 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio/streamtuner/Makefile')
-rw-r--r-- | audio/streamtuner/Makefile | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/audio/streamtuner/Makefile b/audio/streamtuner/Makefile new file mode 100644 index 000000000..1075bfb3e --- /dev/null +++ b/audio/streamtuner/Makefile @@ -0,0 +1,90 @@ +# New ports collection makefile for: streamtuner +# Date created: 02 Apr 2002 +# Whom: Jean-Yves Lefort <jylefort@brutele.be> +# +# $FreeBSD$ +# + +PORTNAME= streamtuner +PORTVERSION= 0.99.99 +PORTREVISION= 8 +CATEGORIES= audio www +MASTER_SITES= ${MASTER_SITE_SAVANNAH} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= jylefort@FreeBSD.org +COMMENT= A GTK+ stream directory browser + +BUILD_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper +LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl +RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme + +USE_XLIB= yes +USE_GNOME= gtk20 gnomehack gnomeprefix +USE_GMAKE= yes +INSTALLS_OMF= yes +GNU_CONFIGURE= yes +USE_GETOPT_LONG= yes +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" + +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="" +USE_PYTHON= 2.3+ +# we need to manually include this, because USE_PYTHON is defined +# after including bsd.port.pre.mk +.include "${PORTSDIR}/Mk/bsd.python.mk" +USE_GNOME+= pygtk2 +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure + +.include <bsd.port.post.mk> |