blob: e1800195f3a2adc19926f093a0d5755345cbc3c4 (
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
|
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
# $FreeBSD$
PORTNAME= mod_webauth
PORTVERSION= 4.7.0
CATEGORIES= www
MASTER_SITES= http://webauth.stanford.edu/dist/
DISTNAME= webauth-${PORTVERSION}
MAINTAINER= apache@FreeBSD.org
COMMENT= Apache module for authenticating users with Kerberos v5
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
libsasl2.so:${PORTSDIR}/security/cyrus-sasl2
USES= libtool pkgconfig
USE_APACHE= 22+
USE_OPENLDAP= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-ldap-lib=${LOCALBASE}/lib \
--with-ldap-include=${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
post-patch:
@${REINPLACE_CMD} -e 's|libdir)/pkgconfig|prefix)/libdata/pkgconfig|' \
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.am
@${REINPLACE_CMD} -e '/typedef int sig_atomic_t/d' \
${WRKSRC}/portable/system.h
.include <bsd.port.mk>
|