2011-09-21 10:19:16 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2011/09/21 14:19:16 dcoppa Exp $
|
2009-03-16 09:00:19 -04:00
|
|
|
|
|
|
|
COMMENT = gnome-mplayer browser media plugin
|
2011-07-04 09:33:30 -04:00
|
|
|
V = 1.0.4
|
2010-09-22 11:25:26 -04:00
|
|
|
DISTNAME = gecko-mediaplayer-${V}
|
2011-09-21 10:19:16 -04:00
|
|
|
REVISION = 2
|
2009-03-16 09:00:19 -04:00
|
|
|
CATEGORIES = www
|
|
|
|
|
2010-03-29 08:16:07 -04:00
|
|
|
MAINTAINER = David Coppa <dcoppa@openbsd.org>
|
2009-03-16 09:00:19 -04:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2011-04-28 07:49:56 -04:00
|
|
|
WANTLIB = curl dbus-1 dbus-glib-1 gio-2.0 glib-2.0 \
|
|
|
|
gmodule-2.0 gobject-2.0 gthread-2.0 m stdc++
|
2009-03-16 09:00:19 -04:00
|
|
|
|
2010-11-08 10:06:31 -05:00
|
|
|
MODULES = devel/gettext
|
2009-03-16 09:00:19 -04:00
|
|
|
|
2011-04-28 07:49:56 -04:00
|
|
|
LIB_DEPENDS = net/curl \
|
|
|
|
x11/dbus-glib
|
2010-12-30 03:33:59 -05:00
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
BUILD_DEPENDS = devel/xulrunner/1.9,-devel>=1.9.2
|
|
|
|
RUN_DEPENDS = x11/gnome-mplayer>=${V}
|
2009-03-16 09:00:19 -04:00
|
|
|
|
|
|
|
USE_LIBTOOL = Yes
|
|
|
|
USE_GMAKE = Yes
|
2010-06-12 11:27:34 -04:00
|
|
|
SHARED_ONLY = Yes
|
|
|
|
|
2009-03-16 09:00:19 -04:00
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include \
|
2010-03-29 08:16:07 -04:00
|
|
|
-I${LOCALBASE}/include/nspr \
|
2010-09-22 11:25:26 -04:00
|
|
|
-I${X11BASE}/include" \
|
2009-11-01 13:25:21 -05:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
|
|
|
|
2010-11-08 10:06:31 -05:00
|
|
|
CONFIGURE_ARGS = --enable-new-libxul \
|
2011-04-28 07:49:56 -04:00
|
|
|
--with-libcurl \
|
2010-09-22 11:25:26 -04:00
|
|
|
--with-xulrunner-sdk=${LOCALBASE}/xulrunner1.9 \
|
2010-11-08 10:06:31 -05:00
|
|
|
--with-plugin-dir=${LOCALBASE}/lib/mozilla/plugins \
|
2011-06-02 13:09:31 -04:00
|
|
|
--without-gconf
|
2010-03-29 08:16:07 -04:00
|
|
|
|
2009-03-16 09:00:19 -04:00
|
|
|
.include <bsd.port.mk>
|