blob: 3b6c172eb08ad12904e2ecc68a0ca75c8bee665b (
plain)
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
38
39
40
41
42
43
44
45
46
|
# $NetBSD: options.mk,v 1.4 2008/09/22 20:21:03 joerg Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.zphoto
PKG_SUPPORTED_OPTIONS= zip wx
PKG_OPTIONS_REQUIRED_GROUPS= graphics
PKG_OPTIONS_GROUP.graphics= imlib2 imagemagick
PKG_SUGGESTED_OPTIONS= imlib2
PKG_OPTIONS_LEGACY_OPTS+= magick:imagemagick
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mimlib2)
. include "../../graphics/imlib2/buildlink3.mk"
CONFIGURE_ARGS+= --disable-magick
. if !empty(PKG_BUILD_OPTIONS.imlib2:Mx11)
CONFIGURE_ARGS+= --with-x
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../x11/libXt/buildlink3.mk"
. else
CONFIGURE_ARGS+= --without-x
. endif
.elif !empty(PKG_OPTIONS:Mmagick)
. include "../../graphics/ImageMagick/buildlink3.mk"
CONFIGURE_ARGS+= --disable-imlib2
.endif
.if !empty(PKG_OPTIONS:Mzip)
DEPENDS+= zip-[0-9]*:../../archivers/zip
.else
CONFIGURE_ARGS+= --disable-zip
.endif
#.if !empty(PKG_OPTIONS:Mavifile)
#.include "../../wip/avifile-devel/buildlink3.mk"
#BUILDLINK_API_DEPENDS.avifile-devel+= avifile-devel>=0.7.34
#.else
#CONFIGURE_ARGS+= --disable-avifile
#.endif
PLIST_VARS+= wx
.if !empty(PKG_OPTIONS:Mwx)
.include "../../x11/wxGTK26/buildlink3.mk"
PLIST.wx= yes
.else
CONFIGURE_ARGS+= --disable-wx
.endif
|