diff options
author | flz <flz@FreeBSD.org> | 2009-05-14 23:45:34 +0800 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2009-05-14 23:45:34 +0800 |
commit | ed743d84067ced5aa0bc95e549fe615668381c23 (patch) | |
tree | 033705eeae3dcaeda66abeb92ab6e978b0dfc230 /www/moonshine/Makefile | |
parent | d2d9c1d4601d73e483977edc76f1b17e79d07fdb (diff) | |
download | freebsd-ports-gnome-ed743d84067ced5aa0bc95e549fe615668381c23.tar.gz freebsd-ports-gnome-ed743d84067ced5aa0bc95e549fe615668381c23.tar.zst freebsd-ports-gnome-ed743d84067ced5aa0bc95e549fe615668381c23.zip |
Add Moonshine 0.2 (www/moonshine).
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.
Note: The desktop player doesn't work yet.
Diffstat (limited to 'www/moonshine/Makefile')
-rw-r--r-- | www/moonshine/Makefile | 50 |
1 files changed, 50 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> |