mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
87948edeea
quite some time. - Switch all remaining consumers to depend on www/libxul - Mark ports that don't work with the new libxul BROKEN - Mark some old ports DEPRECATED with a reasonable timeout Approved by: portmgr (miwi)
59 lines
1.7 KiB
Makefile
59 lines
1.7 KiB
Makefile
# Created by: Florent Thoumie <flz@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= moonshine
|
|
PORTVERSION= 0.7
|
|
PORTREVISION= 4
|
|
CATEGORIES= www multimedia
|
|
MASTER_SITES= http://romain.blogreen.org/distfiles/
|
|
DISTNAME= abock-${PORTNAME}-${GITCOMMIT}
|
|
|
|
MAINTAINER= mono@FreeBSD.org
|
|
COMMENT= Windows Media playback through Moonlight and Firefox
|
|
|
|
DEPRECATED= Does not work with newer libxul
|
|
EXPIRATION_DATE= 2013-09-01
|
|
|
|
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
|
|
GITCOMMIT= 35085a4
|
|
|
|
USE_GMAKE= yes
|
|
USE_GECKO= libxul
|
|
USE_AUTOTOOLS= libtool libtoolize aclocal autoconf autoheader automake
|
|
LIBTOOLIZE_ARGS= --force --copy --automake
|
|
AUTOMAKE_ARGS= --gnu --add-missing --force --copy -Wno-portability
|
|
ACLOCAL_ARGS=
|
|
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"
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than i386 and amd64"
|
|
|
|
.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|#!/bin/bash|#!${LOCALBASE}/bin/bash|' \
|
|
${WRKSRC}/plugin/xpi/dist-build/build-all-arch \
|
|
${WRKSRC}/xulrunner/icon-theme-hicolor/icon-theme-installer
|
|
${REINPLACE_CMD} -e 's|sed -r|sed -E|' \
|
|
${WRKSRC}/plugin/Makefile.am \
|
|
${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>
|