openbsd-ports/www/swfdec-plugin/Makefile
jasper df69ffc5d5 import swfdec-plugin 0.6.0
Swfdec-Mozilla contains a plugin for Mozilla browsers that uses the
Swfdec library for playing SWF files.
2008-08-20 15:57:04 +00:00

42 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2008/08/20 15:57:04 jasper Exp $
SHARED_ONLY= Yes
COMMENT= Flash plugin for Mozilla browsers
V= 0.6.0
DISTNAME= swfdec-mozilla-$V
PKGNAME= swfdec-plugin-$V
CATEGORIES= graphics www
HOMEPAGE= http://swfdec.freedesktop.org/
# LGPLv2.1
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/download/swfdec-mozilla/${V:R}/
MODULES= devel/gettext
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig \
freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 \
glitz gmodule-2.0 gobject-2.0 gstpbutils-0.10 gstreamer-0.10 \
gthread-2.0 gtk-x11-2.0 m mad oil-0.3 pango-1.0 pangocairo-1.0 \
pangoft2-1.0 pcre pixman-1 png soup-2.4 xml2 z
LIB_DEPENDS= swfdec-0.6,swfdec-gtk-0.6::graphics/swfdec
USE_X11= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-plugin-dir="${LOCALBASE}/lib/mozilla-plugins/"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>