blob: e5d740ca5242e4545f1ca0af147bf1a994ed2837 (
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
|
# $NetBSD: Makefile,v 1.7 2005/08/20 19:16:22 jlam Exp $
#
DISTNAME= WebSVN_161
PKGNAME= websvn-1.61
PKGREVISION= 3
CATEGORIES= www
MASTER_SITES= http://websvn.tigris.org/files/documents/1380/14334/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://websvn.tigris.org/
COMMENT= Subversion repository web frontend
DEPENDS+= ap{,2}-php>=4.0.0:../../www/ap-php
DEPENDS+= php-zlib-[0-9]*:../../archivers/php-zlib
WRKSRC= ${WRKDIR}/WebSVN
NO_BUILD= yes
USE_PKGINSTALL= yes
PKG_SYSCONFDIR.websvn= ${PREFIX}/${HTTPD_ROOT}/websvn/include
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
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
REQD_DIRS= ${PREFIX}/${HTTPD_ROOT}/websvn/include
CONF_FILES= ${EGDIR}/distconfig.inc ${PKG_SYSCONFDIR}/config.inc
INSTALLATION_DIRS= ${HTTPD_ROOT}/websvn share/examples/${PKGBASE}
do-install:
${INSTALL_DATA} ${WRKSRC}/include/distconfig.inc ${EGDIR}
cd ${WRKSRC} && ${PAX} -rwppm . ${PREFIX}/${HTTPD_ROOT}/websvn
post-install:
${RM} ${PREFIX}/${HTTPD_ROOT}/websvn/include/distconfig.inc
.include "../../mk/bsd.pkg.mk"
|