1 # $NetBSD: options.mk,v 1.5 2013/03/16 22:39:20 dholland Exp $
3 PKG_OPTIONS_VAR
= PKG_OPTIONS.GraphicsMagick
4 PKG_SUPPORTED_OPTIONS
= bzip2 lzma x11 jasper ghostscript wmf
5 PKG_SUGGESTED_OPTIONS
= bzip2 lzma x11 jasper
7 .
include "../../mk/bsd.options.mk"
9 PLIST_VARS
+= jasper x11
11 .if
!empty
(PKG_OPTIONS
:Mbzip2
)
12 .
include "../../archivers/bzip2/buildlink3.mk"
14 CONFIGURE_ARGS
+= --without-bzlib
17 .if
!empty
(PKG_OPTIONS
:Mlzma
)
18 .
include "../../archivers/xz/buildlink3.mk"
20 CONFIGURE_ARGS
+= --without-lzma
23 .if
!empty
(PKG_OPTIONS
:Mx11
)
24 .
include "../../x11/libSM/buildlink3.mk"
25 .
include "../../x11/libX11/buildlink3.mk"
26 .
include "../../x11/libXext/buildlink3.mk"
29 CONFIGURE_ARGS
+= --without-x
32 .if
!empty
(PKG_OPTIONS
:Mjasper
)
33 BUILDLINK_API_DEPENDS.jasper
+= jasper
>=1.701.0
34 .
include "../../graphics/jasper/buildlink3.mk"
35 CONFIGURE_ARGS
+= --with-jp2
38 CONFIGURE_ARGS
+= --without-jp2
41 .if
!empty
(PKG_OPTIONS
:Mghostscript
)
42 .
include "../../print/ghostscript/buildlink3.mk"
43 CONFIGURE_ARGS
+= --with-gslib
45 CONFIGURE_ARGS
+= --without-gslib
48 .if
!empty
(PKG_OPTIONS
:Mwmf
)
49 .
include "../../graphics/libwmf/buildlink3.mk"
50 CONFIGURE_ARGS
+= --with-wmf
52 CONFIGURE_ARGS
+= --without-wmf