# $NetBSD: Makefile,v 1.25 2004/02/14 07:45:36 jlam Exp $ .include "Makefile.common" PKGREVISION= 1 SVR4_PKGNAME= csasl COMMENT= Simple Authentication and Security Layer PLIST_SRC+= ${PKGDIR}/PLIST.common GNU_MISSING_OVERRIDE= config/missing # Authentication mechanisms CONFIGURE_ARGS+= --enable-anon # ANONYMOUS CONFIGURE_ARGS+= --enable-checkapop # CHECKAPOP CONFIGURE_ARGS+= --enable-cram # CRAM-MD5 CONFIGURE_ARGS+= --enable-otp # OTP CONFIGURE_ARGS+= --enable-plain # PLAIN CONFIGURE_ARGS+= --enable-digest # DIGEST-MD5 CONFIGURE_ARGS+= --with-rc4 CONFIGURE_ARGS+= --with-openssl=${SSLBASE} .include "../../security/openssl/buildlink3.mk" BUILD_DEFS+= SASL_USE_GSSAPI .if exists(/dev/urandom) CONFIGURE_ARGS+= --with-devrandom=/dev/urandom .endif .if defined(KERBEROS) || \ (defined(SASL_USE_GSSAPI) && !empty(SASL_USE_GSSAPI:M[yY][eE][sS])) . include "../../mk/krb5.buildlink3.mk" CONFIGURE_ARGS+= --enable-gssapi=${KRB5BASE} # GSSAPI CONFIGURE_ARGS+= --with-gss_impl=${GSSIMPL.${KRB5_TYPE}} GSSIMPL.heimdal= heimdal GSSIMPL.mit-krb5= mit PLIST_SRC+= ${PKGDIR}/PLIST.krb5 .endif PLIST_SRC+= ${PKGDIR}/PLIST.plugins USE_PKGINSTALL= YES DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL PKG_GROUPS= ${CYRUS_GROUP} PKG_USERS= ${CYRUS_USER}:${CYRUS_GROUP}::::${SH} OWN_DIRS= ${PLUGINDIR} MESSAGE_SUBST+= _PLUGINDIR=${_PLUGINDIR} post-install: ${INSTALL_DATA_DIR} ${HTMLDIR} cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.txt ${HTMLDIR} .include "../../mk/bsd.pkg.mk"