summaryrefslogtreecommitdiffstats
path: root/audio/muine
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2005-07-10 21:45:42 +0000
committermezz <mezz@FreeBSD.org>2005-07-10 21:45:42 +0000
commitf43ede84018a25049d6cb5f8c48bb537fac2676e (patch)
treeb3fdd3898a69eb0309a21e8bb5f94570702b325d /audio/muine
parent516524afd709a531a0b10baed8330d2e26732f81 (diff)
downloadFreeBSD-ports-f43ede84018a25049d6cb5f8c48bb537fac2676e.zip
FreeBSD-ports-f43ede84018a25049d6cb5f8c48bb537fac2676e.tar.gz
- Add a missing dependency, libvorbis.
- Add a new knob, WITH_FAAD, current turn off by default. - Chase xine.12 -> xine.13. - Fix the dbus, lib/dbus-1.0/services -> share/dbus-1/services. - Add install the plugins. - Remove the ${BUILD_DEPENDS} in RUN_DEPENDS, because it causes gmake, libtool and few others become as runtime dependency, which they are just need to be in the build dependency. - Bump the PORTREVISION. BSD# - Project by: http://www.mono-project.com/Mono:FreeBSD
Diffstat (limited to 'audio/muine')
-rw-r--r--audio/muine/Makefile31
-rw-r--r--audio/muine/pkg-plist8
2 files changed, 32 insertions, 7 deletions
diff --git a/audio/muine/Makefile b/audio/muine/Makefile
index 6c5888f..ee65b17 100644
--- a/audio/muine/Makefile
+++ b/audio/muine/Makefile
@@ -3,10 +3,11 @@
# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
#
# $FreeBSD$
-# $Id: Makefile,v 1.17 2005/05/12 21:44:41 tmclau02 Exp $
+# $Id: Makefile,v 1.26 2005/06/30 01:05:54 tmclau02 Exp $
PORTNAME= muine
PORTVERSION= 0.8.3
+PORTREVISION= 3
CATEGORIES= audio gnome
MASTER_SITES= http://muine.gooeylinux.org/
@@ -15,10 +16,12 @@ COMMENT= Mono based Gnome audio player
LIB_DEPENDS= FLAC.7:${PORTSDIR}/audio/flac \
id3tag.2:${PORTSDIR}/audio/libid3tag \
- gdbm:${PORTSDIR}/databases/gdbm
+ gdbm:${PORTSDIR}/databases/gdbm \
+ vorbis.3:${PORTSDIR}/audio/libvorbis
BUILD_DEPENDS= gapi2-fixup:${PORTSDIR}/x11-toolkits/gtk-sharp-devel \
${LOCALBASE}/lib/mono/dbus-sharp/dbus-sharp.dll:${PORTSDIR}/devel/dbus-sharp
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= gapi2-fixup:${PORTSDIR}/x11-toolkits/gtk-sharp-devel \
+ ${LOCALBASE}/lib/mono/dbus-sharp/dbus-sharp.dll:${PORTSDIR}/devel/dbus-sharp
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack intltool libgnomeui
@@ -32,15 +35,31 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
GCONF_SCHEMAS= muine.schemas
-OPTIONS= XINE "Enable Xine backend" off
+OPTIONS= XINE "Enable Xine backend" off \
+ FAAD "Enable faad support" off
.include <bsd.port.pre.mk>
+.if defined (WITH_FAAD)
+LIB_DEPENDS+= faad.0:${PORTSDIR}/audio/faad
+.else
+CONFIGURE_ARGS+= --disable-faad2
+.endif
.if defined (WITH_XINE)
CONFIGURE_ARGS+= --enable-xine=yes
-LIB_DEPENDS+= xine.12:${PORTSDIR}/multimedia/libxine
+LIB_DEPENDS+= xine.13:${PORTSDIR}/multimedia/libxine
.else
-USE_GNOME+= gstreamerplugins
+USE_GSTREAMER+= gconf
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|(libdir)/dbus-1.0|(prefix)/share/dbus-1|g' \
+ ${WRKSRC}/data/Makefile.in
+
+post-install:
+ ${MKDIR} ${PREFIX}/lib/muine/plugins
+.for _plugin in TrayIcon.dll DashboardPlugin.dll
+ ${INSTALL_DATA} ${WRKSRC}/plugins/${_plugin} ${PREFIX}/lib/muine/plugins
+.endfor
+
.include <bsd.port.post.mk>
diff --git a/audio/muine/pkg-plist b/audio/muine/pkg-plist
index c5c7ceb..548b325 100644
--- a/audio/muine/pkg-plist
+++ b/audio/muine/pkg-plist
@@ -1,16 +1,21 @@
bin/muine
-lib/dbus-1.0/services/org.gnome.Muine.service
lib/mono/gac/muine-dbus/1.0.0.0__e6bf890338fa2913/muine-dbus.dll
lib/mono/gac/muine-plugin/1.0.0.0__e6bf890338fa2913/muine-plugin.dll
lib/mono/muine/muine-dbus.dll
lib/mono/muine/muine-plugin.dll
+lib/monodoc/sources/muine-docs.source
+lib/monodoc/sources/muine-docs.tree
+lib/monodoc/sources/muine-docs.zip
lib/muine/libmuine.a
lib/muine/libmuine.so
lib/muine/libmuine.so.0
lib/muine/muine.exe
lib/muine/muine.exe.config
+lib/muine/plugins/DashboardPlugin.dll
+lib/muine/plugins/TrayIcon.dll
libdata/pkgconfig/muine-dbus.pc
libdata/pkgconfig/muine-plugin.pc
+share/dbus-1/services/org.gnome.Muine.service
share/gnome/applications/muine.desktop
share/gnome/pixmaps/muine.png
share/locale/az/LC_MESSAGES/muine.mo
@@ -46,6 +51,7 @@ share/locale/sr/LC_MESSAGES/muine.mo
share/locale/sr@Latn/LC_MESSAGES/muine.mo
share/locale/sv/LC_MESSAGES/muine.mo
share/locale/zh_CN/LC_MESSAGES/muine.mo
+@dirrm lib/muine/plugins
@dirrm lib/muine
@dirrm lib/mono/muine
@dirrm lib/mono/gac/muine-plugin/1.0.0.0__e6bf890338fa2913
OpenPOWER on IntegriCloud