From 5e0881913fdcbc9de82c576cd8407d06b8ef21df Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Mon, 31 Jul 2006 06:24:31 +0000 Subject: Make use of SUB_FILES --- www/vtiger4/Makefile | 5 +++-- www/vtiger4/files/pkg-message.in | 18 ++++++++++++++++++ www/vtiger4/pkg-message | 18 ------------------ 3 files changed, 21 insertions(+), 20 deletions(-) create mode 100644 www/vtiger4/files/pkg-message.in delete mode 100644 www/vtiger4/pkg-message (limited to 'www/vtiger4') 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 diff --git a/www/vtiger4/files/pkg-message.in b/www/vtiger4/files/pkg-message.in new file mode 100644 index 000000000000..922b2cc5cf78 --- /dev/null +++ b/www/vtiger4/files/pkg-message.in @@ -0,0 +1,18 @@ +**************************************************************** +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 +should go to the users webbrowser, better turn that off now: + php_flag display_errors Off + +Connect to that virtual host with your webbrowser and run the +installation script. After the creation of config.php, you can edit +it and properly configure the db_name, db_user_name and db_password. + +The rest of the installation should go smoothly. + +**************************************************************** diff --git a/www/vtiger4/pkg-message b/www/vtiger4/pkg-message deleted file mode 100644 index 87c3017cb890..000000000000 --- a/www/vtiger4/pkg-message +++ /dev/null @@ -1,18 +0,0 @@ -**************************************************************** -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 -should go to the users webbrowser, better turn that off now: - php_flag display_errors Off - -Connect to that virtual host with your webbrowser and run the -installation script. After the creation of config.php, you can edit -it and properly configure the db_name, db_user_name and db_password. - -The rest of the installation should go smoothly. - -**************************************************************** -- cgit v1.2.3