blob: 8536f029da40ef14b01d402c479825eaa6ae8afd (
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
|
# $NetBSD: Makefile,v 1.31 2008/01/18 05:09:47 tnn Exp $
PKGNAME= ${APACHE_PKG_PREFIX}-subversion-${SVNVER}
PKGREVISION= 1
COMMENT= WebDAV server (Apache module) for Subversion
.include "../../devel/subversion/Makefile.common"
CONFIGURE_ARGS+= --with-apxs=${APXS:Q}
CONFIGURE_ARGS+= --disable-mod-activation
APACHE_MODULE= YES
BUILD_TARGET= apache-mod
INSTALL_TARGET= install-mods-shared
post-patch:
${RM} ${WRKSRC}/build-outputs.mk
${CP} ${FILESDIR}/build-outputs.mk ${WRKSRC}/build-outputs.mk
.if !empty(PKG_OPTIONS:Mapache22)
BUILDLINK_API_DEPENDS.apache?= apache>=2.0.48
PKG_APACHE_ACCEPTED= apache22
.else
PKG_APACHE_ACCEPTED= apache2
.endif
.include "../../devel/subversion-base/buildlink3.mk"
.include "../../mk/apache.mk"
.include "../../mk/bsd.pkg.mk"
|