summaryrefslogtreecommitdiff
path: root/devel/waf
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-09-08 11:29:44 +0000
committerwiz <wiz@pkgsrc.org>2014-09-08 11:29:44 +0000
commit1b7790e3ff185de0cc91ecb43cbc82de1c7d3682 (patch)
tree427d37ece1ea48ff2e173fc983738bfbe63bb037 /devel/waf
parent8dc1407fc06e1535a4ec0063a3c04799dacd12ce (diff)
downloadpkgsrc-1b7790e3ff185de0cc91ecb43cbc82de1c7d3682.tar.gz
Import waf-1.7.16 as devel/waf.
Waf is a Python-based framework for configuring, compiling and installing applications. Here are perhaps the most important features of Waf: * Automatic build order: the build order is computed from input and output files, among others * Automatic dependencies: tasks to execute are detected by hashing files and commands * Performance: tasks are executed in parallel automatically, the startup time is meant to be fast (separation between configuration and build) * Flexibility: new commands and tasks can be added very easily through subclassing, bottlenecks for specific builds can be eliminated through dynamic method replacement * Extensibility: though many programming languages and compilers are already supported by default, many others are available as extensions * IDE support: Eclipse, Visual Studio and Xcode project generators (waflib/extras/) * Documentation: the application is based on a robust model documented in The Waf book and in the API docs * Python compatibility: cPython 2.4 to 3.4, Jython 2.5, IronPython, and Pypy
Diffstat (limited to 'devel/waf')
-rw-r--r--devel/waf/DESCR23
-rw-r--r--devel/waf/Makefile23
-rw-r--r--devel/waf/PLIST2
-rw-r--r--devel/waf/distinfo5
4 files changed, 53 insertions, 0 deletions
diff --git a/devel/waf/DESCR b/devel/waf/DESCR
new file mode 100644
index 00000000000..1ed309c974c
--- /dev/null
+++ b/devel/waf/DESCR
@@ -0,0 +1,23 @@
+Waf is a Python-based framework for configuring, compiling and
+installing applications. Here are perhaps the most important features
+of Waf:
+
+* Automatic build order: the build order is computed from input
+ and output files, among others
+* Automatic dependencies: tasks to execute are detected by hashing
+ files and commands
+* Performance: tasks are executed in parallel automatically, the
+ startup time is meant to be fast (separation between configuration
+ and build)
+* Flexibility: new commands and tasks can be added very easily
+ through subclassing, bottlenecks for specific builds can be
+ eliminated through dynamic method replacement
+* Extensibility: though many programming languages and compilers
+ are already supported by default, many others are available as
+ extensions
+* IDE support: Eclipse, Visual Studio and Xcode project generators
+ (waflib/extras/)
+* Documentation: the application is based on a robust model
+ documented in The Waf book and in the API docs
+* Python compatibility: cPython 2.4 to 3.4, Jython 2.5, IronPython,
+ and Pypy
diff --git a/devel/waf/Makefile b/devel/waf/Makefile
new file mode 100644
index 00000000000..232f0e4349f
--- /dev/null
+++ b/devel/waf/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2014/09/08 11:29:44 wiz Exp $
+
+DISTNAME= waf-1.7.16
+CATEGORIES= devel
+MASTER_SITES= http://ftp.waf.io/pub/release/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://code.google.com/p/waf/
+COMMENT= Framework for configuring, compiling and installing applications
+LICENSE= modified-bsd
+
+REPLACE_PYTHON= waf-light
+INSTALLATION_DIRS= bin
+
+do-build:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf-light configure build
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/waf ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/waf/PLIST b/devel/waf/PLIST
new file mode 100644
index 00000000000..f0aaadf12a7
--- /dev/null
+++ b/devel/waf/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2014/09/08 11:29:44 wiz Exp $
+bin/waf
diff --git a/devel/waf/distinfo b/devel/waf/distinfo
new file mode 100644
index 00000000000..3b22bd49d66
--- /dev/null
+++ b/devel/waf/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/09/08 11:29:44 wiz Exp $
+
+SHA1 (waf-1.7.16.tar.bz2) = 65d41120277d06b027bd4d4f435c176f67d2d865
+RMD160 (waf-1.7.16.tar.bz2) = 78a269afa61edd6c2c40e30b1e9697a27c39b090
+Size (waf-1.7.16.tar.bz2) = 716697 bytes