aboutsummaryrefslogtreecommitdiff
path: root/sysutils/serpentine
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-06-25 17:22:05 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-06-25 17:22:05 +0000
commite223120f2bbba619089d03eea3e9d26d75603296 (patch)
treed5c56db6454a50d5ebe8eeed925c27a198988194 /sysutils/serpentine
parent0c5c90a5f12aa85e68ab3a46e70e57eb3af3a971 (diff)
downloadports-e223120f2bbba619089d03eea3e9d26d75603296.tar.gz
ports-e223120f2bbba619089d03eea3e9d26d75603296.zip
Notes
Diffstat (limited to 'sysutils/serpentine')
-rw-r--r--sysutils/serpentine/Makefile24
-rw-r--r--sysutils/serpentine/pkg-descr1
-rw-r--r--sysutils/serpentine/pkg-plist2
3 files changed, 26 insertions, 1 deletions
diff --git a/sysutils/serpentine/Makefile b/sysutils/serpentine/Makefile
index 4cd4a0acad1b..ce43279b2bb0 100644
--- a/sysutils/serpentine/Makefile
+++ b/sysutils/serpentine/Makefile
@@ -26,4 +26,26 @@ USE_GMAKE= yes
USE_GSTREAMER= core
USE_PYTHON= 2.4+
-.include <bsd.port.mk>
+OPTIONS= MUINE "Cd-Burner Plugin for muine audio player" Off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_MUINE) || exists(${X11BASE}/bin/muine)
+BUILD_DEPENDS+= muine:${PORTSDIR}/audio/muine
+RUN_DEPENDS+= muine:${PORTSDIR}/audio/muine
+PLIST_SUB+= MUINE=""
+.else
+PLIST_SUB+= MUINE="@comment "
+.endif
+
+.if defined(WITH_MUINE) || exists(${X11BASE}/bin/muine)
+post-build:
+ cd ${WRKSRC}/muine-plugin && ${GMAKE}
+
+post-install:
+ ${MKDIR} ${PREFIX}/lib/muine/plugins
+ ${INSTALL_DATA} ${WRKSRC}/muine-plugin/SerpentinePlugin.dll \
+ ${PREFIX}/lib/muine/plugins
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/serpentine/pkg-descr b/sysutils/serpentine/pkg-descr
index 7a0aae597090..22350b404149 100644
--- a/sysutils/serpentine/pkg-descr
+++ b/sysutils/serpentine/pkg-descr
@@ -9,5 +9,6 @@ usability and compability. Its features are:
o Supports drag and drop: drop musics directly from Rhythmbox or Nautilus!
o Clean and easy to use interface
o Easy integration with other applications
+ o Muine plugin: allows you to write your playlist directly from Muine.
WWW: http://s1x.homelinux.net/projects/serpentine
diff --git a/sysutils/serpentine/pkg-plist b/sysutils/serpentine/pkg-plist
index 50b2069305ba..6de5fc9bc027 100644
--- a/sysutils/serpentine/pkg-plist
+++ b/sysutils/serpentine/pkg-plist
@@ -1,4 +1,5 @@
bin/serpentine
+%%MUINE%%lib/muine/plugins/SerpentinePlugin.dll
%%PYTHON_SITELIBDIR%%/serpentine/__init__.py
%%PYTHON_SITELIBDIR%%/serpentine/__init__.pyc
%%PYTHON_SITELIBDIR%%/serpentine/__init__.pyo
@@ -74,5 +75,6 @@ share/applications/serpentine.desktop
@unexec rmdir %D/share/applications 2> /dev/null || true
@dirrm %%PYTHON_SITELIBDIR%%/serpentine/plugins
@dirrm %%PYTHON_SITELIBDIR%%/serpentine
+%%MUINE%%@unexec rmdir %D/lib/muine/plugins 2> /dev/null || true
@unexec rmdir %D/%%PYTHON_SITELIBDIR%% 2> /dev/null || true
@unexec rmdir %D/%%PYTHON_LIBDIR%% 2> /dev/null || true