2004-07-24 16:37:31 +00:00
|
|
|
# New ports collection makefile for: muine
|
|
|
|
# Date created: 20040615
|
2004-11-26 06:45:43 +00:00
|
|
|
# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
|
2004-07-24 16:37:31 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2006-02-19 07:28:28 +00:00
|
|
|
# $Id: Makefile,v 1.45 2006/02/15 17:16:54 tmclau02 Exp $
|
2005-11-10 04:40:30 +00:00
|
|
|
#
|
2004-07-24 16:37:31 +00:00
|
|
|
|
|
|
|
PORTNAME= muine
|
2006-02-19 07:28:28 +00:00
|
|
|
PORTVERSION= 0.8.4
|
2006-06-29 02:09:33 +00:00
|
|
|
PORTREVISION= 3
|
2004-07-24 16:37:31 +00:00
|
|
|
CATEGORIES= audio gnome
|
2006-02-19 07:28:28 +00:00
|
|
|
MASTER_SITES= http://muine-player.org/releases/
|
2004-07-24 16:37:31 +00:00
|
|
|
|
2005-09-20 01:00:40 +00:00
|
|
|
MAINTAINER= bsd-sharp-list@forge.novell.com
|
2004-07-24 16:37:31 +00:00
|
|
|
COMMENT= Mono based Gnome audio player
|
|
|
|
|
2005-03-16 14:50:13 +00:00
|
|
|
LIB_DEPENDS= FLAC.7:${PORTSDIR}/audio/flac \
|
2005-10-28 07:59:53 +00:00
|
|
|
id3tag.0:${PORTSDIR}/audio/libid3tag \
|
2005-07-10 21:45:42 +00:00
|
|
|
gdbm:${PORTSDIR}/databases/gdbm \
|
2006-02-19 07:28:28 +00:00
|
|
|
vorbis.3:${PORTSDIR}/audio/libvorbis \
|
|
|
|
musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz
|
2005-09-29 03:43:25 +00:00
|
|
|
BUILD_DEPENDS= gapi2-fixup:${PORTSDIR}/x11-toolkits/gtk-sharp20 \
|
2005-05-16 22:42:55 +00:00
|
|
|
${LOCALBASE}/lib/mono/dbus-sharp/dbus-sharp.dll:${PORTSDIR}/devel/dbus-sharp
|
2005-09-29 03:43:25 +00:00
|
|
|
RUN_DEPENDS= gapi2-fixup:${PORTSDIR}/x11-toolkits/gtk-sharp20 \
|
2005-07-10 21:45:42 +00:00
|
|
|
${LOCALBASE}/lib/mono/dbus-sharp/dbus-sharp.dll:${PORTSDIR}/devel/dbus-sharp
|
2004-07-24 16:37:31 +00:00
|
|
|
|
2005-05-16 22:42:55 +00:00
|
|
|
USE_GMAKE= yes
|
2004-07-24 16:37:31 +00:00
|
|
|
USE_GNOME= gnomeprefix gnomehack intltool libgnomeui
|
2005-11-10 04:40:30 +00:00
|
|
|
USE_X_PREFIX= yes
|
2006-02-23 10:40:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2004-07-24 16:37:31 +00:00
|
|
|
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
2005-05-16 22:42:55 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
GACUTIL_FLAGS="/package muine /gacdir $(DESTDIR)$(libdir) /root $(DESTDIR)$(libdir)"
|
2004-07-24 16:37:31 +00:00
|
|
|
|
2004-11-26 06:45:43 +00:00
|
|
|
GCONF_SCHEMAS= muine.schemas
|
|
|
|
|
2005-07-10 21:45:42 +00:00
|
|
|
OPTIONS= XINE "Enable Xine backend" off \
|
|
|
|
FAAD "Enable faad support" off
|
2004-11-26 06:45:43 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2005-07-10 21:45:42 +00:00
|
|
|
.if defined (WITH_FAAD)
|
|
|
|
LIB_DEPENDS+= faad.0:${PORTSDIR}/audio/faad
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-faad2
|
|
|
|
.endif
|
2004-11-26 06:45:43 +00:00
|
|
|
|
2005-05-16 22:42:55 +00:00
|
|
|
.if defined (WITH_XINE)
|
2005-11-10 04:40:30 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-xine=yes
|
2005-12-10 21:06:42 +00:00
|
|
|
LIB_DEPENDS+= xine.15:${PORTSDIR}/multimedia/libxine
|
2004-11-26 06:45:43 +00:00
|
|
|
.else
|
2006-05-06 23:25:08 +00:00
|
|
|
USE_GSTREAMER80+= gconf
|
2004-11-26 06:45:43 +00:00
|
|
|
.endif
|
|
|
|
|
2005-07-10 21:45:42 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|(libdir)/dbus-1.0|(prefix)/share/dbus-1|g' \
|
|
|
|
${WRKSRC}/data/Makefile.in
|
2006-02-19 07:28:28 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|libmusicbrainz.so.4|libmusicbrainz.so|g' \
|
|
|
|
${WRKSRC}/src/muine.exe.config.in
|
2005-07-10 21:45:42 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${PREFIX}/lib/muine/plugins
|
|
|
|
.for _plugin in TrayIcon.dll DashboardPlugin.dll
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/plugins/${_plugin} ${PREFIX}/lib/muine/plugins
|
|
|
|
.endfor
|
|
|
|
|
2005-11-10 04:40:30 +00:00
|
|
|
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
|
2004-11-26 06:45:43 +00:00
|
|
|
.include <bsd.port.post.mk>
|