freebsd-ports/multimedia/banshee/Makefile

81 lines
2.4 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: banshee
# Date created: Jul 10 2006
# Whom: Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= banshee
2009-11-09 17:41:09 +01:00
PORTVERSION= 1.5.1
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= multimedia audio
2009-11-09 17:41:09 +01:00
MASTER_SITES= http://download.banshee-project.org/${PORTNAME}/stable/${PORTVERSION}/
DISTNAME= ${PORTNAME}-1-${PORTVERSION}
2009-01-22 19:21:08 +01:00
MAINTAINER= mono@FreeBSD.org
COMMENT= Music management and playback for gnome
2008-11-11 12:15:48 +01:00
# Could do without bash, but it's brought in by gnome anyway.
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \
bash:${PORTSDIR}/shells/bash
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
LIB_PC_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/mono.pc:${PORTSDIR}/lang/mono \
${LOCALBASE}/libdata/pkgconfig/ndesk-dbus-1.0.pc:${PORTSDIR}/devel/ndesk-dbus \
${LOCALBASE}/libdata/pkgconfig/ndesk-dbus-glib-1.0.pc:${PORTSDIR}/devel/ndesk-dbus-glib \
${LOCALBASE}/libdata/pkgconfig/taglib-sharp.pc:${PORTSDIR}/audio/taglib-sharp \
${LOCALBASE}/libdata/pkgconfig/mono-zeroconf.pc:${PORTSDIR}/net/mono-zeroconf \
${LOCALBASE}/libdata/pkgconfig/mono-addins.pc:${PORTSDIR}/devel/mono-addins
OPTIONS= DOCS "Install documentation" on \
MTP "Enable MTP support" on \
BPMDETECT "Enable BPM detection" on \
# IPOD "Enable iPod support" on
USE_BZIP2= yes
USE_GMAKE= yes
USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
USE_GNOME= gnomehack gtksharp20 gnomesharp20
USE_GSTREAMER= cdparanoia
USE_GETTEXT= yes
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}-1
USE_XORG= xrandr xxf86vm
USE_SQLITE= yes
INSTALLS_ICONS= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --disable-boo --disable-shave
# Need absolute path for build/icon-install-theme.
INSTALL= /usr/bin/install
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
.if defined(WITHOUT_DOCS) || defined(NOPORTDOCS)
CONFIGURE_ARGS+= --disable-docs
.endif
2008-11-10 12:05:03 +01:00
#.if !defined(WITHOUT_IPOD)
#LIB_PC_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/ipod-sharp-ui.pc:${PORTSDIR}/audio/ipod-sharp
#PLIST_SUB+= OPT_IPOD=""
#.else
CONFIGURE_ARGS+= --disable-ipod
PLIST_SUB+= OPT_IPOD="@comment "
#.endif
.if !defined(WITHOUT_MTP)
LIB_DEPENDS+= mtp.8:${PORTSDIR}/audio/libmtp
PLIST_SUB+= OPT_MTP=""
.else
CONFIGURE_ARGS+= --disable-mtp
PLIST_SUB+= OPT_MTP="@comment "
.endif
.if !defined(WITHOUT_BPMDETECT)
USE_GSTREAMER+= soundtouch
.endif
.include <bsd.port.post.mk>