0abba27e81
ok dcoppa@ (MAINTAINER)
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.18 2010/12/30 08:33:59 jasper Exp $
|
|
|
|
COMMENT = gnome-mplayer browser media plugin
|
|
V = 1.0.0
|
|
DISTNAME = gecko-mediaplayer-${V}
|
|
REVISION = 0
|
|
CATEGORIES = www
|
|
|
|
MAINTAINER = David Coppa <dcoppa@openbsd.org>
|
|
|
|
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 = dbus-1 dbus-glib-1 glib-2.0 gobject-2.0 \
|
|
gthread-2.0 m stdc++
|
|
|
|
MODULES = devel/gettext
|
|
|
|
LIB_DEPENDS = x11/dbus-glib
|
|
|
|
BUILD_DEPENDS = devel/xulrunner/1.9,-devel>=1.9.2
|
|
RUN_DEPENDS = x11/gnome-mplayer>=${V}
|
|
|
|
USE_LIBTOOL = Yes
|
|
USE_GMAKE = Yes
|
|
SHARED_ONLY = Yes
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include \
|
|
-I${LOCALBASE}/include/nspr \
|
|
-I${X11BASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
|
|
|
CONFIGURE_ARGS = --enable-new-libxul \
|
|
--with-xulrunner-sdk=${LOCALBASE}/xulrunner1.9 \
|
|
--with-plugin-dir=${LOCALBASE}/lib/mozilla/plugins \
|
|
--without-gconf
|
|
|
|
.include <bsd.port.mk>
|