2013-11-05 16:24:14 +00:00

36 lines
792 B
Makefile

# $OpenBSD: Makefile,v 1.13 2013/11/05 16:26:29 abieber Exp $
COMMENT = Cairo-backed Canvas implementation for Node.js
NPM_VERSION = 1.0.0
NPM_NAME = canvas
CATEGORIES = graphics
REVISION = 3
HOMEPAGE = https://github.com/learnboost/node-canvas
# MIT
PERMIT_PACKAGE_CDROM = Yes
# XXX some of the LIB_DEPENDS don't have associated entries here
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/giflib
CONFIGURE_STYLE = npm ext
# needs mocha
NO_TEST = Yes
.include <bsd.port.mk>