mirror of
https://github.com/openbsd/ports.git
synced 2026-06-19 16:05:12 +02:00
877e92b50c
Build process changed from waf to gyp, modify gyp binding to work.
38 lines
764 B
Makefile
38 lines
764 B
Makefile
# $OpenBSD: Makefile,v 1.7 2012/06/28 17:31:43 jeremy Exp $
|
|
|
|
COMMENT = postgresql client for nodejs
|
|
|
|
NPM_VERSION = 0.7.1
|
|
NPM_NAME = pg
|
|
CATEGORIES = databases
|
|
|
|
MAINTAINER = Jeremy Evans <jeremy@openbsd.org>
|
|
|
|
HOMEPAGE = https://github.com/brianc/node-postgres
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MODULES = lang/node
|
|
|
|
CONFIGURE_STYLE = npm ext
|
|
|
|
WANTLIB = pq
|
|
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
|
LIB_DEPENDS = databases/postgresql
|
|
RUN_DEPENDS = devel/node-generic-pool
|
|
MODNODE_DEPENDS = generic-pool
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/binding.gyp
|
|
|
|
# Must have a database setup running on localhost with
|
|
# user=postgres and password=1234
|
|
REGRESS_TARGET = test-all
|
|
|
|
.include <bsd.port.mk>
|