From 9d2fa554c4a3f64b36e9c5e8f78a89ac9dc88ba2 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@. --- www/apc-gui/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'www/apc-gui') diff --git a/www/apc-gui/Makefile b/www/apc-gui/Makefile index 990f2a4e26f..24fdc0ef24f 100644 --- a/www/apc-gui/Makefile +++ b/www/apc-gui/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.18 2006/03/04 21:30:57 jlam Exp $ +# $NetBSD: Makefile,v 1.19 2006/06/02 18:28:00 joerg Exp $ DISTNAME= apc_gui-1.0.3 PKGNAME= ${DISTNAME:S/_/-/} -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= www MASTER_SITES= http://apc.neuropeans.com/download/ @@ -10,10 +10,12 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://apc.neuropeans.com/ COMMENT= Web interface for managing APC (php-apc) -PHP_VERSION_REQD= 4 +PHP_VERSIONS_ACCEPTED= 4 -DEPENDS+= php-apc>=1.1.0.1:../../www/php4-apc -DEPENDS+= php-gd-4.[0-9]*:../../graphics/php-gd +.include "../../lang/php/phpversion.mk" + +DEPENDS+= ${PHP_PKG_PREFIX}-apc>=1.1.0.1:../../www/php4-apc +DEPENDS+= ${PHP_PKG_PREFIX}-gd-4.[0-9]*:../../graphics/php-gd NO_BUILD= YES -- cgit v1.2.3