From 7fe8ce07cd12d22909180fe6f4c0bc28270c7451 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 2 Jun 2006 18:27:54 +0000 Subject: 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@. --- devel/mantis/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'devel/mantis/Makefile') diff --git a/devel/mantis/Makefile b/devel/mantis/Makefile index 3778fe21537..b3f21e0ba23 100644 --- a/devel/mantis/Makefile +++ b/devel/mantis/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.21 2006/05/28 15:17:47 adrianp Exp $ +# $NetBSD: Makefile,v 1.22 2006/06/02 18:27:55 joerg Exp $ DISTNAME= mantis-1.0.3 +PKGREVISION= 1 CATEGORIES= devel www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mantisbt/} @@ -8,8 +9,8 @@ MAINTAINER= adrianp@NetBSD.org HOMEPAGE= http://www.mantisdb.org/ COMMENT= PHP/MySQL/web based bugtracking system -DEPENDS+= ap-php>=4.0.6:../../www/ap-php -DEPENDS+= php-mysql>=4.0.6:../../databases/php-mysql +DEPENDS+= ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}>=4.0.6:../../www/ap-php +DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=4.0.6:../../databases/php-mysql NO_BUILD= YES @@ -21,7 +22,7 @@ PKG_SUPPORTED_OPTIONS= charts .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Mcharts) -DEPENDS+= php-jpgraph-[0-9]*:../../graphics/php-jpgraph +DEPENDS+= ${PHP_PKG_PREFIX}-jpgraph-[0-9]*:../../graphics/php-jpgraph .endif APACHE_USER?= www -- cgit v1.2.3