diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-19 05:01:35 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-19 05:01:35 +0800 |
commit | 5b0229812ba2d7576f042ffea8f57bc20fc5a3e6 (patch) | |
tree | 0136e9dcfa25b95abdc6a62e10350afcb1c0ae7f /www/swfdec-plugin/Makefile | |
parent | dc481678e5290d1fbd1b2d9b326695c4f4e36f3b (diff) | |
download | marcuscom-ports-5b0229812ba2d7576f042ffea8f57bc20fc5a3e6.tar marcuscom-ports-5b0229812ba2d7576f042ffea8f57bc20fc5a3e6.tar.gz marcuscom-ports-5b0229812ba2d7576f042ffea8f57bc20fc5a3e6.tar.bz2 marcuscom-ports-5b0229812ba2d7576f042ffea8f57bc20fc5a3e6.tar.lz marcuscom-ports-5b0229812ba2d7576f042ffea8f57bc20fc5a3e6.tar.xz marcuscom-ports-5b0229812ba2d7576f042ffea8f57bc20fc5a3e6.tar.zst marcuscom-ports-5b0229812ba2d7576f042ffea8f57bc20fc5a3e6.zip |
- Chase gecko move
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6653 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/swfdec-plugin/Makefile')
-rw-r--r-- | www/swfdec-plugin/Makefile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/www/swfdec-plugin/Makefile b/www/swfdec-plugin/Makefile new file mode 100644 index 000000000..d3896befb --- /dev/null +++ b/www/swfdec-plugin/Makefile @@ -0,0 +1,52 @@ +# Ports collection makefile for: swfdec-plugin +# Date created: Jun 14, 2005 +# Whom: anholt +# +# $FreeBSD$ +# + +PORTNAME= swfdec-plugin +PORTVERSION= 0.3.5 +PORTREVISION= 1 +CATEGORIES= www +MASTER_SITES= http://www.schleef.org/swfdec/download/ +DISTNAME= swfdec-${PORTVERSION} + +MAINTAINER= anholt@FreeBSD.org +COMMENT= Flash rendering plugin + +LIB_DEPENDS= swfdec-0.3.0:${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 + +BROKEN= Does not compile + +USE_SDL= sdl +USE_GNOME= gnomehack gtk20 libartlgpl2 +USE_GSTREAMER80= gconf +USE_GETOPT_LONG= yes +USE_AUTOTOOLS= libtool:15 +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 + +INSTALLS_SHLIB= yes +INSTALL_WRKSRC= ${WRKSRC}/plugin + +PLIST_SUB= VERSION=${PORTVERSION:R} + +post-patch: + @${REINPLACE_CMD} -e "s,int16_t,__int16_t," ${WRKSRC}/libswfdec/swfdec_shape.c + @${REINPLACE_CMD} -e "s,mozilla/plugins/,browser_plugins/," ${WRKSRC}/plugin/Makefile.in + +.include <bsd.port.mk> |