Import py-meson-0.41.2 as devel/py-meson, packaged for wip by myself.

Meson is a cross-platform build system designed to be both as fast
and as user friendly as possible. It supports many languages and
compilers, including GCC, Clang and Visual Studio. Its build
definitions are written in a simple non-turing complete DSL.
This commit is contained in:
wiz 2017-08-14 21:07:44 +00:00
parent 3fc751f497
commit e64e64c227
5 changed files with 244 additions and 0 deletions

4
devel/py-meson/DESCR Normal file
View file

@ -0,0 +1,4 @@
Meson is a cross-platform build system designed to be both as fast
and as user friendly as possible. It supports many languages and
compilers, including GCC, Clang and Visual Studio. Its build
definitions are written in a simple non-turing complete DSL.

37
devel/py-meson/Makefile Normal file
View file

@ -0,0 +1,37 @@
# $NetBSD: Makefile,v 1.1 2017/08/14 21:07:44 wiz Exp $
DISTNAME= meson-0.41.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel
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
DEPENDS+= ninja-build-[0-9]*:../../devel/ninja-build
# c++ for tests
USE_LANGUAGES= c c++
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+= *.py
post-extract:
# see https://github.com/mesonbuild/meson/issues/695
# patching does not work, perhaps due to spaces in path?
${CP} ${FILESDIR}/meson.build ${WRKSRC}/test\ cases/frameworks/6\ gettext/src/meson.build
do-test:
${LN} -s ${PYTHONBIN} ${BUILDLINK_DIR}/bin/python3
cd ${WRKSRC} && ${PYTHONBIN} run_tests.py
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

195
devel/py-meson/PLIST Normal file
View file

