~cypheon/pkgsrc-wip

pkgsrc-wip/hs-cairo/options.mk -rw-r--r-- 675 bytes
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $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