pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-meson
Module Name: pkgsrc
Committed By: wiz
Date: Mon Aug 14 21:14:10 UTC 2017
Added Files:
pkgsrc/devel/py-meson: build.mk
Log Message:
Add fragment for using meson to build and install.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-meson/build.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/py-meson/build.mk
diff -u /dev/null pkgsrc/devel/py-meson/build.mk:1.1
--- /dev/null Mon Aug 14 21:14:10 2017
+++ pkgsrc/devel/py-meson/build.mk Mon Aug 14 21:14:10 2017
@@ -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