summaryrefslogtreecommitdiff
path: root/www/drupal/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2006-06-02 18:27:54 +0000
committerjoerg <joerg>2006-06-02 18:27:54 +0000
commit7fe8ce07cd12d22909180fe6f4c0bc28270c7451 (patch)
treeb7f585bd5e2d200a0004ced04920ab0be7a7445a /www/drupal/Makefile
parentd32a89ecea4104ffee0189ee6fede1607b7ea878 (diff)
downloadpkgsrc-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/Makefile')
-rw-r--r--www/drupal/Makefile12
1 files changed, 7 insertions, 5 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: