2012-06-16 01:06:02 +02:00
|
|
|
# $NetBSD: options.mk,v 1.10 2012/06/15 23:06:04 dholland Exp $
|
2006-12-15 16:01:30 +01:00
|
|
|
|
2012-06-16 01:06:02 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.rxvt-unicode
|
|
|
|
PKG_SUPPORTED_OPTIONS= perl unicode3 xft2 rxvt-term
|
|
|
|
PKG_SUGGESTED_OPTIONS= perl unicode3 xft2
|
2006-12-15 16:01:30 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2006-12-15 17:01:16 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mrxvt-term)
|
|
|
|
CONFIGURE_ARGS+= --with-term=rxvt
|
|
|
|
.endif
|
|
|
|
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST_VARS+= perl
|
2006-12-15 16:01:30 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mperl)
|
2012-06-16 01:06:02 +02:00
|
|
|
USE_TOOLS+= perl:run
|
2006-12-15 17:01:16 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-perl
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST.perl= yes
|
2006-12-15 16:01:30 +01:00
|
|
|
.include "../../lang/perl5/buildlink3.mk"
|
2007-11-22 12:57:19 +01:00
|
|
|
USE_TOOLS+= perl
|
2012-06-16 01:06:02 +02:00
|
|
|
REPLACE_PERL+= src/perl/*
|
2006-12-15 16:01:30 +01:00
|
|
|
.else
|
2006-12-15 17:01:16 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-perl
|
2006-12-15 16:01:30 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
# use 21 instead of 16 bits to represent unicode characters
|
|
|
|
.if !empty(PKG_OPTIONS:Municode3)
|
2006-12-15 17:01:16 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-unicode3
|
2006-12-15 16:01:30 +01:00
|
|
|
.else
|
2006-12-15 17:01:16 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-unicode3
|
2006-12-15 16:01:30 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mxft2)
|
2006-12-15 17:01:16 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-xft
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXft/buildlink3.mk"
|
2006-12-15 16:01:30 +01:00
|
|
|
.else
|
2006-12-15 17:01:16 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-xft
|
2006-12-15 16:01:30 +01:00
|
|
|
.endif
|