openbsd-ports/graphics/node-canvas/Makefile
2012-12-05 00:48:30 +00:00

39 lines
813 B
Makefile

# $OpenBSD: Makefile,v 1.7 2012/12/05 00:48:30 abieber Exp $
COMMENT = Cairo-backed Canvas implementation for Node.js
NPM_VERSION = 0.13.1
NPM_NAME = canvas
CATEGORIES = graphics
REVISION = 0
HOMEPAGE = https://github.com/learnboost/node-canvas
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += GL X11 Xrender cairo crypto expat fontconfig freetype
WANTLIB += glib-2.0 gobject-2.0 pixman-1 png pthread pthread-stubs
WANTLIB += ssl xcb xcb-render xcb-shm z
MODULES = devel/gettext \
lang/node
# used by package/util/has_lib.sh
BUILD_DEPENDS= shells/bash
LIB_DEPENDS = devel/pango \
graphics/cairo \
graphics/jpeg \
graphics/libungif
CONFIGURE_STYLE = npm ext
# needs mocha
NO_REGRESS = Yes
.include <bsd.port.mk>