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]"

Reply via email to