summaryrefslogtreecommitdiff
path: root/www/vtiger
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-07-31 06:24:31 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-07-31 06:24:31 +0000
commit5e0881913fdcbc9de82c576cd8407d06b8ef21df (patch)
tree7cade3be19a10f2fcc73c8b2ac1a10bd53639a02 /www/vtiger
parentupdate to version 4.2.4 (diff)
Make use of SUB_FILES
Notes
Notes: svn path=/head/; revision=169185
Diffstat (limited to 'www/vtiger')
-rw-r--r--www/vtiger/Makefile5
-rw-r--r--www/vtiger/files/pkg-message.in (renamed from www/vtiger/pkg-message)4
2 files changed, 5 insertions, 4 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