blob: 4019763c57885bdee59b437c5d3d98edeada3710 (
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
45
|
# $NetBSD: Makefile,v 1.20 2018/12/13 19:52:24 adam Exp $
DISTNAME= mod_authnz_crowd-2.2.2
PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//:S/_/-/}
PKGREVISION= 18
CATEGORIES= www
MASTER_SITES= http://downloads.atlassian.com/software/crowd/downloads/cwdapache/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://confluence.atlassian.com/display/CROWD/Integrating+Crowd+with+Apache
COMMENT= Apache module for Crowd authentication
LICENSE= apache-2.0
APACHE_MODULE= yes
DEPENDS+= ${APACHE_PKG_PREFIX}-subversion>0:../../www/ap2-subversion
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= autoconf automake autoreconf
CONFIGURE_ENV+= ac_cv_path_HTTPD=${BUILDLINK_PREFIX.apache}/sbin/httpd
CONFIGURE_ENV+= APXS=${APXS:Q}
CONFIGURE_ENV+= BUILDLINK_PREFIX_apache=${BUILDLINK_PREFIX.apache}
CONFIGURE_ENV+= BUILDLINK_PREFIX_subversion=${BUILDLINK_PREFIX.subversion-base}
BUILDLINK_TRANSFORM+= opt:-O2:-O1
INSTALLATION_DIRS+= lib/httpd
pre-configure:
cd ${WRKSRC} && autoreconf -fiv
do-install:
for mod in mod_authnz_crowd.la svn/mod_authz_svn_crowd.la; do \
${PREFIX}/share/httpd/build/instdso.sh \
SH_LIBTOOL=${PREFIX}/share/httpd/build/libtool \
${WRKSRC}/src/$$mod ${DESTDIR}${PREFIX}/lib/httpd; \
done
.include "../../devel/subversion-base/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/apache.mk"
.include "../../mk/bsd.pkg.mk"
|