aboutsummaryrefslogtreecommitdiff
path: root/www/swfdec-plugin
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2007-07-14 15:33:18 +0000
committerEric Anholt <anholt@FreeBSD.org>2007-07-14 15:33:18 +0000
commitc431230f60563e0866d00f7d29f9ac16e24d8d9f (patch)
tree3bcaecb7a5552d10b111edb228b7df56018eb327 /www/swfdec-plugin
parentcb1cd985215de5652470808b3c3d08f964da72ab (diff)
downloadports-c431230f60563e0866d00f7d29f9ac16e24d8d9f.tar.gz
ports-c431230f60563e0866d00f7d29f9ac16e24d8d9f.zip
Notes
Diffstat (limited to 'www/swfdec-plugin')
-rw-r--r--www/swfdec-plugin/Makefile43
-rw-r--r--www/swfdec-plugin/distinfo6
2 files changed, 9 insertions, 40 deletions
diff --git a/www/swfdec-plugin/Makefile b/www/swfdec-plugin/Makefile
index f79f07a78b63..232823d620a0 100644
--- a/www/swfdec-plugin/Makefile
+++ b/www/swfdec-plugin/Makefile
@@ -6,52 +6,21 @@
#
PORTNAME= swfdec-plugin
-PORTVERSION= 0.4.5
+PORTVERSION= 0.5.0
CATEGORIES= www
-MASTER_SITES= http://swfdec.freedesktop.org/download/swfdec-mozilla/0.4/
+MASTER_SITES= http://swfdec.freedesktop.org/download/swfdec-mozilla/0.5/
DISTNAME= swfdec-mozilla-${PORTVERSION}
MAINTAINER= anholt@FreeBSD.org
COMMENT= Flash rendering plugin
-LIB_DEPENDS= swfdec-0.4:${PORTSDIR}/graphics/swfdec
-.if defined(WITH_MOZILLA) && ${WITH_MOZILLA}=="firefox"
-BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/firefox-plugin.pc:${PORTSDIR}/www/firefox
-RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/firefox-plugin.pc:${PORTSDIR}/www/firefox
-.else
-BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/mozilla-plugin${HEADERS_SUFX}.pc:${PORTSDIR}/www/mozilla${HEADERS_SUFX}
-RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/mozilla-plugin${HEADERS_SUFX}.pc:${PORTSDIR}/www/mozilla${HEADERS_SUFX}
-.endif
+BUILD_DEPENDS= swfdec>=0.5:${PORTSDIR}/graphics/swfdec
+RUN_DEPENDS= swfdec>=0.5:${PORTSDIR}/graphics/swfdec
-USE_SDL= sdl
-USE_GNOME= gnomehack gtk20
USE_GETOPT_LONG= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_ARGS= --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include \
- --with-audio=none
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
-
-.if defined(WITH_MOZILLA) && ${WITH_MOZILLA}=="firefox"
-CONFIGURE_ENV+= MOZILLA_CONFIG="${LOCALBASE}/bin/firefox-config"
-.else
-CONFIGURE_ENV+= MOZILLA_CONFIG="${LOCALBASE}/lib/mozilla/mozilla-config"
-.endif
+CONFIGURE_ARGS= --with-plugin-dir="$(PREFIX)/lib/browser_plugins"
USE_LDCONFIG= yes
-PLIST_SUB= VERSION=${PORTVERSION:R}
-
-OPTIONS= GSTREAMER "Support for video playback using GStreamer" on
-
-post-patch:
- @${REINPLACE_CMD} -e "s|plugindir =.*|plugindir = $(PREFIX)/lib/browser_plugins|g" ${WRKSRC}/src/Makefile.in
-
-.include <bsd.port.pre.mk>
-.if !defined(WITHOUT_GSTREAMER)
-USE_GSTREAMER= yes
-CONFIGURE_ARGS+= --enable-gstreamer
-.else
-CONFIGURE_ARGS+= --disable-gstreamer
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/swfdec-plugin/distinfo b/www/swfdec-plugin/distinfo
index b213e1638b1e..b52eff24ffed 100644
--- a/www/swfdec-plugin/distinfo
+++ b/www/swfdec-plugin/distinfo
@@ -1,3 +1,3 @@
-MD5 (swfdec-mozilla-0.4.5.tar.gz) = d13f90417ca909d174accd32253fe342
-SHA256 (swfdec-mozilla-0.4.5.tar.gz) = 07bb6bd79a6330c6d70f63a2a7637c8ec817476bda80579bb512d02d8a967c9d
-SIZE (swfdec-mozilla-0.4.5.tar.gz) = 389041
+MD5 (swfdec-mozilla-0.5.0.tar.gz) = 81f5d05c2677995611eac1742f025e2d
+SHA256 (swfdec-mozilla-0.5.0.tar.gz) = cdf843d26135a346197a020035f1600cd56ffbb02e18293b679e515c368a9c9b
+SIZE (swfdec-mozilla-0.5.0.tar.gz) = 391470