Date: Thu, 26 Jun 2008 15:22:33 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Zbigniew Szalbot <z.szalbot@lc-words.com> Cc: User Questions <freebsd-questions@freebsd.org> Subject: Re: Changing default files locations / ports / mailgraph Message-ID: <44hcbgvw5i.fsf@be-well.ilk.org> In-Reply-To: <48626AF4.6060005@lc-words.com> (Zbigniew Szalbot's message of "Wed\, 25 Jun 2008 17\:57\:40 %2B0200") References: <48626AF4.6060005@lc-words.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Zbigniew Szalbot <z.szalbot@lc-words.com> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44hcbgvw5i.fsf>