Port overrides for multiple installs.

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Sun Nov 20 19:10:21 GMT 2005

Lewis Thompson <lewiz at compsoc.man.ac.uk> writes:

> I would like to run Mailman on a dedicated mail box.  While Mailman
> supports virtual domains it cannot provide, say, admin at dom1 and
> admin at dom2 from the same installation.
> I plan to run Mailman on about three domains and have considered ways to
> tie this into the ports system.  My idea is basically:
> create the mail/mailman-dom1 port which is something like:
> MASTERDIR=      ${.CURDIR}/../mailman
> MM_DIR=         mailman/dom1
> MM_USERNAME=    mailman-dom1
> While this will work (and moving the mailman.sh file via pkgtools.conf)
> it will only work for a single installation, afaik.
> So my question is:  how can I allow mailman to be installed n times
> without overwriting the database, files, etc.?

Define PREFIX?  [see ports(7)] 

More information about the freebsd-questions mailing list