Re: Changing default files locations / ports / mailgraph

2008-06-26 Thread Lowell Gilbert
Zbigniew Szalbot <[EMAIL PROTECTED]> writes:

> Hello all,
>
> What do I need to avoid making the same mistake of having mailgraph
> installing files at the wrong location in my system?
>
> The default location in Makefile is this:
> CGIDIR?=${PREFIX}/www/cgi-bin
> DATADIR?=   /var/db/mailgraph
> WWWROOT?=   ${PREFIX}/www/data
>
> I'd like to keep it here:
> CGIDIR?=${PREFIX}/www/apache22/cgi-bin
> DATADIR?=   /var/db/mailgraph
> WWWROOT?=   ${PREFIX}/www/apache22/data
>
> Other than symlinking, can I specify this location in
> /usr/local/etc/pkgtools.conf (I generally use portupgrade to upgrade
> software)? If so, how should I specify an entry for mailgraph?

I would symlink it, myself.

For portupgrade, I guess you could do a MAKE_ARGS entry something like
'mail/mailgraph' => 'CGIDIR=${PREFIX}/www/apache22/cgi-bin 
DATADIR=/var/db/mailgraph WWWROOT=${PREFIX}/www/apache22/data'

[Completely untested, of course.]
-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Changing default files locations / ports / mailgraph

2008-06-25 Thread Zbigniew Szalbot

Hello all,

What do I need to avoid making the same mistake of having mailgraph 
installing files at the wrong location in my system?


The default location in Makefile is this:
CGIDIR?=${PREFIX}/www/cgi-bin
DATADIR?=   /var/db/mailgraph
WWWROOT?=   ${PREFIX}/www/data

I'd like to keep it here:
CGIDIR?=${PREFIX}/www/apache22/cgi-bin
DATADIR?=   /var/db/mailgraph
WWWROOT?=   ${PREFIX}/www/apache22/data

Other than symlinking, can I specify this location in 
/usr/local/etc/pkgtools.conf (I generally use portupgrade to upgrade 
software)? If so, how should I specify an entry for mailgraph?


Many thanks in advance!

Warm regards,

--
Zbigniew Szalbot
SGM Lifewords
www.sgmlifewords.com


smime.p7s
Description: S/MIME Cryptographic Signature