Skip site navigation (1)Skip section navigation (2)
Date:      18 Aug 2003 12:14:26 +0000
From:      Sam Lawrance <boris@brooknet.com.au>
To:        freebsd-questions@freebsd.org
Subject:   How to structure a port with plugins
Message-ID:  <1061208866.25279.20.camel@dirk.no.domain>

next in thread | raw e-mail | index | archive | help
Hi all,		(please cc replies to me)

I'm writing a port for multisync. Included in the source tarball are a
bunch of plugins for synchronising with various devices and programs.
Not everbody is going to want them all. There's no existing mechanism to
automatically build some or all of the plugins.

What is the best way to build the plugins?

I've thought of the doing the following:
- Have a separate port for each plugin, depend on the main port for the
source. This sure makes creating the packing list a lot simpler.
- Build the plugins from the main port based in WITH_xxxxx variables

Now I think about it the first option seems better, but I'd like to hear
what anybody thinks.

Thanks,
-Sam Lawrance.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1061208866.25279.20.camel>