pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-meson Add fragment for using meson to build a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9d754175c96b
branches:  trunk
changeset: 366495:9d754175c96b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Aug 14 21:14:10 2017 +0000

description:
Add fragment for using meson to build and install.

diffstat:

 devel/py-meson/build.mk |  19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diffs (23 lines):

diff -r ace2babab4e7 -r 9d754175c96b devel/py-meson/build.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-meson/build.mk   Mon Aug 14 21:14:10 2017 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index