blob: c247f672a4773d41b475bc6c189c8668b50dfd40 (
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
46
47
48
49
50
51
|
# $NetBSD: Makefile,v 1.18 2008/07/13 11:15:27 tonnerre Exp $
#
DISTNAME= WebSVN_161
PKGNAME= websvn-1.61
PKGREVISION= 8
CATEGORIES= www
MASTER_SITES= http://websvn.tigris.org/files/documents/1380/14334/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://websvn.tigris.org/
COMMENT= Subversion repository web frontend
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}>=4.0.0:../../www/ap-php
DEPENDS+= ${PHP_PKG_PREFIX}-zlib-[0-9]*:../../archivers/php-zlib
WRKSRC= ${WRKDIR}/WebSVN
NO_BUILD= yes
USE_TOOLS+= pax
PKG_SYSCONFDIR.websvn= ${PREFIX}/${HTTPD_ROOT}/websvn/include
MESSAGE_SUBST+= PKGBASE=${PKGBASE}
MESSAGE_SUBST+= HTTPD_ROOT=${HTTPD_ROOT}
PLIST_SUBST+= HTTPD_ROOT=${HTTPD_ROOT:Q}
HTTPD_ROOT?= share/httpd/htdocs
BUILD_DEFS+= HTTPD_ROOT
EGDIR= ${PREFIX}/share/examples/websvn
REQD_DIRS= ${PREFIX}/${HTTPD_ROOT}/websvn/include
CONF_FILES= ${EGDIR}/distconfig.inc ${PKG_SYSCONFDIR}/config.inc
INSTALLATION_DIRS= ${HTTPD_ROOT}/websvn share/examples/websvn
post-extract:
chmod -R go-w ${WRKSRC}
do-install:
${INSTALL_DATA} ${WRKSRC}/include/distconfig.inc ${DESTDIR}${EGDIR}
cd ${WRKSRC} && rm -f *.orig
cd ${WRKSRC} && pax -rwppm . ${DESTDIR}${PREFIX}/${HTTPD_ROOT}/websvn
${RM} ${DESTDIR}${PREFIX}/${HTTPD_ROOT}/websvn/include/distconfig.inc
.include "../../mk/apachever.mk"
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"
|