summaryrefslogtreecommitdiff
path: root/www/websvn/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-06-02 18:27:54 +0000
committerjoerg <joerg@pkgsrc.org>2006-06-02 18:27:54 +0000
commit9d2fa554c4a3f64b36e9c5e8f78a89ac9dc88ba2 (patch)
treeb7f585bd5e2d200a0004ced04920ab0be7a7445a /www/websvn/Makefile
parent368089b51371f5f00292d0a76010e873c7114bb0 (diff)
downloadpkgsrc-9d2fa554c4a3f64b36e9c5e8f78a89ac9dc88ba2.tar.gz
Rename all PHP 4 packages to php4-*, all PHP 5 packages to php5-*,
all PEAR packages to php?-pear-* and all Apache packages to ap13-* or ap2-* respectively. Add new variables to simplify the Makefile handling. Add CONFLICTS on the old names. Reset revisions of bumped packages. ap-php will now depend on the default Apache and PHP version. All programs using it have an implicit option of the Apache version as well. OK from jlam@ and adrianp@.
Diffstat (limited to 'www/websvn/Makefile')
-rw-r--r--www/websvn/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/www/websvn/Makefile b/www/websvn/Makefile
index 66c5a34de10..50ee4eba1ba 100644
--- a/www/websvn/Makefile
+++ b/www/websvn/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.13 2006/03/04 21:31:04 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2006/06/02 18:28:01 joerg Exp $
#
DISTNAME= WebSVN_161
PKGNAME= websvn-1.61
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= www
MASTER_SITES= http://websvn.tigris.org/files/documents/1380/14334/
@@ -11,8 +11,8 @@ MAINTAINER= pkgsrc-users@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
+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
@@ -40,4 +40,6 @@ do-install:
post-install:
${RM} ${PREFIX}/${HTTPD_ROOT}/websvn/include/distconfig.inc
+.include "../../mk/apachever.mk"
+.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"