diff options
author | edwin <edwin@FreeBSD.org> | 2006-07-31 14:24:31 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-07-31 14:24:31 +0800 |
commit | c0be48677be2c0eade37939543b8ee263d419570 (patch) | |
tree | 9aa2f56d8f1d3eced01214c28b9978fa7ee71787 /www | |
parent | 2f669262884ea814ea1e4d326bd18758943ad810 (diff) | |
download | freebsd-ports-gnome-c0be48677be2c0eade37939543b8ee263d419570.tar.gz freebsd-ports-gnome-c0be48677be2c0eade37939543b8ee263d419570.tar.zst freebsd-ports-gnome-c0be48677be2c0eade37939543b8ee263d419570.zip |
Make use of SUB_FILES
Diffstat (limited to 'www')
-rw-r--r-- | www/vtiger/Makefile | 5 | ||||
-rw-r--r-- | www/vtiger/files/pkg-message.in (renamed from www/vtiger/pkg-message) | 4 | ||||
-rw-r--r-- | www/vtiger4/Makefile | 5 | ||||
-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 |