summaryrefslogtreecommitdiff
path: root/www/websvn/Makefile
blob: b2c8f57b0574660ab605e96060f87976ac251389 (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
# $NetBSD: Makefile,v 1.1.1.1 2004/06/20 19:36:55 xtraeme Exp $
#

DISTNAME=	WebSVN_139
PKGNAME=	websvn-1.39
CATEGORIES=	www
MASTER_SITES=	http://websvn.tigris.org/files/documents/1380/10659/

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://websvn.tigris.org/
COMMENT=	Subversion repository web frontend

BUILD_DEPENDS+=	{apache-[0-9]*,apache6-[0-9]*,apache2-[0-9]*}:../../www/apache2
BUILD_DEPENDS+=	ap-php-[0-9]*:../../www/ap-php4

WRKSRC=		${WRKDIR}/WebSVN
NO_BUILD=	yes

MESSAGE_SUBST+=	PKGBASE=${PKGBASE}
MESSAGE_SUBST+=	HTTPD_ROOT=${HTTPD_ROOT}
PLIST_SUBST+=	HTTPD_ROOT=${HTTPD_ROOT}

HTTPD_ROOT?=	share/httpd/htdocs

BUILD_DEFS+=	HTTPD_ROOT

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/${HTTPD_ROOT}/websvn
	cd ${WRKSRC} && ${PAX} -rwppm . ${PREFIX}/${HTTPD_ROOT}/websvn

.include "../../mk/bsd.pkg.mk"