diff options
author | Florent Thoumie <flz@FreeBSD.org> | 2009-05-14 15:45:34 +0000 |
---|---|---|
committer | Florent Thoumie <flz@FreeBSD.org> | 2009-05-14 15:45:34 +0000 |
commit | 6c57d8400491083e8cc23c97f15938fd611d0245 (patch) | |
tree | 1631d06fcc0a7f822557d7f1699ba74555cd9a8e /www/moonshine | |
parent | 31051fd78982975bc1e7752ed62ef08d74ee1fdf (diff) | |
download | ports-6c57d8400491083e8cc23c97f15938fd611d0245.tar.gz ports-6c57d8400491083e8cc23c97f15938fd611d0245.zip |
Notes
Diffstat (limited to 'www/moonshine')
-rw-r--r-- | www/moonshine/Makefile | 50 | ||||
-rw-r--r-- | www/moonshine/distinfo | 3 | ||||
-rw-r--r-- | www/moonshine/files/patch-configure | 10 | ||||
-rw-r--r-- | www/moonshine/pkg-descr | 9 | ||||
-rw-r--r-- | www/moonshine/pkg-plist | 52 |
5 files changed, 124 insertions, 0 deletions
diff --git a/www/moonshine/Makefile b/www/moonshine/Makefile new file mode 100644 index 000000000000..259145e30dc8 --- /dev/null +++ b/www/moonshine/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: moonshine +# Date created: May 14 2009 +# Whom: Florent Thoumie <flz@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= moonshine +PORTVERSION= 0.2 +CATEGORIES= multimedia www +MASTER_SITES= http://abock.org/${PORTNAME}/releases/ + +MAINTAINER= mono@FreeBSD.org +COMMENT= Windows Media playback through Moonlight and Firefox + +BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash + +USE_BZIP2= yes +USE_GMAKE= yes +USE_GECKO= libxul +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-browser-plugin-dir=${PREFIX}/lib/browser_plugins/${PORTNAME}/ + +USE_WEBPLUGINS= gecko19 +WEBPLUGINS_DIR= ${PREFIX}/lib/browser_plugins/${PORTNAME}/ +WEBPLUGINS_FILES= libmoonshine-plugin.so + +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/www/firefox/Makefile.webplugins" + +.if defined(WITH_XPI_PLUGIN_ONLY) +CONFIGURE_ARGS+=--enable-xpi-build +PLIST= ${NONEXISTENT} +PLIST_FILES= ${WEBPLUGINS_DIR}/${PKGNAME}-freebsd-${OSREL}.xpi +.endif + +post-patch: + ${REINPLACE_CMD} -e 's|^SHELL=.*|SHELL=${LOCALBASE}/bin/bash|' \ + ${WRKSRC}/configure + ${REINPLACE_CMD} -e 's|sed -r|sed -E|' \ + ${WRKSRC}/plugin/Makefile.in \ + ${WRKSRC}/plugin/generate-resource + +.if defined(WITH_XPI_PLUGIN_ONLY) +do-install: + ${INSTALL_DATA} ${WRKSRC}/plugin/xpi/moonshine.xpi \ + ${WEBPLUGINS_DIR}/${PKGNAME}-freebsd-${OSREL}.xpi +.endif + +.include <bsd.port.post.mk> diff --git a/www/moonshine/distinfo b/www/moonshine/distinfo new file mode 100644 index 000000000000..dec121ab9fb9 --- /dev/null +++ b/www/moonshine/distinfo @@ -0,0 +1,3 @@ +MD5 (moonshine-0.2.tar.bz2) = 471ddae37a45395bf996645a52911456 +SHA256 (moonshine-0.2.tar.bz2) = aac0c4f8dcd2ae26f4a597c7584ed072ca6186856f4280bc048df6dd371d6984 +SIZE (moonshine-0.2.tar.bz2) = 321716 diff --git a/www/moonshine/files/patch-configure b/www/moonshine/files/patch-configure new file mode 100644 index 000000000000..0a0bb3e84d1a --- /dev/null +++ b/www/moonshine/files/patch-configure @@ -0,0 +1,10 @@ +--- configure.orig 2009-04-15 21:26:53.000000000 +0100 ++++ configure 2009-04-15 21:28:20.000000000 +0100 +@@ -11543,6 +11543,7 @@ + + case "$target_os" in + *linux*) TARGET_PLATFORM="Linux" ;; ++ *freebsd*) TARGET_PLATFORM="FreeBSD" ;; + *) { { $as_echo "$as_me:$LINENO: error: Target os $target_os is not supported" >&5 + $as_echo "$as_me: error: Target os $target_os is not supported" >&2;} + { (exit 1); exit 1; }; } ;; diff --git a/www/moonshine/pkg-descr b/www/moonshine/pkg-descr new file mode 100644 index 000000000000..f31d96410bfc --- /dev/null +++ b/www/moonshine/pkg-descr @@ -0,0 +1,9 @@ +Moonshine leverages the Windows Media capabilities from Silverlight, +provided by the Moonlight browser plugin, and the Firefox web +browser framework to enable the playback of embedded Windows Media +content on the web and local files on a user's desktop. + +WWW: http://abock.org/moonshine/ + +- Florent Thoumie +flz@FreeBSD.org diff --git a/www/moonshine/pkg-plist b/www/moonshine/pkg-plist new file mode 100644 index 000000000000..e38123336774 --- /dev/null +++ b/www/moonshine/pkg-plist @@ -0,0 +1,52 @@ +bin/moonshine +lib/browser_plugins/moonshine/libmoonshine-plugin.la +lib/browser_plugins/moonshine/libmoonshine-plugin.so +share/applications/moonshine.desktop +%%DATADIR%%/application.ini +%%DATADIR%%/chrome/chrome.manifest +%%DATADIR%%/chrome/content/moon-utilities.js +%%DATADIR%%/chrome/content/player-shell.js +%%DATADIR%%/chrome/content/player-shell.xul +%%DATADIR%%/chrome/content/player/moonshine-full-screen-button.js +%%DATADIR%%/chrome/content/player/moonshine-play-pause-button.js +%%DATADIR%%/chrome/content/player/moonshine-player.js +%%DATADIR%%/chrome/content/player/moonshine-plugin-player.js +%%DATADIR%%/chrome/content/player/moonshine-seek-bar.js +%%DATADIR%%/chrome/content/player/moonshine-volume-bar.js +%%DATADIR%%/chrome/content/player/moonshine-wmp-controls.js +%%DATADIR%%/chrome/content/player/mtk/mtk-box.js +%%DATADIR%%/chrome/content/player/mtk/mtk-button.js +%%DATADIR%%/chrome/content/player/mtk/mtk-color.js +%%DATADIR%%/chrome/content/player/mtk/mtk-console.js +%%DATADIR%%/chrome/content/player/mtk/mtk-container.js +%%DATADIR%%/chrome/content/player/mtk/mtk-label.js +%%DATADIR%%/chrome/content/player/mtk/mtk-media-element.js +%%DATADIR%%/chrome/content/player/mtk/mtk-object.js +%%DATADIR%%/chrome/content/player/mtk/mtk-popup.js +%%DATADIR%%/chrome/content/player/mtk/mtk-screen.js +%%DATADIR%%/chrome/content/player/mtk/mtk-slider.js +%%DATADIR%%/chrome/content/player/mtk/mtk-style.js +%%DATADIR%%/chrome/content/player/mtk/mtk-toolbar.js +%%DATADIR%%/chrome/content/player/mtk/mtk-widget.js +%%DATADIR%%/chrome/content/player/mtk/mtk-window.js +%%DATADIR%%/chrome/content/player/mtk/mtk-xaml.js +%%DATADIR%%/chrome/icons/default/moonshine-window.png +%%DATADIR%%/chrome/locale/en-US/player-shell.dtd +%%DATADIR%%/chrome/locale/en-US/version.dtd +%%DATADIR%%/chrome/skin/dialog-error.png +%%DATADIR%%/chrome/skin/player-shell.css +%%DATADIR%%/defaults/preferences/prefs.js +@dirrm %%DATADIR%%/defaults/preferences +@dirrm %%DATADIR%%/defaults +@dirrm %%DATADIR%%/chrome/skin +@dirrm %%DATADIR%%/chrome/locale/en-US +@dirrm %%DATADIR%%/chrome/locale +@dirrm %%DATADIR%%/chrome/icons/default +@dirrm %%DATADIR%%/chrome/icons +@dirrm %%DATADIR%%/chrome/content/player/mtk +@dirrm %%DATADIR%%/chrome/content/player +@dirrm %%DATADIR%%/chrome/content +@dirrm %%DATADIR%%/chrome +@dirrm %%DATADIR%% +@dirrm lib/browser_plugins/moonshine +@dirrm lib/browser_plugins |