splitting courier-authlib into master+slave ports

Oliver Lehmann lehmann at ans-netz.de
Sun Apr 24 07:01:03 PDT 2005

Oliver Lehmann wrote:

> I might reconsider taking Yarema's
> Makefile.opt idea.  Include that in every port that depends on courier-
> authlib and choose there what auth. methods to install.

Ok, I reconsidered that now ;)

I created a Makefile.opt and a Makefile.dep file which can be included in
every port that depends on courier-authlib.

.if exists(${.CURDIR}/../../security/courier-authlib/Makefile.opt)
.include <${.CURDIR}/../../security/courier-authlib/Makefile.opt>
.include <bsd.port.pre.mk>
.if exists(${.CURDIR}/../../security/courier-authlib/Makefile.dep)
.include <${.CURDIR}/../../security/courier-authlib/Makefile.dep>

This can be put between the ports own OPTIONS= and .if defined(WITH_*)
sections (it will honor original OPTIONS)
I've renamed the options to AUTH_* to make it possible that the original
port specifies it's own LDAP/MYSQL/... OPTION

 Oliver Lehmann

More information about the freebsd-ports mailing list