summaryrefslogtreecommitdiff
path: root/www/ap2-subversion/Makefile
blob: 73de2fc122510cc9a96a1bdf6ef25156ef7e48b0 (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
# $NetBSD: Makefile,v 1.27 2007/01/25 18:15:49 epg Exp $

PKGNAME=	ap2-subversion-${SVNVER}
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"