2014-10-01 06:29:04 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2014/10/01 06:29:04 jasper Exp $
|
2012-04-03 18:49:11 +00:00
|
|
|
|
2012-07-12 21:42:53 +00:00
|
|
|
COMMENT = postgresql client for Node.js
|
2012-04-03 18:49:11 +00:00
|
|
|
|
2013-11-25 23:27:02 +00:00
|
|
|
NPM_VERSION = 2.8.2
|
2012-04-03 18:49:11 +00:00
|
|
|
NPM_NAME = pg
|
2014-10-01 06:29:04 +00:00
|
|
|
REVISION = 0
|
2012-04-03 18:49:11 +00:00
|
|
|
CATEGORIES = databases
|
|
|
|
|
2013-05-24 18:30:28 +00:00
|
|
|
MAINTAINER = Roman Kravchuk <kravchuk.kp@gmail.com>
|
2012-04-03 18:49:11 +00:00
|
|
|
|
|
|
|
HOMEPAGE = https://github.com/brianc/node-postgres
|
|
|
|
|
|
|
|
# MIT
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
2012-05-23 15:13:20 +00:00
|
|
|
MODULES = lang/node
|
2012-04-03 18:49:11 +00:00
|
|
|
|
|
|
|
CONFIGURE_STYLE = npm ext
|
|
|
|
|
|
|
|
WANTLIB = pq
|
|
|
|
|
|
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
|
|
|
LIB_DEPENDS = databases/postgresql
|
2013-05-19 15:22:51 +00:00
|
|
|
RUN_DEPENDS = devel/node-generic-pool \
|
|
|
|
devel/node-buffer-writer
|
|
|
|
|
|
|
|
MODNODE_DEPENDS = generic-pool \
|
2013-11-25 23:27:02 +00:00
|
|
|
buffer-writer \
|
|
|
|
node-gyp
|
2012-04-03 18:49:11 +00:00
|
|
|
|
2012-06-28 17:31:43 +00:00
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/binding.gyp
|
|
|
|
|
2012-05-10 08:41:39 +00:00
|
|
|
# Must have a database setup running on localhost with
|
|
|
|
# user=postgres and password=1234
|
2013-11-25 23:27:02 +00:00
|
|
|
TEST_TARGET = test-all
|
|
|
|
TEST_FLAGS = WRKDIR=${WRKDIR}
|
2012-05-10 08:41:39 +00:00
|
|
|
|
2012-04-03 18:49:11 +00:00
|
|
|
.include <bsd.port.mk>
|