aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-08-09 13:54:07 +0000
committerJohn Marino <marino@FreeBSD.org>2014-08-09 13:54:07 +0000
commitf294cf2a50f6e357e24349c066ee09693656ba4e (patch)
treee14d75ae97532a807d54cdc127d5f5d53a89c0ff
parent7dbcad5f641050bc5cec772d7b8a83ac6a8e2165 (diff)
downloadports-f294cf2a50f6e357e24349c066ee09693656ba4e.tar.gz
ports-f294cf2a50f6e357e24349c066ee09693656ba4e.zip
Notes
-rw-r--r--www/bacula-web/Makefile2
-rw-r--r--www/bacula-web/files/pkg-message.in10
2 files changed, 7 insertions, 5 deletions
diff --git a/www/bacula-web/Makefile b/www/bacula-web/Makefile
index 7e7acbce1231..0c8a18d9f7ae 100644
--- a/www/bacula-web/Makefile
+++ b/www/bacula-web/Makefile
@@ -3,6 +3,7 @@
PORTNAME= bacula-web
DISTVERSION= 6.0.1
+PORTREVISION= 1
CATEGORIES= sysutils www
MASTER_SITES= http://www.bacula-web.org/files/bacula-web.org/downloads/
@@ -21,6 +22,7 @@ BACULAWEB_HOME?=${WWWDIR}
BASE= ${BACULAWEB_HOME:S|${PREFIX}/||}
SUB_FILES= pkg-message
PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} BASE=${BASE}
+SUB_LIST= BASE=${BASE}
OPTIONS_DEFINE= MYSQL PGSQL SQLITE
OPTIONS_DEFAULT= PGSQL
diff --git a/www/bacula-web/files/pkg-message.in b/www/bacula-web/files/pkg-message.in
index 76fed0ff356a..6dce6bafa29f 100644
--- a/www/bacula-web/files/pkg-message.in
+++ b/www/bacula-web/files/pkg-message.in
@@ -3,18 +3,18 @@
* POST INSTALL CONFIGURATION *
***********************************************************************
-Please note that everything has been installed in %%PREFIX%%/www/bacula-web.
+Please note that everything has been installed in %%BASE%%.
-You need to copy %%PREFIX%%/www/bacula-web/application/config/config.php.sample to
-%%PREFIX%%/www/bacula-web/application/config/config.php and modify with your preferences.
+You need to copy %%BASE%%/application/config/config.php.sample to
+%%BASE%%/application/config/config.php and modify with your preferences.
You will probably want to add an alias to your httpd.conf file, something
like this:
- Alias /bacula-web "%%PREFIX%%/www/bacula-web/"
+ Alias /bacula-web "%%BASE%%/"
And restart Apache.
Alternatively, you can create a host dedicated to bacula-web and use
-a DocumentRoot of %%PREFIX%%/www/bacula-web.
+a DocumentRoot of %%BASE%%/.