All pastes #409817 Raw Edit

Anonymous

public text v1 · immutable
#409817 ·published 2007-03-25 22:34 UTC
rendered paste body
# New Ports collection makefile for:   banshee
# Date Created:                                3/22/07
# Whom:                                        dkeav
#
# $FreeBSD$
#

PORTNAME=	banshee
PORTVERSION=	0.12.0
CATEGORIES=	audio
MASTER_SITES=	http://banshee-project.org/files/banshee/

MAINTAINER=	dkeav04@gmail.com
COMMENT=	Music Managment and Playback for Gnome

LIB_DEPENDS=	musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz
RUN_DEPENDS=	${LOCALBASE}/bin/mono:${PORTSDIR}/lang/mono \
		${LOCALBASE}/sbin/hald:${PORTSDIR}/sysutils/hal \
		dbus-daemon:${PORTSDIR}/devel/dbus
BUILD_DEPENDS=	${LOCALBASE}/lib/mono/gac/avahi-sharp/1.0.0.0__4d116c78973743f5/avahi-sharp.dll:${PORTSDIR}/net/avahi-sharp

USE_GMAKE=	yes
USE_GNOME=	intltool gnomeprefix gnomehier nautiluscdburner gnomesharp20
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--program-transform-name='' DATADIRNAME=share/banshee --disable-docs
USE_GSTREAMER=	flac mad gnomevfs gconf jpeg cdparanoia
USE_LDCONFIG=	yes
USE_SQLITE=	yes
GCONF_SCHEMAS=	banshee-core.schemas banshee-interface.schemas \
		banshee-plugin-audioscrobbler.schemas \
		banshee-plugin-daap.schemas \
		banshee-plugin-metadatasearcher.schemas \
		banshee-plugin-minimode.schemas \
		banshee-plugin-mmkeys.schemas \
		banshee-plugin-notificationarea.schemas \
		banshee-plugin-podcast.schemas banshee-plugin-radio.schemas \
		banshee-plugin-recommendation.schemas

.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=	--disable-nls
PLIST_SUB+=	WITH_NLS="@comment "
.else
USE_GETTEXT=	yes
PLIST_SUB+=	WITH_NLS=""
.endif

post-patch:
	@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
		 ${WRKSRC}/build/Makefile.in

.include <bsd.port.mk>