1 # $NetBSD: Makefile,v 1.16 2011/04/22 13:44:57 obache Exp $
4 PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//:S/_/-/}
5 DISTNAME= mod_auth_mellon-0.3.0
7 CATEGORIES= www security
8 MASTER_SITES= http://modmellon.googlecode.com/files/
10 MAINTAINER= manu@NetBSD.org
11 HOMEPAGE= http://code.google.com/p/modmellon/
12 COMMENT= SAML 2.0 authentication for Apache
13 LICENSE= gnu-gpl-v2 # or later
15 PKG_DESTDIR_SUPPORT= user-destdir
19 USE_TOOLS+= pkg-config
22 APACHE_MODULE_NAME= auth_mellon_module
23 PKG_APACHE_ACCEPTED= apache22
24 .include "../../mk/apache.mk"
25 BUILDLINK_API_DEPENDS.apache+= apache>=2.0.47
27 SUBST_CLASSES+= pthflags
28 SUBST_MESSAGES= Convert -pthread flag to apxs style
29 SUBST_STAGE.pthflags= post-configure
30 SUBST_FILES.pthflags= Makefile
31 SUBST_SED.pthflags= -e 's| -pthread | ${"${PTHREAD_CFLAGS:M-pthread}":?-Wc,-pthread:} ${"${PTHREAD_LDFLAGS:M-pthread}":?-Wl,-pthread:} |g'
33 INSTALLATION_DIRS+= lib/httpd
37 libexecdir=`${APXS} -q LIBEXECDIR` && \
38 ${APXS} -i -S LIBEXECDIR=${DESTDIR}"$${libexecdir}" \
39 -n auth_mellon mod_auth_mellon.la
41 .include "../../security/lasso/buildlink3.mk"
42 .include "../../www/curl/buildlink3.mk"
44 .include "../../mk/bsd.pkg.mk"