pkgsrc/www/ap22-authz-ldap/Makefile

40 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2014/02/12 23:18:43 tron Exp $
#
DISTNAME= mod_authz_ldap-0.30
PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:C/^mod_//:C/_/-/}
PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://authzldap.othello.ch/download/
MAINTAINER= filip@joyent.com
HOMEPAGE= http://authzldap.othello.ch/
COMMENT= Apache LDAP Authorization module
LICENSE= apache-2.0
PKG_APACHE_ACCEPTED= apache24 apache22
.include "../../mk/apache.mk"
.include "options.mk"
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS+= --with-apxs=${APXS:Q}
CONFIGURE_ARGS+= --with-apr=${PREFIX}/bin/apr-1-config
CONFIGURE_ARGS+= --with-apu=${PREFIX}/bin/apu-1-config
INSTALLATION_DIRS+= bin lib/httpd ${PKGMANDIR}/man1
do-install:
${INSTALL_LIB} ${WRKSRC}/module/.libs/mod_authz_ldap.so \
${DESTDIR}${PREFIX}/lib/httpd
${INSTALL_PROGRAM} ${WRKSRC}/tools/cert2ldap ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/tools/certfind ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/docs/cert2ldap.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_MAN} ${WRKSRC}/docs/certfind.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../databases/openldap-client/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"