e62990bc20
Main updates ------------ devel/mono-tools 2.6.2 -> 2.10 lang/mono 2.6.7 -> 2.10.2 lang/mono-basic 2.6.2 -> 2.10.2 www/mod_mono 2.6.3 -> 2.10 www/xsp 2.6.5 -> 2.10.2 x11-toolkits/libgdiplus 2.6.7 -> 2.10 Other updates ------------- deskutils/tomboy 1.4.2 -> 1.6.1 devel/mono-addins 0.5 -> 0.6.1 devel/monodevelop 2.4 -> 2.4.2 graphics/f-spot 0.8.0 -> 0.8.2 print/pdfmod 0.9.0 -> 0.9.1 x11-toolkits/gnome-sharp20 2.24.1 -> 2.24.2 Ports marked BROKEN ------------------- multimedia/banshee multimedia/moonlight PR: ports/155948 Submitted by: me
132 lines
3.8 KiB
Makefile
132 lines
3.8 KiB
Makefile
# New ports collection makefile for: banshee
|
|
# Date created: Jul 10 2006
|
|
# Whom: Florent Thoumie <flz@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= banshee
|
|
PORTVERSION= 2.0.1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= multimedia audio
|
|
MASTER_SITES= http://download.banshee.fm/${PORTNAME}/stable/${PORTVERSION}/
|
|
|
|
MAINTAINER= mono@FreeBSD.org
|
|
COMMENT= Music management and playback for gnome
|
|
|
|
IGNORE= Unstable release. Freeses after a few minutes.
|
|
|
|
# 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 \
|
|
${LOCALBASE}/libdata/pkgconfig/notify-sharp.pc:${PORTSDIR}/devel/notify-sharp
|
|
|
|
OPTIONS= DOCS "Install documentation" on \
|
|
BOO "Enable Boo support" off \
|
|
BPMDETECT "Enable BPM detection" on \
|
|
MTP "Enable MTP support" on \
|
|
APPLEDEV "Enable Apple device DAP" off \
|
|
IPOD "Enable iPod support" on \
|
|
YOUTUBE "Enable Youtube support" on
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
USE_PERL5_BUILD=yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GNOME= gnomehack gtksharp20 gnomesharp20
|
|
USE_GSTREAMER= cdparanoia
|
|
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME:C/-.*//}
|
|
USE_XORG= xrandr xxf86vm
|
|
USE_SQLITE= yes
|
|
INSTALLS_ICONS= yes
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ARGS+= --with-vendor-build-id=FreeBSD\ BSD\#\ Project
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
USE_GETTEXT= yes
|
|
PLIST_SUB+= NLS=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
# 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 exists(${LOCALBASE}/libdata/pkgconfig/gio-sharp-2.0.pc)
|
|
PLIST_SUB+= HAS_GIO=""
|
|
.else
|
|
PLIST_SUB+= HAS_GIO="@comment "
|
|
.endif
|
|
|
|
.if defined(WITHOUT_DOCS) || defined(NOPORTDOCS)
|
|
CONFIGURE_ARGS+= --disable-docs
|
|
PLIST_SUB+= OPT_DOCS="@comment "
|
|
.else
|
|
CONFIGURE_ARGS+= --enable-docs
|
|
PLIST_SUB+= OPT_DOCS=""
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_BPMDETECT)
|
|
USE_GSTREAMER+= soundtouch
|
|
.endif
|
|
|
|
.if defined(WITH_BOO)
|
|
CONFIGURE_ARGS+=--enable-boo
|
|
BUILD_DEPENDS+= booc:${PORTSDIR}/lang/boo
|
|
RUN_DEPENDS+= booc:${PORTSDIR}/lang/boo
|
|
PLIST_SUB+= OPT_BOO=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-boo
|
|
PLIST_SUB+= OPT_BOO="@comment "
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_APPLEDEV)
|
|
CONFIGURE_ARGS+=--enable-appledevice
|
|
LIB_PC_DEPENDS+=${LOCALBASE}/libdata/pkgconfig/libgpodsharp.pc:${PORTSDIR}/audio/libgpod
|
|
BROKEN= Missing dependency
|
|
PLIST_SUB+= APPLEDEV=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-appledevice
|
|
PLIST_SUB+= APPLEDEV="@comment "
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_IPOD)
|
|
CONFIGURE_ARGS+=--enable-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)
|
|
CONFIGURE_ARGS+=--enable-mtp
|
|
LIB_DEPENDS+= mtp.11:${PORTSDIR}/audio/libmtp
|
|
PLIST_SUB+= OPT_MTP=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-mtp
|
|
PLIST_SUB+= OPT_MTP="@comment "
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_YOUTUBE)
|
|
CONFIGURE_ARGS+=--enable-youtube
|
|
LIB_PC_DEPENDS+=${LOCALBASE}/libdata/pkgconfig/gdata-sharp-youtube.pc:${PORTSDIR}/devel/google-gdata
|
|
PLIST_SUB+= OPT_YOUTUBE=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-youtube
|
|
PLIST_SUB+= OPT_YOUTUBE="@comment "
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|