pkgsrc/devel/meson/Makefile
nia 3780744b7d meson: Update to 0.52.0
Changes:

* Gettext targets are ignored if gettext is not installed
* Support taking environment values from a dictionary
* alias_target
* Enhancements to the pkg_config_path argument
* The meson test program now accepts an additional "--gdb-path" argument to specify the GDB binary
* Better support for illumos and Solaris
* Splitting of Compiler.get_function_attribute('visibility')
* Clang-tidy target
* Add blocks dependency
* Meson's builtin b_lundef is now supported on macOS
* Compiler and dynamic linker representation split
* Add depth option to wrap-git
* Enhancements to the source_set module
* added --only test(s) option to run_project_tests.py
* Experimental Webassembly support via Emscripten
* Version check in find_program()
* Added vs_module_defs to shared_module()
* Improved support for static libraries
* Enhancements to the kconfig module
* Added include_type kwarg to dependency
* Enhancements to configure_file()
* Projects args can be set separately for build and host machines (potentially breaking change)
* Allow checking if a variable is a disabler
* gtkdoc-check support
* gnome.gtkdoc() returns target object
* Dist is now a top level command
2019-10-18 09:59:46 +00:00

46 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2019/10/18 09:59:46 nia Exp $
DISTNAME= meson-0.52.0
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/meson/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mesonbuild.com/
COMMENT= Open source build system meant to be fast and user friendly
LICENSE= apache-2.0
CONFLICTS= ${PYPKGPREFIX}-meson-[0-9]*
SUPERSEDES= ${PYPKGPREFIX}-meson-[0-9]*
DEPENDS+= ninja-build-[0-9]*:../../devel/ninja-build
PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_LANGUAGES= c c++ # c++ for tests
SUBST_CLASSES+= man
SUBST_SED.man+= -e "s,share/man,${PKGMANDIR},"
SUBST_FILES.man+= setup.py
SUBST_STAGE.man= pre-configure
SUBST_MESSAGE.man= Fixing man page installation path.
REPLACE_PYTHON+= ghwt.py
REPLACE_PYTHON+= meson.py
REPLACE_PYTHON+= mesonbuild/rewriter.py
REPLACE_PYTHON+= mesonbuild/cmake/data/run_ctgt.py
REPLACE_PYTHON+= run_*.py
REPLACE_PYTHON+= test\ cases/*/*/*.py
REPLACE_PYTHON+= test\ cases/*/*/*/*.py
REPLACE_PYTHON+= test\ cases/*/*/*/*/*.py
REPLACE_PYTHON+= test\ cases/common/14\ configure\ file/test.py.in
REPLACE_PYTHON+= test\ cases/common/188\ find\ override/subdir/gencodegen.py.in
REPLACE_PYTHON+= test\ cases/common/55\ run\ target/configure.in
REPLACE_PYTHON+= test\ cases/windows/8\ find\ program/test-script
REPLACE_PYTHON+= tools/*.py
do-test:
cd ${WRKSRC} && ${PYTHONBIN} run_tests.py
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"