2013-03-28 15:32:50 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2013/03/28 19:32:50 jasper Exp $
|
2012-09-27 03:06:23 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
2011-04-12 02:30:06 -04:00
|
|
|
|
|
|
|
COMMENT= Javascript bindings for GNOME
|
|
|
|
|
|
|
|
GNOME_PROJECT= gjs
|
2013-03-28 15:32:50 -04:00
|
|
|
GNOME_VERSION= 1.36.0
|
2011-09-21 11:30:23 -04:00
|
|
|
|
2013-03-28 15:32:50 -04:00
|
|
|
SHARED_LIBS += gjs 3.0 # 0.0
|
2011-04-12 02:30:06 -04:00
|
|
|
|
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://live.gnome.org/Gjs
|
|
|
|
|
|
|
|
# MIT
|
|
|
|
# console modules (modules/console.c) and stack printer (gjs/stack.c)
|
|
|
|
# contain code from Mozilla which are: MPL1.1/LGPLv2+/GPLv2+
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2013-03-28 15:32:50 -04:00
|
|
|
WANTLIB += X11 Xext Xrender c cairo cairo-gobject expat ffi fontconfig
|
|
|
|
WANTLIB += freetype gio-2.0 girepository-1.0 glib-2.0 gmodule-2.0
|
|
|
|
WANTLIB += gobject-2.0 gthread-2.0 m mozjs185 ncurses ncursesw
|
|
|
|
WANTLIB += nspr4 pcre pixman-1 plc4 plds4 png pthread pthread-stubs
|
|
|
|
WANTLIB += readline stdc++ xcb xcb-render xcb-shm z
|
2012-04-07 09:48:31 -04:00
|
|
|
|
2011-04-12 02:30:06 -04:00
|
|
|
MODULES= devel/gettext \
|
|
|
|
lang/python \
|
|
|
|
x11/gnome
|
|
|
|
|
|
|
|
MODPY_RUNDEP= No
|
2012-07-08 12:22:48 -04:00
|
|
|
MODPY_BUILDDEP= No
|
2011-04-12 02:30:06 -04:00
|
|
|
MODPY_ADJ_FILES= scripts/make-tests
|
|
|
|
|
|
|
|
LIBTOOL_FLAGS= --tag=disable-static
|
|
|
|
|
2013-03-28 15:32:50 -04:00
|
|
|
LIB_DEPENDS= devel/gobject-introspection>=1.36.0 \
|
|
|
|
devel/spidermonkey
|
2012-07-08 12:22:48 -04:00
|
|
|
|
2012-07-13 12:35:26 -04:00
|
|
|
CONFIGURE_ARGS += --disable-static
|
|
|
|
|
2013-03-11 07:35:43 -04:00
|
|
|
TEST_DEPENDS += sysutils/e2fsprogs # uuidgen(1)
|
|
|
|
TEST_DEPENDS += ${MODPY_RUN_DEPENDS} # scripts/make-tests needs python to run
|
2011-09-21 10:00:19 -04:00
|
|
|
|
2011-04-12 02:30:06 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gjs/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/gjs/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|