pkgsrc/databases/sqlrelay-nodejs/Makefile
2017-01-01 16:05:55 +00:00

28 lines
743 B
Makefile

# $NetBSD: Makefile,v 1.7 2017/01/01 16:06:07 adam Exp $
PKGNAME= ${DISTNAME:S/sqlrelay/sqlrelay-nodejs/}
PKGREVISION= 1
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
CXXFLAGS+= -std=c++11
# Benign reference inside an object file
CHECK_WRKREF_SKIP+= lib/node_modules/sqlrelay/sqlrelay.node
.include "../../databases/sqlrelay/buildlink3.mk"
.include "../../lang/python/tool.mk"
.include "../../mk/bsd.pkg.mk"