openbsd-ports/www/gecko-mediaplayer/Makefile
martynas 2d5ac6f25b adapt for the new xulrunner infrastructure.
no breakage in bulk build & bumps done by sthen@
2009-07-27 21:44:14 +00:00

43 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.7 2009/07/27 21:44:14 martynas Exp $
COMMENT = gnome-mplayer browser media plugin
DISTNAME = gecko-mediaplayer-0.9.5
PKGNAME = ${DISTNAME}p3
CATEGORIES = www
MAINTAINER = David Coppa <dcoppa@gmail.com>
HOMEPAGE = http://kdekorte.googlepages.com/gecko-mediaplayer
MASTER_SITES = http://gecko-mediaplayer.googlecode.com/files/
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = ORBit-2 dbus-1 dbus-glib-1 glib-2.0 gmodule-2.0 gobject-2.0 \
gthread-2.0
MODULES = devel/gettext \
devel/gconf2
BUILD_DEPENDS = :xulrunner-devel-*:devel/xulrunner/1.8,-devel
RUN_DEPENDS = ::x11/gnome-mplayer
USE_X11 = Yes
USE_LIBTOOL = Yes
USE_GMAKE = Yes
MODGCONF2_SCHEMAS_DIR = gecko-mediaplayer
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include \
-I${X11BASE}/include \
-I${LOCALBASE}/xulrunner/include/xpcom -DBSD" \
LDFLAGS="-L${LOCALBASE}/lib \
-L${X11BASE}/lib"
CONFIGURE_ARGS = --with-gconf
.include <bsd.port.mk>