pkgsrc/net/pure-ftpd/options.mk
ghen 2eca3d9f2c The databases/openldap package has been split in -client and -server component
packages.  Convert LDAP-based applications to depend on openldap-client, and
bump PKGREVISION for those that depend on it by default.
2006-05-31 18:22:23 +00:00

41 lines
1.1 KiB
Makefile

# $NetBSD: options.mk,v 1.6 2006/05/31 18:22:25 ghen Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.pureftpd
PKG_SUPPORTED_OPTIONS= ldap mysql pgsql ssl virtualchroot utf8
PKG_OPTIONS_LEGACY_VARS+= PURE_FTPD_USE_MYSQL:mysql
PKG_OPTIONS_LEGACY_VARS+= PURE_FTPD_USE_PGSQL:pgsql
PKG_OPTIONS_LEGACY_VARS+= PURE_FTPD_USE_TLS:ssl
PKG_OPTIONS_LEGACY_VARS+= PURE_FTPD_USE_VIRTUAL_CHROOT:virtualchroot
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mldap)
. include "../../databases/openldap-client/buildlink3.mk"
CONFIGURE_ARGS+= --with-ldap
.endif
.if !empty(PKG_OPTIONS:Mmysql)
. include "../../mk/mysql.buildlink3.mk"
CONFIGURE_ARGS+= --with-mysql
.endif
.if !empty(PKG_OPTIONS:Mpgsql)
. include "../../mk/pgsql.buildlink3.mk"
CONFIGURE_ARGS+= --with-pgsql
.endif
.if !empty(PKG_OPTIONS:Mssl)
. include "../../security/openssl/buildlink3.mk"
CONFIGURE_ARGS+= --with-tls
.endif
.if !empty(PKG_OPTIONS:Mvirtualchroot)
CONFIGURE_ARGS+= --with-virtualchroot
.endif
.if !empty(PKG_OPTIONS:Mutf8)
# Experimental
. include "../../converters/libiconv/buildlink3.mk"
CONFIGURE_ARGS+= --with-rfc2640
.endif