openbsd-ports/graphics/node-canvas/Makefile

36 lines
782 B
Makefile

# $OpenBSD: Makefile,v 1.3 2012/07/12 21:42:54 jasper Exp $
COMMENT = Cairo-backed Canvas implementation for Node.js
NPM_VERSION = 0.12.0
NPM_NAME = canvas
REVISION = 1
CATEGORIES = graphics
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 Xau Xdamage Xdmcp Xext Xfixes Xrender Xxf86vm
WANTLIB += c cairo drm expat fontconfig freetype gif glib-2.0
WANTLIB += gobject-2.0 jpeg pcre pixman-1 png pthread-stubs
WANTLIB += xcb xcb-render xcb-shm z
MODULES = devel/gettext \
lang/node
LIB_DEPENDS = graphics/cairo \
graphics/jpeg \
graphics/libungif
CONFIGURE_STYLE = npm ext
# needs mocha
NO_REGRESS = Yes
.include <bsd.port.mk>