2006-03-04 22:28:51 +01:00
|
|
|
# $NetBSD: Makefile,v 1.13 2006/03/04 21:31:04 jlam Exp $
|
2004-06-20 21:36:55 +02:00
|
|
|
#
|
|
|
|
|
2004-11-06 22:16:15 +01:00
|
|
|
DISTNAME= WebSVN_161
|
|
|
|
PKGNAME= websvn-1.61
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 5
|
2004-06-20 21:36:55 +02:00
|
|
|
CATEGORIES= www
|
2004-11-06 22:16:15 +01:00
|
|
|
MASTER_SITES= http://websvn.tigris.org/files/documents/1380/14334/
|
2004-06-20 21:36:55 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-06-20 21:36:55 +02:00
|
|
|
HOMEPAGE= http://websvn.tigris.org/
|
|
|
|
COMMENT= Subversion repository web frontend
|
|
|
|
|
2004-11-06 21:44:56 +01:00
|
|
|
DEPENDS+= ap{,2}-php>=4.0.0:../../www/ap-php
|
2005-01-25 18:34:46 +01:00
|
|
|
DEPENDS+= php-zlib-[0-9]*:../../archivers/php-zlib
|
2004-06-20 21:36:55 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/WebSVN
|
|
|
|
NO_BUILD= yes
|
2004-06-21 03:34:16 +02:00
|
|
|
|
2005-09-28 16:31:06 +02:00
|
|
|
PKG_SYSCONFDIR.websvn= ${PREFIX}/${HTTPD_ROOT}/websvn/include
|
2004-06-20 21:36:55 +02:00
|
|
|
|
|
|
|
MESSAGE_SUBST+= PKGBASE=${PKGBASE}
|
|
|
|
MESSAGE_SUBST+= HTTPD_ROOT=${HTTPD_ROOT}
|
2005-12-05 21:49:47 +01:00
|
|
|
PLIST_SUBST+= HTTPD_ROOT=${HTTPD_ROOT:Q}
|
2004-06-20 21:36:55 +02:00
|
|
|
|
|
|
|
HTTPD_ROOT?= share/httpd/htdocs
|
|
|
|
|
|
|
|
BUILD_DEFS+= HTTPD_ROOT
|
|
|
|
|
2004-06-21 03:34:16 +02:00
|
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
2005-08-20 21:16:21 +02:00
|
|
|
REQD_DIRS= ${PREFIX}/${HTTPD_ROOT}/websvn/include
|
2004-06-21 03:34:16 +02:00
|
|
|
CONF_FILES= ${EGDIR}/distconfig.inc ${PKG_SYSCONFDIR}/config.inc
|
|
|
|
|
|
|
|
INSTALLATION_DIRS= ${HTTPD_ROOT}/websvn share/examples/${PKGBASE}
|
|
|
|
|
2004-06-20 21:36:55 +02:00
|
|
|
do-install:
|
2004-06-21 03:34:16 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/include/distconfig.inc ${EGDIR}
|
2004-06-20 21:36:55 +02:00
|
|
|
cd ${WRKSRC} && ${PAX} -rwppm . ${PREFIX}/${HTTPD_ROOT}/websvn
|
|
|
|
|
2004-06-21 03:34:16 +02:00
|
|
|
post-install:
|
|
|
|
${RM} ${PREFIX}/${HTTPD_ROOT}/websvn/include/distconfig.inc
|
|
|
|
|
2004-06-20 21:36:55 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|