pkgsrc-wip/hs-cairo/options.mk
PHO / phonohawk d935365524 Import hs-cairo-0.12.0 as wip/hs-cairo.
Cairo is a library to render high quality vector graphics. There exist
various backends that allows rendering to Gtk windows, PDF, PS, PNG
and SVG documents, amongst others.
2011-07-12 09:18:11 +00:00

37 lines
675 B
Makefile

# $NetBSD: options.mk,v 1.1.1.1 2011/07/12 09:18:11 phonohawk Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.hs-cairo
PKG_SUPPORTED_OPTIONS= \
pdf \
ps \
svg
PKG_SUGGESTED_OPTIONS= \
pdf \
ps \
svg
.include "../../mk/bsd.options.mk"
# Enable the PDF backend of Cairo.
.if !empty(PKG_OPTIONS:Mpdf)
CONFIGURE_ARGS+= -fcairo_pdf
.else
CONFIGURE_ARGS+= -f-cairo_pdf
.endif
# Enable the PostScript backend of Cairo.
.if !empty(PKG_OPTIONS:Mps)
CONFIGURE_ARGS+= -fcairo_ps
.else
CONFIGURE_ARGS+= -f-cairo_ps
.endif
# Enable the Scalable Vector Graphics (SVG) backend of Cairo.
.if !empty(PKG_OPTIONS:Msvg)
CONFIGURE_ARGS+= -fcairo_svg
.else
CONFIGURE_ARGS+= -f-cairo_svg
.endif