diff options
author | jlam <jlam> | 2005-02-26 22:14:01 +0000 |
---|---|---|
committer | jlam <jlam> | 2005-02-26 22:14:01 +0000 |
commit | 3499c9ea5dcc1e480d3fc4ad49ad5f35b156df44 (patch) | |
tree | f2e4359cb3e36714dc053ef3e1479f13de190afb /security/courier-authlib/options.mk | |
parent | fbcd68f3aed3114319db87021124a7efd56ca20f (diff) | |
download | pkgsrc-3499c9ea5dcc1e480d3fc4ad49ad5f35b156df44.tar.gz |
Install some documentation files for courier-authlib, but only install the
relevant ones depending on the options chosen. This fixes PR pkg/29465.
Bump the PKGREVISION to 2.
Diffstat (limited to 'security/courier-authlib/options.mk')
-rw-r--r-- | security/courier-authlib/options.mk | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/security/courier-authlib/options.mk b/security/courier-authlib/options.mk index a67fa1214a4..da50bd96df5 100644 --- a/security/courier-authlib/options.mk +++ b/security/courier-authlib/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.1.1.1 2005/02/10 03:21:31 jlam Exp $ +# $NetBSD: options.mk,v 1.2 2005/02/26 22:14:01 jlam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.courier-authlib PKG_SUPPORTED_OPTIONS= PAM bdb ldap mysql pgsql @@ -55,7 +55,12 @@ CONFIGURE_ARGS+= --with-authldap AUTHLIB_PLIST+= ${AUTHLIBDIR}/libauthldap.la AUTHLIB_PLIST+= ${AUTHEXAMPLEDIR}/authldaprc.dist AUTHLIB_PLIST+= ${AUTHEXAMPLEDIR}/authldap.schema +AUTHLIB_PLIST+= ${AUTHDOCDIR}/README.ldap GEN_FILES+= authldaprc +POST_INSTALL_TARGETS+= post-install-ldap + +post-install-ldap: + ${INSTALL_DATA} ${WRKSRC}/README.ldap ${DOCDIR} .else CONFIGURE_ARGS+= --without-authldap .endif @@ -68,7 +73,12 @@ CONFIGURE_ARGS+= --without-authldap CONFIGURE_ARGS+= --with-authmysql AUTHLIB_PLIST+= ${AUTHLIBDIR}/libauthmysql.la AUTHLIB_PLIST+= ${AUTHEXAMPLEDIR}/authmysqlrc.dist +AUTHLIB_PLIST+= ${AUTHDOCDIR}/README.authmysql.html GEN_FILES+= authmysqlrc +POST_INSTALL_TARGETS+= post-install-mysql + +post-install-mysql: + ${INSTALL_DATA} ${WRKSRC}/README.authmysql.html ${DOCDIR} .else CONFIGURE_ARGS+= --without-authmysql .endif @@ -81,7 +91,12 @@ CONFIGURE_ARGS+= --without-authmysql CONFIGURE_ARGS+= --with-authpgsql AUTHLIB_PLIST+= ${AUTHLIBDIR}/libauthpgsql.la AUTHLIB_PLIST+= ${AUTHEXAMPLEDIR}/authpgsqlrc.dist +AUTHLIB_PLIST+= ${AUTHDOCDIR}/authpostgres.html GEN_FILES+= authpgsqlrc +POST_INSTALL_TARGETS+= post-install-pgsql + +post-install-pgsql: + ${INSTALL_DATA} ${WRKSRC}/README.authpostgres.html ${DOCDIR} .else CONFIGURE_ARGS+= --without-authpgsql .endif |