diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2006-02-22 00:40:20 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2006-02-22 00:40:20 +0000 |
commit | 68a827096e1709099e9797b5d216efc6a38ec797 (patch) | |
tree | 7fdb262bfa03b0013b9d9c94bfd17496c421d1a0 /www/drupal6/files/pkg-message.in | |
parent | 1356eb4c4be59ca640f1decc47dac73dc9313ed6 (diff) | |
download | ports-68a827096e1709099e9797b5d216efc6a38ec797.tar.gz ports-68a827096e1709099e9797b5d216efc6a38ec797.zip |
Big port infrastructure overhaul to ease module maintance. The user
visiable changes are:
- Use OPTIONS to control php#-mysql and pear-DB (for PostgreSQL
support) depends.
- Replace the DRUPDIR make variable with DRUPAL_BASE.
Other changes include abstracting some command paths and most of the
module makefiles out into a bsd.drupal.mk that lives in www/drupal for
now. Module updates to follow.
Notes
Notes:
svn path=/head/; revision=156631
Diffstat (limited to 'www/drupal6/files/pkg-message.in')
-rw-r--r-- | www/drupal6/files/pkg-message.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/www/drupal6/files/pkg-message.in b/www/drupal6/files/pkg-message.in index 10d65e2c1fea..d64eb1b7bc7f 100644 --- a/www/drupal6/files/pkg-message.in +++ b/www/drupal6/files/pkg-message.in @@ -4,22 +4,22 @@ You now need to create the DB where Drupal is going to live createdb -U pgsql -W drupal createuser -U pgsql -P -e drupal createlang -U pgsql -W plpgsql drupal - psql -U drupal drupal < %%PREFIX%%/%%DRUPDIR%%/database/database.pgsql + psql -U drupal drupal < %%DRUPAL_DIR%%/database/database.pgsql MySQL:: mysqladmin -u dba_user -p create drupal mysql -u dba_user -p GRANT ALL PRIVILEGES ON drupal.* TO drupal@localhost IDENTIFIED BY 'passwd'; - mysql -u drupal -p drupal < %%PREFIX%%/%%DRUPDIR%%/database/database.mysql" + mysql -u drupal -p drupal < %%DRUPAL_DIR%%/database/database.mysql" -Then edit the %%PREFIX%%/%%DRUPDIR%%/sites/default/settings.php +Then edit the %%DRUPAL_DIR%%/sites/default/settings.php to your needs. Once you have done that you must add appropriate configuration directives to your apache configuration file (%%PREFIX%%/etc/apache(2)/httpd.conf). A typical configuration would be: - Alias /drupal "%%PREFIX%%/%%DRUPDIR%%" + Alias /drupal "%%DRUPAL_DIR%%" - <Directory "%%PREFIX%%/%%DRUPDIR%%"> + <Directory "%%DRUPAL_DIR%%"> Options Indexes FollowSymlinks MultiViews AllowOverride None Order allow,deny |