pkgsrc-wip/zsh/options.mk
Blair Sadewitz e35200e685 Import zsh-4.3.6 as wip/zsh.
This is the start of a reworking of zsh-current to be more pkgsrc-
and user- friendly.

goals:	- provide coherent terminal type selection facility
	- provide facility (using PRINT_PLIST_AWK, etc) to ease installation
	  of completion scripts.
	- Set site function-dir and others in accordance with pkgsrc
	  policy (?).
	- Support as many platforms as possible, consdering the recommended
	  options, e.g. using zsh's own memory allocator, etc.
	- test

	I don't have much time to work on this, so others are most welcome!
2008-07-08 15:51:15 +00:00

29 lines
764 B
Makefile

# $NetBSD: options.mk,v 1.1.1.1 2008/07/08 15:51:15 bsadewitz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.zsh
PKG_SUPPORTED_OPTIONS= static zsh-multibyte pcre wide-curses
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mstatic)
CONFIGURE_ARGS+= --disable-dynamic
.else
DLOPEN_REQUIRE_PTHREADS=no
. include "../../mk/dlopen.buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mzsh-multibyte)
CONFIGURE_ARGS+= --enable-multibyte
.endif
.if !empty(PKG_OPTIONS:Mpcre)
PCRE_CONFIG= ${BUILDLINK_PREFIX.pcre}/bin/pcre-config
CONFIGURE_ARGS+= --with-pcre
CONFIGURE_ENV+= PCRE_CONFIG=${PCRE_CONFIG:Q}
. include "../../devel/pcre/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mwide-curses)
WITH_TERM_LIBS+= ncursesw
. include "../../devel/ncursesw/buildlink3.mk"
.endif