freebsd-ports/lang/gjs/Makefile
Jan Beich 5ffba0af2c lang/gjs: unbreak build with Meson 0.60.2
meson.build:562:0: ERROR: "install_dir" must be specified when installing a target

PR:		260056
Reported by:	antoine (via exp-run)
Regressed by:	https://github.com/mesonbuild/meson/commit/5cc166a667ff
2021-11-27 23:35:02 +00:00

36 lines
1,012 B
Makefile

# Created by: Pawel Worach <pawel.worach@gmail.com>
PORTNAME= gjs
PORTVERSION= 1.70.0
CATEGORIES= lang gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome
PATCH_SITES= https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/
PATCHFILES+= 59bbb5e4795d.patch:-p1 # https://gitlab.gnome.org/GNOME/gjs/-/merge_requests/694
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME Javascript binding
LICENSE= MPL11 LGPL20+ GPLv2+
LICENSE_COMB= multi
LICENSE_FILE_MPL11= ${WRKSRC}/LICENSES/MPL-1.1.txt
LICENSE_FILE_LGPL20+ = ${WRKSRC}/LICENSES/LGPL-2.1-or-later.txt
LIB_DEPENDS= libmozjs-78.so:lang/spidermonkey78 \
libffi.so:devel/libffi
USES= compiler:c++11-lib gettext gnome \
localbase meson pkgconfig python:build readline tar:xz xorg
USE_GNOME= cairo gdkpixbuf2 gtk30 introspection
USE_XORG= x11 xext
MESON_ARGS= -Dcairo=enabled \
-Dreadline=enabled \
-Dprofiler=disabled \
-Dinstalled_tests=false
USE_LDCONFIG= yes
CONFIGURE_ENV= PYTHONDONTWRITEBYTECODE=1
MAKE_ENV= PYTHONDONTWRITEBYTECODE=1
.include <bsd.port.mk>