@ -0,0 +1,195 @@
@comment $NetBSD: PLIST,v 1.1 2017/08/14 21:07:44 wiz Exp $
bin/meson
bin/mesonconf
bin/mesonintrospect
bin/mesontest
bin/wraptool
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/mesonbuild/__init__.py
${PYSITELIB}/mesonbuild/__init__.pyc
${PYSITELIB}/mesonbuild/__init__.pyo
${PYSITELIB}/mesonbuild/astinterpreter.py
${PYSITELIB}/mesonbuild/astinterpreter.pyc
${PYSITELIB}/mesonbuild/astinterpreter.pyo
${PYSITELIB}/mesonbuild/backend/__init__.py
${PYSITELIB}/mesonbuild/backend/__init__.pyc
${PYSITELIB}/mesonbuild/backend/__init__.pyo
${PYSITELIB}/mesonbuild/backend/backends.py
${PYSITELIB}/mesonbuild/backend/backends.pyc
${PYSITELIB}/mesonbuild/backend/backends.pyo
${PYSITELIB}/mesonbuild/backend/ninjabackend.py
${PYSITELIB}/mesonbuild/backend/ninjabackend.pyc
${PYSITELIB}/mesonbuild/backend/ninjabackend.pyo
${PYSITELIB}/mesonbuild/backend/vs2010backend.py
${PYSITELIB}/mesonbuild/backend/vs2010backend.pyc
${PYSITELIB}/mesonbuild/backend/vs2010backend.pyo
${PYSITELIB}/mesonbuild/backend/vs2015backend.py
${PYSITELIB}/mesonbuild/backend/vs2015backend.pyc
${PYSITELIB}/mesonbuild/backend/vs2015backend.pyo
${PYSITELIB}/mesonbuild/backend/vs2017backend.py
${PYSITELIB}/mesonbuild/backend/vs2017backend.pyc
${PYSITELIB}/mesonbuild/backend/vs2017backend.pyo
${PYSITELIB}/mesonbuild/backend/xcodebackend.py
${PYSITELIB}/mesonbuild/backend/xcodebackend.pyc
${PYSITELIB}/mesonbuild/backend/xcodebackend.pyo
${PYSITELIB}/mesonbuild/build.py
${PYSITELIB}/mesonbuild/build.pyc
${PYSITELIB}/mesonbuild/build.pyo
${PYSITELIB}/mesonbuild/compilers.py
${PYSITELIB}/mesonbuild/compilers.pyc
${PYSITELIB}/mesonbuild/compilers.pyo
${PYSITELIB}/mesonbuild/coredata.py
${PYSITELIB}/mesonbuild/coredata.pyc
${PYSITELIB}/mesonbuild/coredata.pyo
${PYSITELIB}/mesonbuild/dependencies/__init__.py
${PYSITELIB}/mesonbuild/dependencies/__init__.pyc
${PYSITELIB}/mesonbuild/dependencies/__init__.pyo
${PYSITELIB}/mesonbuild/dependencies/base.py
${PYSITELIB}/mesonbuild/dependencies/base.pyc
${PYSITELIB}/mesonbuild/dependencies/base.pyo
${PYSITELIB}/mesonbuild/dependencies/dev.py
${PYSITELIB}/mesonbuild/dependencies/dev.pyc
${PYSITELIB}/mesonbuild/dependencies/dev.pyo
${PYSITELIB}/mesonbuild/dependencies/misc.py
${PYSITELIB}/mesonbuild/dependencies/misc.pyc
${PYSITELIB}/mesonbuild/dependencies/misc.pyo
${PYSITELIB}/mesonbuild/dependencies/platform.py
${PYSITELIB}/mesonbuild/dependencies/platform.pyc
${PYSITELIB}/mesonbuild/dependencies/platform.pyo
${PYSITELIB}/mesonbuild/dependencies/ui.py
${PYSITELIB}/mesonbuild/dependencies/ui.pyc
${PYSITELIB}/mesonbuild/dependencies/ui.pyo
${PYSITELIB}/mesonbuild/environment.py
${PYSITELIB}/mesonbuild/environment.pyc
${PYSITELIB}/mesonbuild/environment.pyo
${PYSITELIB}/mesonbuild/interpreter.py
${PYSITELIB}/mesonbuild/interpreter.pyc
${PYSITELIB}/mesonbuild/interpreter.pyo
${PYSITELIB}/mesonbuild/interpreterbase.py
${PYSITELIB}/mesonbuild/interpreterbase.pyc
${PYSITELIB}/mesonbuild/interpreterbase.pyo
${PYSITELIB}/mesonbuild/mconf.py
${PYSITELIB}/mesonbuild/mconf.pyc
${PYSITELIB}/mesonbuild/mconf.pyo
${PYSITELIB}/mesonbuild/mesonlib.py
${PYSITELIB}/mesonbuild/mesonlib.pyc
${PYSITELIB}/mesonbuild/mesonlib.pyo
${PYSITELIB}/mesonbuild/mesonmain.py
${PYSITELIB}/mesonbuild/mesonmain.pyc
${PYSITELIB}/mesonbuild/mesonmain.pyo
${PYSITELIB}/mesonbuild/mintro.py
${PYSITELIB}/mesonbuild/mintro.pyc
${PYSITELIB}/mesonbuild/mintro.pyo
${PYSITELIB}/mesonbuild/mlog.py
${PYSITELIB}/mesonbuild/mlog.pyc
${PYSITELIB}/mesonbuild/mlog.pyo
${PYSITELIB}/mesonbuild/modules/__init__.py
${PYSITELIB}/mesonbuild/modules/__init__.pyc
${PYSITELIB}/mesonbuild/modules/__init__.pyo
${PYSITELIB}/mesonbuild/modules/gnome.py
${PYSITELIB}/mesonbuild/modules/gnome.pyc
${PYSITELIB}/mesonbuild/modules/gnome.pyo
${PYSITELIB}/mesonbuild/modules/i18n.py
${PYSITELIB}/mesonbuild/modules/i18n.pyc
${PYSITELIB}/mesonbuild/modules/i18n.pyo
${PYSITELIB}/mesonbuild/modules/modtest.py
${PYSITELIB}/mesonbuild/modules/modtest.pyc
${PYSITELIB}/mesonbuild/modules/modtest.pyo
${PYSITELIB}/mesonbuild/modules/pkgconfig.py
${PYSITELIB}/mesonbuild/modules/pkgconfig.pyc
${PYSITELIB}/mesonbuild/modules/pkgconfig.pyo
${PYSITELIB}/mesonbuild/modules/python3.py
${PYSITELIB}/mesonbuild/modules/python3.pyc
${PYSITELIB}/mesonbuild/modules/python3.pyo
${PYSITELIB}/mesonbuild/modules/qt4.py
${PYSITELIB}/mesonbuild/modules/qt4.pyc
${PYSITELIB}/mesonbuild/modules/qt4.pyo
${PYSITELIB}/mesonbuild/modules/qt5.py
${PYSITELIB}/mesonbuild/modules/qt5.pyc
${PYSITELIB}/mesonbuild/modules/qt5.pyo
${PYSITELIB}/mesonbuild/modules/rpm.py
${PYSITELIB}/mesonbuild/modules/rpm.pyc
${PYSITELIB}/mesonbuild/modules/rpm.pyo
${PYSITELIB}/mesonbuild/modules/windows.py
${PYSITELIB}/mesonbuild/modules/windows.pyc
${PYSITELIB}/mesonbuild/modules/windows.pyo
${PYSITELIB}/mesonbuild/mparser.py
${PYSITELIB}/mesonbuild/mparser.pyc
${PYSITELIB}/mesonbuild/mparser.pyo
${PYSITELIB}/mesonbuild/optinterpreter.py
${PYSITELIB}/mesonbuild/optinterpreter.pyc
${PYSITELIB}/mesonbuild/optinterpreter.pyo
${PYSITELIB}/mesonbuild/scripts/__init__.py
${PYSITELIB}/mesonbuild/scripts/__init__.pyc
${PYSITELIB}/mesonbuild/scripts/__init__.pyo
${PYSITELIB}/mesonbuild/scripts/cleantrees.py
${PYSITELIB}/mesonbuild/scripts/cleantrees.pyc
${PYSITELIB}/mesonbuild/scripts/cleantrees.pyo
${PYSITELIB}/mesonbuild/scripts/commandrunner.py
${PYSITELIB}/mesonbuild/scripts/commandrunner.pyc
${PYSITELIB}/mesonbuild/scripts/commandrunner.pyo
${PYSITELIB}/mesonbuild/scripts/coverage.py
${PYSITELIB}/mesonbuild/scripts/coverage.pyc
${PYSITELIB}/mesonbuild/scripts/coverage.pyo
${PYSITELIB}/mesonbuild/scripts/delwithsuffix.py
${PYSITELIB}/mesonbuild/scripts/delwithsuffix.pyc
${PYSITELIB}/mesonbuild/scripts/delwithsuffix.pyo
${PYSITELIB}/mesonbuild/scripts/depfixer.py
${PYSITELIB}/mesonbuild/scripts/depfixer.pyc
${PYSITELIB}/mesonbuild/scripts/depfixer.pyo
${PYSITELIB}/mesonbuild/scripts/dirchanger.py
${PYSITELIB}/mesonbuild/scripts/dirchanger.pyc
${PYSITELIB}/mesonbuild/scripts/dirchanger.pyo
${PYSITELIB}/mesonbuild/scripts/dist.py
${PYSITELIB}/mesonbuild/scripts/dist.pyc
${PYSITELIB}/mesonbuild/scripts/dist.pyo
${PYSITELIB}/mesonbuild/scripts/gettext.py
${PYSITELIB}/mesonbuild/scripts/gettext.pyc
${PYSITELIB}/mesonbuild/scripts/gettext.pyo
${PYSITELIB}/mesonbuild/scripts/gtkdochelper.py
${PYSITELIB}/mesonbuild/scripts/gtkdochelper.pyc
${PYSITELIB}/mesonbuild/scripts/gtkdochelper.pyo
${PYSITELIB}/mesonbuild/scripts/meson_exe.py
${PYSITELIB}/mesonbuild/scripts/meson_exe.pyc
${PYSITELIB}/mesonbuild/scripts/meson_exe.pyo
${PYSITELIB}/mesonbuild/scripts/meson_install.py
${PYSITELIB}/mesonbuild/scripts/meson_install.pyc
${PYSITELIB}/mesonbuild/scripts/meson_install.pyo
${PYSITELIB}/mesonbuild/scripts/msgfmthelper.py
${PYSITELIB}/mesonbuild/scripts/msgfmthelper.pyc
${PYSITELIB}/mesonbuild/scripts/msgfmthelper.pyo
${PYSITELIB}/mesonbuild/scripts/regen_checker.py
${PYSITELIB}/mesonbuild/scripts/regen_checker.pyc
${PYSITELIB}/mesonbuild/scripts/regen_checker.pyo
${PYSITELIB}/mesonbuild/scripts/scanbuild.py
${PYSITELIB}/mesonbuild/scripts/scanbuild.pyc
${PYSITELIB}/mesonbuild/scripts/scanbuild.pyo
${PYSITELIB}/mesonbuild/scripts/symbolextractor.py
${PYSITELIB}/mesonbuild/scripts/symbolextractor.pyc
${PYSITELIB}/mesonbuild/scripts/symbolextractor.pyo
${PYSITELIB}/mesonbuild/scripts/uninstall.py
${PYSITELIB}/mesonbuild/scripts/uninstall.pyc
${PYSITELIB}/mesonbuild/scripts/uninstall.pyo
${PYSITELIB}/mesonbuild/scripts/vcstagger.py
${PYSITELIB}/mesonbuild/scripts/vcstagger.pyc
${PYSITELIB}/mesonbuild/scripts/vcstagger.pyo
${PYSITELIB}/mesonbuild/scripts/yelphelper.py
${PYSITELIB}/mesonbuild/scripts/yelphelper.pyc
${PYSITELIB}/mesonbuild/scripts/yelphelper.pyo
${PYSITELIB}/mesonbuild/wrap/__init__.py
${PYSITELIB}/mesonbuild/wrap/__init__.pyc
${PYSITELIB}/mesonbuild/wrap/__init__.pyo
${PYSITELIB}/mesonbuild/wrap/wrap.py
${PYSITELIB}/mesonbuild/wrap/wrap.pyc
${PYSITELIB}/mesonbuild/wrap/wrap.pyo
${PYSITELIB}/mesonbuild/wrap/wraptool.py
${PYSITELIB}/mesonbuild/wrap/wraptool.pyc
${PYSITELIB}/mesonbuild/wrap/wraptool.pyo
man/man1/meson.1
man/man1/mesonconf.1
man/man1/mesonintrospect.1
man/man1/mesontest.1
man/man1/wraptool.1

6
devel/py-meson/distinfo Normal file
View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2017/08/14 21:07:44 wiz Exp $
SHA1 (meson-0.41.2.tar.gz) = dbd9d09deb7e224f41498936c6c922cf25db1bf3
RMD160 (meson-0.41.2.tar.gz) = 23194ac97f074af1cfcfe6e43769e8ee9f82a7f1
SHA512 (meson-0.41.2.tar.gz) = b11dccad82c2380004793e22f538b89d8871f080b55d2c8f5adab1afd4a215fac98304d823f320aefe9946dedc52747e5b2a877bfd80dc8c63d191c542b46a4e
Size (meson-0.41.2.tar.gz) = 1013526 bytes

View file

@ -0,0 +1,2 @@
executable('intlprog', 'intlmain.c', install : true,
dependencies : meson.get_compiler('c').find_library('intl', required : false))