summaryrefslogtreecommitdiff
path: root/www/ap2-auth-mellon/Makefile
blob: 43652657480abe2ad5a2b63bb1b813875bba5392 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $NetBSD: Makefile,v 1.2 2009/03/03 10:53:15 manu Exp $
#

PKGNAME=	${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//:S/_/-/}
DISTNAME=	mod_auth_mellon-0.1.0
CATEGORIES=	www security
MASTER_SITES=	http://modmellon.googlecode.com/files/

MAINTAINER=	manu@NetBSD.org
HOMEPAGE=	http://code.google.com/p/modmellon/
COMMENT=	SAML 2.0 authentication for Apache

PKG_DESTDIR_SUPPORT=	destdir

GNU_CONFIGURE=	YES
USE_LIBTOOL=	YES
USE_TOOLS+=	pkg-config

APACHE_MODULE=	YES
APACHE_MODULE_NAME=	auth_mellon_module
PKG_APACHE_ACCEPTED=    apache2 apache22
.include "../../mk/apache.mk"
BUILDLINK_API_DEPENDS.apache+=  apache>=2.0.47

CONFIGURE_ENV+=		PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig
CONFIGURE_ENV+=		OPENSSL_CFLAGS="${CPPFLAGS}"
CONFIGURE_ENV+=		OPENSSL_LIBS="-L${PREFIX}/lib -lssl -lcrypto"
CONFIGURE_ARGS+=        --with-apxs=${APXS:Q}

# url2pkg-marker (please do not remove this line.)

.include "../../security/lasso/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"