blob: 3bc70c5c1614c2ddb83c7e14586252a7f882c481 (
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
36
37
38
39
40
41
42
43
44
|
# $NetBSD: Makefile,v 1.16 2011/04/22 13:44:57 obache Exp $
#
PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//:S/_/-/}
DISTNAME= mod_auth_mellon-0.3.0
PKGREVISION= 2
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
LICENSE= gnu-gpl-v2 # or later
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
USE_TOOLS+= pkg-config
APACHE_MODULE= YES
APACHE_MODULE_NAME= auth_mellon_module
PKG_APACHE_ACCEPTED= apache22
.include "../../mk/apache.mk"
BUILDLINK_API_DEPENDS.apache+= apache>=2.0.47
SUBST_CLASSES+= pthflags
SUBST_MESSAGES= Convert -pthread flag to apxs style
SUBST_STAGE.pthflags= post-configure
SUBST_FILES.pthflags= Makefile
SUBST_SED.pthflags= -e 's| -pthread | ${"${PTHREAD_CFLAGS:M-pthread}":?-Wc,-pthread:} ${"${PTHREAD_LDFLAGS:M-pthread}":?-Wl,-pthread:} |g'
INSTALLATION_DIRS+= lib/httpd
do-install:
cd ${WRKSRC} && \
libexecdir=`${APXS} -q LIBEXECDIR` && \
${APXS} -i -S LIBEXECDIR=${DESTDIR}"$${libexecdir}" \
-n auth_mellon mod_auth_mellon.la
.include "../../security/lasso/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|