34 lines
713 B
Makefile
34 lines
713 B
Makefile
# $OpenBSD: Makefile,v 1.9 2013/03/11 11:10:54 espie Exp $
|
|
|
|
COMMENT = Cairo-backed Canvas implementation for Node.js
|
|
|
|
NPM_VERSION = 1.0.0
|
|
NPM_NAME = canvas
|
|
CATEGORIES = graphics
|
|
|
|
HOMEPAGE = https://github.com/learnboost/node-canvas
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM = 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_TEST = Yes
|
|
|
|
.include <bsd.port.mk>
|