pkgsrc/mail/courier-authmysql/Makefile
tv c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00

35 lines
1,023 B
Makefile

# $NetBSD: Makefile,v 1.8 2004/10/03 00:12:52 tv Exp $
PKGNAME= courier-authmysql-${BASE_VERS}
PKGREVISION= 1
COMMENT= Courier MySQL authentication module
DEPENDS+= courier-auth-${BASE_VERS}{,nb*}:../../mail/courier-auth
.include "../courier-auth/Makefile.authdaemond"
USE_PKGINSTALL= yes
INSTALL_EXTRA_TMPL= ${.CURDIR}/../courier-auth/INSTALL
CONFIGURE_ARGS+= --with-authmysql
GEN_FILES= authmysqlrc
FILES_SUBST+= GEN_FILES=${GEN_FILES:Q}
CONF_FILES_PERMS= # empty
.for FILE in ${GEN_FILES}
CONF_FILES_PERMS+= ${EGDIR}/${FILE}.dist ${PKG_SYSCONFDIR}/${FILE} \
${ROOT_USER} ${ROOT_GROUP} 0600
.endfor
.include "../../databases/mysql-client/buildlink3.mk"
do-install:
${INSTALL_PROGRAM_DIR} ${AUTHLIBDIR}
${INSTALL_PROGRAM} ${WRKSRC}/authlib/authdaemond.mysql ${AUTHLIBDIR}
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/authlib/authmysqlrc ${EGDIR}/authmysqlrc.dist
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/authlib/README.authmysql.html ${DOCDIR}
.include "../../mk/bsd.pkg.mk"