Lines 6-25
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= moonshine |
8 |
PORTNAME= moonshine |
9 |
PORTVERSION= 0.2 |
9 |
PORTVERSION= 0.7 |
10 |
PORTREVISION= 2 |
|
|
11 |
CATEGORIES= www multimedia |
10 |
CATEGORIES= www multimedia |
12 |
MASTER_SITES= http://abock.org/${PORTNAME}/releases/ |
11 |
MASTER_SITES= http://github.com/abock/moonshine/tarball/${PORTVERSION}/ |
|
|
12 |
DISTNAME= abock-${PORTNAME}-${GITCOMMIT} |
13 |
|
13 |
|
14 |
MAINTAINER= mono@FreeBSD.org |
14 |
MAINTAINER= mono@FreeBSD.org |
15 |
COMMENT= Windows Media playback through Moonlight and Firefox |
15 |
COMMENT= Windows Media playback through Moonlight and Firefox |
16 |
|
16 |
|
17 |
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash |
17 |
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash |
|
|
18 |
FETCH_BEFORE_ARGS= -o ${DISTNAME}${EXTRACT_SUFX} |
19 |
FETCH_ARGS= -apRr |
20 |
GITCOMMIT= 35085a4 |
18 |
|
21 |
|
19 |
USE_BZIP2= yes |
|
|
20 |
USE_GMAKE= yes |
22 |
USE_GMAKE= yes |
21 |
USE_GECKO= libxul |
23 |
USE_GECKO= libxul |
22 |
GNU_CONFIGURE= yes |
24 |
USE_AUTOTOOLS= libtool:22 libtoolize aclocal:110 autoconf:262 autoheader:262 automake:110 |
|
|
25 |
LIBTOOLIZE_ARGS= --force --copy --automake |
26 |
AUTOMAKE_ARGS= --gnu --add-missing --force --copy -Wno-portability |
27 |
ACLOCAL_ARGS= |
23 |
CONFIGURE_ARGS= --with-browser-plugin-dir=${PREFIX}/lib/browser_plugins/${PORTNAME}/ |
28 |
CONFIGURE_ARGS= --with-browser-plugin-dir=${PREFIX}/lib/browser_plugins/${PORTNAME}/ |
24 |
|
29 |
|
25 |
USE_WEBPLUGINS= gecko19 |
30 |
USE_WEBPLUGINS= gecko19 |
Lines 32-41
Link Here
|
32 |
ONLY_FOR_ARCHS= i386 amd64 |
37 |
ONLY_FOR_ARCHS= i386 amd64 |
33 |
ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than i386 and amd64" |
38 |
ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than i386 and amd64" |
34 |
|
39 |
|
35 |
.if ${ARCH} == "amd64" |
|
|
36 |
CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} |
37 |
.endif |
38 |
|
39 |
.if defined(WITH_XPI_PLUGIN_ONLY) |
40 |
.if defined(WITH_XPI_PLUGIN_ONLY) |
40 |
CONFIGURE_ARGS+=--enable-xpi-build |
41 |
CONFIGURE_ARGS+=--enable-xpi-build |
41 |
PLIST= ${NONEXISTENT} |
42 |
PLIST= ${NONEXISTENT} |
Lines 43-52
Link Here
|
43 |
.endif |
44 |
.endif |
44 |
|
45 |
|
45 |
post-patch: |
46 |
post-patch: |
46 |
${REINPLACE_CMD} -e 's|^SHELL=.*|SHELL=${LOCALBASE}/bin/bash|' \ |
47 |
${REINPLACE_CMD} -e 's|#!/bin/bash|#!${LOCALBASE}/bin/bash|' \ |
47 |
${WRKSRC}/configure |
48 |
${WRKSRC}/plugin/xpi/dist-build/build-all-arch \ |
|
|
49 |
${WRKSRC}/xulrunner/icon-theme-hicolor/icon-theme-installer |
48 |
${REINPLACE_CMD} -e 's|sed -r|sed -E|' \ |
50 |
${REINPLACE_CMD} -e 's|sed -r|sed -E|' \ |
49 |
${WRKSRC}/plugin/Makefile.in \ |
51 |
${WRKSRC}/plugin/Makefile.am \ |
50 |
${WRKSRC}/plugin/generate-resource |
52 |
${WRKSRC}/plugin/generate-resource |
51 |
|
53 |
|
52 |
.if defined(WITH_XPI_PLUGIN_ONLY) |
54 |
.if defined(WITH_XPI_PLUGIN_ONLY) |