aboutsummaryrefslogtreecommitdiff
path: root/www/drupal7
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@FreeBSD.org>2005-11-03 13:49:19 +0000
committerVsevolod Stakhov <vsevolod@FreeBSD.org>2005-11-03 13:49:19 +0000
commitb63edff5d5207e26d828cd6eeb8fbe4ad9f6f2cc (patch)
treebee13dec452c1b72544309491e3d2bbab17b0149 /www/drupal7
parent4577bfeee448e5c7a70bbc268e90af1cfe8d5450 (diff)
downloadports-b63edff5d5207e26d828cd6eeb8fbe4ad9f6f2cc.tar.gz
ports-b63edff5d5207e26d828cd6eeb8fbe4ad9f6f2cc.zip
- Add user customizeable DRUPDIR to www/drupal
PR: 86834 Submitted by: Wesley Shields <wxs@csh.rit.edu> Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=147125
Diffstat (limited to 'www/drupal7')
-rw-r--r--www/drupal7/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/www/drupal7/Makefile b/www/drupal7/Makefile
index e7ffe47e3eea..5dfc5bffe507 100644
--- a/www/drupal7/Makefile
+++ b/www/drupal7/Makefile
@@ -7,6 +7,7 @@
PORTNAME= drupal
PORTVERSION= 4.6.3
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://drupal.org/files/projects/
DISTNAME= ${PORTNAME}-${PORTVERSION}
@@ -20,8 +21,18 @@ COMMENT= CMS that supports pgsql and mysql
RUN_DEPENDS+= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
.endif
+pre-fetch:
+.if !defined(DRUPDIR)
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "Define DRUPDIR to override default of 'www/data/drupal'."
+ @${ECHO_MSG} ""
+.endif
+
+DRUPDIR?= www/data/drupal
+WWWOWN?= www
+WWWGRP?= www
+
NO_BUILD= yes
-DRUPDIR= www/data/drupal
DOCS= CHANGELOG.txt INSTALL.txt LICENSE.txt MAINTAINERS.txt
PLIST_SUB+= DRUPDIR=${DRUPDIR}
@@ -64,7 +75,7 @@ do-install:
@${ECHO_MSG} " GRANT ALL PRIVILEGES ON drupal.* TO nobody@localhost IDENTIFIED BY 'password';"
@${ECHO_MSG} " mysql -u nobody -p drupal < ${PREFIX}/${DRUPDIR}/database/database.mysql"
@${ECHO_MSG} ""
- @${ECHO_MSG} " Then edit the ${PREFIX}/${DRUPDIR}/includes/conf.php to your needs."
+ @${ECHO_MSG} " Then edit the ${PREFIX}/${DRUPDIR}/sites/default/settings.php to your needs."
@${ECHO_MSG} " Once you have done that"
@${ECHO_MSG} " GoTo: http://<your_website>/drupal"
@${ECHO_MSG} ""