aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/vtiger/Makefile5
-rw-r--r--www/vtiger/files/pkg-message.in (renamed from www/vtiger/pkg-message)4
-rw-r--r--www/vtiger4/Makefile5
-rw-r--r--www/vtiger4/files/pkg-message.in (renamed from www/vtiger4/pkg-message)4
4 files changed, 10 insertions, 8 deletions
diff --git a/www/vtiger/Makefile b/www/vtiger/Makefile
index ddc3d82a7b81..d651413a8bcb 100644
--- a/www/vtiger/Makefile
+++ b/www/vtiger/Makefile
@@ -16,8 +16,9 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= vtiger CRM is open source Customer Relationship Management (CRM) software
USE_PHP= mysql gd session pcre xml
-
NO_BUILD= yes
+SUB_FILES= pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
WWWDIR?= ${PREFIX}/www/vtiger
WRKSRC= ${WRKDIR}/vtiger_crm
@@ -31,6 +32,6 @@ do-install:
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
post-install:
- @${CAT} pkg-message
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/www/vtiger/pkg-message b/www/vtiger/files/pkg-message.in
index 87c3017cb890..922b2cc5cf78 100644
--- a/www/vtiger/pkg-message
+++ b/www/vtiger/files/pkg-message.in
@@ -1,11 +1,11 @@
****************************************************************
-vtiger is installed in ${PREFIX}/www/vtiger.
+vtiger is installed in %%PREFIX%%/www/vtiger.
You need to create an MySQL database called vtiger, and an user
vtiger which is allowed to acces the database from localhost.
Then, setup a virtual host in your webserver which has DocumentRoot
-to ${PREFIX}/www/vtiger. If your php.ini states that all errors
+to %%PREFIX%%/www/vtiger. If your php.ini states that all errors
should go to the users webbrowser, better turn that off now:
php_flag display_errors Off
diff --git a/www/vtiger4/Makefile b/www/vtiger4/Makefile
index ddc3d82a7b81..d651413a8bcb 100644
--- a/www/vtiger4/Makefile
+++ b/www/vtiger4/Makefile
@@ -16,8 +16,9 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= vtiger CRM is open source Customer Relationship Management (CRM) software
USE_PHP= mysql gd session pcre xml
-
NO_BUILD= yes
+SUB_FILES= pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
WWWDIR?= ${PREFIX}/www/vtiger
WRKSRC= ${WRKDIR}/vtiger_crm
@@ -31,6 +32,6 @@ do-install:
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
post-install:
- @${CAT} pkg-message
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/www/vtiger4/pkg-message b/www/vtiger4/files/pkg-message.in
index 87c3017cb890..922b2cc5cf78 100644
--- a/www/vtiger4/pkg-message
+++ b/www/vtiger4/files/pkg-message.in
@@ -1,11 +1,11 @@
****************************************************************
-vtiger is installed in ${PREFIX}/www/vtiger.
+vtiger is installed in %%PREFIX%%/www/vtiger.
You need to create an MySQL database called vtiger, and an user
vtiger which is allowed to acces the database from localhost.
Then, setup a virtual host in your webserver which has DocumentRoot
-to ${PREFIX}/www/vtiger. If your php.ini states that all errors
+to %%PREFIX%%/www/vtiger. If your php.ini states that all errors
should go to the users webbrowser, better turn that off now:
php_flag display_errors Off