diff options
author | vsevolod <vsevolod@FreeBSD.org> | 2005-11-03 21:49:19 +0800 |
---|---|---|
committer | vsevolod <vsevolod@FreeBSD.org> | 2005-11-03 21:49:19 +0800 |
commit | a603737a5b796d971a22ffc56c6660c24dc10af0 (patch) | |
tree | c8c485574a0c38025cb108a1bcd84b8fb3a39cf8 /www/drupal7 | |
parent | 22f94fe14daed6172cc02fe8ff88647b07b21b41 (diff) | |
download | freebsd-ports-gnome-a603737a5b796d971a22ffc56c6660c24dc10af0.tar.gz freebsd-ports-gnome-a603737a5b796d971a22ffc56c6660c24dc10af0.tar.zst freebsd-ports-gnome-a603737a5b796d971a22ffc56c6660c24dc10af0.zip |
- Add user customizeable DRUPDIR to www/drupal
PR: 86834
Submitted by: Wesley Shields <wxs@csh.rit.edu>
Approved by: maintainer timeout
Diffstat (limited to 'www/drupal7')
-rw-r--r-- | www/drupal7/Makefile | 15 |
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} "" |