Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 55 lines (45 sloc) 1.307 kb
7deee0f Update GraphicsMagick to 1.3.13.
obache authored
1 # $NetBSD: options.mk,v 1.3 2012/01/08 05:25:54 obache Exp $
f451a93 Add options.mk for GraphicsMagic and add options for building without X
dmcmahill authored
2
3 PKG_OPTIONS_VAR= PKG_OPTIONS.GraphicsMagick
7deee0f Update GraphicsMagick to 1.3.13.
obache authored
4 PKG_SUPPORTED_OPTIONS= bzip2 lzma x11 jasper ghostscript wmf
5 PKG_SUGGESTED_OPTIONS= bzip2 lzma x11 jasper
f451a93 Add options.mk for GraphicsMagic and add options for building without X
dmcmahill authored
6
7 .include "../../mk/bsd.options.mk"
8
e7d5626 Moudulalize GraphicsMagick, for let PerlMagick to lightweight.
obache authored
9 PLIST_VARS+= jasper x11
10
f451a93 Add options.mk for GraphicsMagic and add options for building without X
dmcmahill authored
11 .if !empty(PKG_OPTIONS:Mbzip2)
12 .include "../../archivers/bzip2/buildlink3.mk"
13 .else
14 CONFIGURE_ARGS+= --without-bzlib
15 .endif
16
7deee0f Update GraphicsMagick to 1.3.13.
obache authored
17 .if !empty(PKG_OPTIONS:Mlzma)
18 .include "../../archivers/xz/buildlink3.mk"
19 .else
20 CONFIGURE_ARGS+= --without-lzma
21 .endif
22
f451a93 Add options.mk for GraphicsMagic and add options for building without X
dmcmahill authored
23 .if !empty(PKG_OPTIONS:Mx11)
24 .include "../../x11/libSM/buildlink3.mk"
25 .include "../../x11/libX11/buildlink3.mk"
26 .include "../../x11/libXext/buildlink3.mk"
27 .include "../../x11/xextproto/buildlink3.mk"
e7d5626 Moudulalize GraphicsMagick, for let PerlMagick to lightweight.
obache authored
28 PLIST.x11= yes
f451a93 Add options.mk for GraphicsMagic and add options for building without X
dmcmahill authored
29 .else
30 CONFIGURE_ARGS+= --without-x
31 .endif
32
33 .if !empty(PKG_OPTIONS:Mjasper)
34 BUILDLINK_API_DEPENDS.jasper+= jasper>=1.701.0
35 .include "../../graphics/jasper/buildlink3.mk"
36 CONFIGURE_ARGS+= --with-jp2
e7d5626 Moudulalize GraphicsMagick, for let PerlMagick to lightweight.
obache authored
37 PLIST.jasper= yes
f451a93 Add options.mk for GraphicsMagic and add options for building without X
dmcmahill authored
38 .else
39 CONFIGURE_ARGS+= --without-jp2
40 .endif
41
42 .if !empty(PKG_OPTIONS:Mghostscript)
43 .include "../../print/ghostscript/buildlink3.mk"
44 CONFIGURE_ARGS+= --with-gslib
45 .else
46 CONFIGURE_ARGS+= --without-gslib
47 .endif
48
49 .if !empty(PKG_OPTIONS:Mwmf)
50 .include "../../graphics/libwmf/buildlink3.mk"
51 CONFIGURE_ARGS+= --with-wmf
52 .else
53 CONFIGURE_ARGS+= --without-wmf
54 .endif
Something went wrong with that request. Please try again.