Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / x11 / rxvt-unicode / options.mk
blob0a9699d53f9424a069c50c894d24e4d0f6a18757
1 # $NetBSD: options.mk,v 1.9 2012/02/29 18:49:40 morr Exp $
3 PKG_OPTIONS_VAR= PKG_OPTIONS.rxvt-unicode
4 PKG_SUPPORTED_OPTIONS= perl unicode3 xft2 rxvt-term
5 PKG_SUGGESTED_OPTIONS= perl unicode3 xft2
7 .include "../../mk/bsd.options.mk"
9 .if !empty(PKG_OPTIONS:Mrxvt-term)
10 CONFIGURE_ARGS+= --with-term=rxvt
11 .endif
13 PLIST_VARS+= perl
14 .if !empty(PKG_OPTIONS:Mperl)
15 USE_TOOLS+= perl:run
16 CONFIGURE_ARGS+= --enable-perl
17 PLIST.perl= yes
18 .include "../../lang/perl5/buildlink3.mk"
19 USE_TOOLS+= perl
20 REPLACE_PERL+= src/perl/*
21 .else
22 CONFIGURE_ARGS+= --disable-perl
23 .endif
25 # use 21 instead of 16 bits to represent unicode characters
26 .if !empty(PKG_OPTIONS:Municode3)
27 CONFIGURE_ARGS+= --enable-unicode3
28 .else
29 CONFIGURE_ARGS+= --disable-unicode3
30 .endif
32 .if !empty(PKG_OPTIONS:Mxft2)
33 CONFIGURE_ARGS+= --enable-xft
34 .include "../../x11/libXft/buildlink3.mk"
35 .else
36 CONFIGURE_ARGS+= --disable-xft
37 .endif