Add fragment for using meson to build and install.
This commit is contained in:
parent
05c37f9039
commit
56784e8953
1 changed files with 19 additions and 0 deletions
19
devel/py-meson/build.mk
Normal file
19
devel/py-meson/build.mk
Normal file
|
@ -0,0 +1,19 @@
|
|||
# $NetBSD: build.mk,v 1.1 2017/08/14 21:14:10 wiz Exp $
|
||||
|
||||
BUILD_DEPENDS+= ${PYPKGPREFIX}-meson-[0-9]*:../../devel/py-meson
|
||||
|
||||
.PHONY: meson-configure meson-build meson-install
|
||||
|
||||
do-configure: meson-configure
|
||||
meson-configure:
|
||||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} meson --prefix ${PREFIX} --buildtype=plain . output
|
||||
|
||||
do-build: meson-build
|
||||
meson-build:
|
||||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ninja -C output
|
||||
|
||||
do-install: meson-install
|
||||
meson-install:
|
||||
cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ninja -C output install
|
||||
|
||||
.include "../../lang/python/application.mk"
|
Loading…
Reference in a new issue