diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-11-25 21:34:59 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-11-25 21:34:59 +0000 |
commit | cedd7194636cb63a49471da4c755f3df7b467a9c (patch) | |
tree | a37ef7802177bfd640b30a798b79b5f797869e32 /editors/xemacs/options.mk | |
parent | 317c335c7a2a1e9fe80c997f09a4cfc34eab13d0 (diff) | |
download | pkgsrc-cedd7194636cb63a49471da4c755f3df7b467a9c.tar.gz |
Convert to use bsd.options.mk, the following options are available:
ldap xface canna
# XXX Support for the following variables will be removed after the
# XXX pkgsrc-2004Q4 branch is released:
# XXX
# XXX USE_OPENLDAP
# XXX USE_XFACE
# XXX XEMACS_USE_CANNA
Diffstat (limited to 'editors/xemacs/options.mk')
-rw-r--r-- | editors/xemacs/options.mk | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/editors/xemacs/options.mk b/editors/xemacs/options.mk new file mode 100644 index 00000000000..a5ba8d78666 --- /dev/null +++ b/editors/xemacs/options.mk @@ -0,0 +1,47 @@ +# $NetBSD: options.mk,v 1.1 2004/11/25 21:34:59 xtraeme Exp $ +# +# XXX Support for the following variables will be removed after the +# XXX pkgsrc-2004Q4 branch is released: +# XXX +# XXX USE_OPENLDAP +# XXX USE_XFACE +# XXX XEMACS_USE_CANNA + +.if defined(USE_OPENLDAP) && !empty(USE_OPENLDAP:M[Yy][Ee][Ss]) +PKG_DEFAULT_OPTIONS+= ldap +.endif + +.if defined(USE_XFACE) && !empty(USE_XFACE:M[Yy][Ee][Ss]) +PKG_DEFAULT_OPTIONS+= xfaces +.endif + +.if defined(XEMACS_USE_CANNA) && !empty(XEMACS_USE_CANNA:M[Yy][Ee][Ss]) +PKG_DEFAULT_OPTIONS+= canna +.endif + +PKG_OPTIONS_VAR= PKG_OPTIONS.xemacs +PKG_SUPPORTED_OPTIONS= ldap xface canna + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mldap) +CONFIGURE_ARGS= --with-ldap +. include "../../databases/openldap/buildlink3.mk" +.else +CONFIGURE_ARGS= --without-ldap +.endif + +.if !empty(PKG_OPTIONS:Mxface) +CONFIGURE_ARGS= --with-xface +. include "../../mail/faces/buildlink3.mk" +.else +CONFIGURE_ARGS= --without-xface +.endif + +.if !empty(PKG_OPTIONS:Mcanna) +. include "../../inputmethod/canna-lib/buildlink3.mk" +CONFIGURE_ARGS= --with-canna +.else +CONFIGURE_ARGS= --without-canna +.endif + |