summaryrefslogtreecommitdiff
path: root/x11/rxvt-unicode/options.mk
blob: 11dcd135e67bb82980b462a7c1c9696dc8e87ea7 (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
47
48
49
50
51
52
53
54
# $NetBSD: options.mk,v 1.8 2012/01/04 11:04:04 wiz Exp $

PKG_OPTIONS_VAR=        PKG_OPTIONS.rxvt-unicode
PKG_SUPPORTED_OPTIONS=  perl unicode3 xft2 rxvt-term
PKG_SUGGESTED_OPTIONS=  perl unicode3 xft2

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mrxvt-term)
CONFIGURE_ARGS+=	--with-term=rxvt
.endif

PLIST_VARS+=		perl
.if !empty(PKG_OPTIONS:Mperl)
USE_TOOLS+=     	perl:run
CONFIGURE_ARGS+=	--enable-perl
PLIST.perl=		yes
.include "../../lang/perl5/buildlink3.mk"
USE_TOOLS+=		perl
REPLACE_PERL+=		src/perl/block-graphics-to-ascii
REPLACE_PERL+=		src/perl/digital-clock
REPLACE_PERL+=		src/perl/example-refresh-hooks
REPLACE_PERL+=		src/perl/kuake
REPLACE_PERL+=		src/perl/macosx-clipboard
REPLACE_PERL+=		src/perl/matcher
REPLACE_PERL+=		src/perl/option-popup
REPLACE_PERL+=		src/perl/overlay-osc
REPLACE_PERL+=		src/perl/readline
REPLACE_PERL+=		src/perl/remote-clipboard
REPLACE_PERL+=		src/perl/searchable-scrollback
REPLACE_PERL+=		src/perl/selection
REPLACE_PERL+=		src/perl/selection-autotransform
REPLACE_PERL+=		src/perl/selection-pastebin
REPLACE_PERL+=		src/perl/selection-popup
REPLACE_PERL+=		src/perl/tabbed
REPLACE_PERL+=		src/perl/urxvt-popup
REPLACE_PERL+=		src/perl/xim-onthespot
.else
CONFIGURE_ARGS+=	--disable-perl
.endif

# use 21 instead of 16 bits to represent unicode characters
.if !empty(PKG_OPTIONS:Municode3)
CONFIGURE_ARGS+=	--enable-unicode3
.else
CONFIGURE_ARGS+=	--disable-unicode3
.endif

.if !empty(PKG_OPTIONS:Mxft2)
CONFIGURE_ARGS+=	--enable-xft
.include "../../x11/libXft/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-xft
.endif