diff options
author | joerg <joerg> | 2006-06-02 18:27:54 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-06-02 18:27:54 +0000 |
commit | 7fe8ce07cd12d22909180fe6f4c0bc28270c7451 (patch) | |
tree | b7f585bd5e2d200a0004ced04920ab0be7a7445a /www/drupal | |
parent | d32a89ecea4104ffee0189ee6fede1607b7ea878 (diff) | |
download | pkgsrc-7fe8ce07cd12d22909180fe6f4c0bc28270c7451.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/drupal')
-rw-r--r-- | www/drupal/Makefile | 12 | ||||
-rw-r--r-- | www/drupal/options.mk | 10 |
2 files changed, 12 insertions, 10 deletions
diff --git a/www/drupal/Makefile b/www/drupal/Makefile index 2209072a595..e7a948fb2b7 100644 --- a/www/drupal/Makefile +++ b/www/drupal/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.11 2006/05/28 14:46:47 adrianp Exp $ +# $NetBSD: Makefile,v 1.12 2006/06/02 18:28:00 joerg Exp $ DISTNAME= drupal-4.7.1 +PKGREVISION= 1 CATEGORIES= www MASTER_SITES= http://drupal.org/files/projects/ @@ -8,10 +9,8 @@ MAINTAINER= adrianp@NetBSD.org HOMEPAGE= http://drupal.org/ COMMENT= Open source content management system -.include "../../lang/php/phpversion.mk" - -DEPENDS+= ap-php>=4.3.3:../../www/ap-php -DEPENDS+= php-gd>=4.3.3:../../graphics/php-gd +DEPENDS+= ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}>=4.3.3:../../www/ap-php +DEPENDS+= ${PHP_PKG_PREFIX}-gd>=4.3.3:../../graphics/php-gd NO_BUILD= YES DRUPAL= ${PREFIX}/share/drupal @@ -30,6 +29,9 @@ SUBST_FILES.conf= drupal.conf SUBST_SED.conf= -e "s|@DRUPAL@|${DRUPAL}|g" SUBST_MESSAGE.conf= Fixing configuration files. +.include "../../mk/apachever.mk" +.include "../../lang/php/phpversion.mk" + .include "options.mk" post-extract: diff --git a/www/drupal/options.mk b/www/drupal/options.mk index c057fdea091..5e229b8e533 100644 --- a/www/drupal/options.mk +++ b/www/drupal/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.2 2006/05/28 14:46:47 adrianp Exp $ +# $NetBSD: options.mk,v 1.3 2006/06/02 18:28:00 joerg Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.drupal @@ -15,13 +15,13 @@ PKG_SUGGESTED_OPTIONS= mysql drupal-xmlservices ### .if !empty(PKG_OPTIONS:Mpgsql) . include "../../mk/pgsql.buildlink3.mk" -DEPENDS+= php-pgsql-[0-9]*:../../databases/php-pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pgsql-[0-9]*:../../databases/php-pgsql .elif !empty(PKG_OPTIONS:Mmysql) ### ### Use MySQL for storing Drupal data ### . include "../../mk/mysql.buildlink3.mk" -DEPENDS+= php-mysql>=4.3.3:../../databases/php-mysql +DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=4.3.3:../../databases/php-mysql .endif ### @@ -30,8 +30,8 @@ DEPENDS+= php-mysql>=4.3.3:../../databases/php-mysql ### .if !empty(PKG_OPTIONS:Mdrupal-xmlservices) . if ${PKG_PHP_VERSION} == "4" -DEPENDS+= php-domxml>=4.3.3:../../textproc/php4-domxml +DEPENDS+= ${PHP_PKG_PREFIX}-domxml>=4.3.3:../../textproc/php4-domxml . elif ${PKG_PHP_VERSION} == "5" -DEPENDS+= php-dom-[0-9]*:../../textproc/php5-dom +DEPENDS+= ${PHP_PKG_PREFIX}-dom-[0-9]*:../../textproc/php5-dom . endif .endif |