summaryrefslogtreecommitdiff
path: root/databases/sqlrelay-nodejs
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2015-09-02 12:44:07 +0000
committerfhajny <fhajny@pkgsrc.org>2015-09-02 12:44:07 +0000
commit3622d06dba5b28be18e67485fa1238a695ab69a1 (patch)
tree1da60e352bea0cb9f4cf5e361792c9082d62ca4d /databases/sqlrelay-nodejs
parentd9082c059c37d9353be07b077046c78612696a3d (diff)
downloadpkgsrc-3622d06dba5b28be18e67485fa1238a695ab69a1.tar.gz
Import SQLRelay node.js API as databases/sqlrelay-nodejs.
Diffstat (limited to 'databases/sqlrelay-nodejs')
-rw-r--r--databases/sqlrelay-nodejs/Makefile22
-rw-r--r--databases/sqlrelay-nodejs/PLIST4
2 files changed, 26 insertions, 0 deletions
diff --git a/databases/sqlrelay-nodejs/Makefile b/databases/sqlrelay-nodejs/Makefile
new file mode 100644
index 00000000000..38d995e88d5
--- /dev/null
+++ b/databases/sqlrelay-nodejs/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2015/09/02 12:44:07 fhajny Exp $
+
+PKGNAME= ${DISTNAME:S/sqlrelay/sqlrelay-nodejs/}
+COMMENT= node.js API for SQL Relay
+
+.include "../../databases/sqlrelay/Makefile.common"
+
+DEPENDS+= nodejs-[0-9]*:../../lang/nodejs
+
+LICENSE= gnu-lgpl-v2
+
+CONFIGURE_ARGS+= --with-nodejs-prefix=${PREFIX}
+CONFIGURE_ARGS+= --disable-postgresql
+CONFIGURE_ARGS+= --disable-sqlite
+CONFIGURE_ARGS+= --disable-freetds
+CONFIGURE_ARGS+= --disable-mysql
+
+BUILD_DIRS= src/api/nodejs
+
+.include "../../databases/sqlrelay/buildlink3.mk"
+.include "../../lang/python/tool.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/sqlrelay-nodejs/PLIST b/databases/sqlrelay-nodejs/PLIST
new file mode 100644
index 00000000000..6d832555886
--- /dev/null
+++ b/databases/sqlrelay-nodejs/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2015/09/02 12:44:07 fhajny Exp $
+lib/node_modules/sqlrelay/index.js
+lib/node_modules/sqlrelay/package.json
+lib/node_modules/sqlrelay/sqlrelay.node