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>
.endif
.include <bsd.port.pre.mk>
.if exists(${.CURDIR}/../../security/courier-authlib/Makefile.dep)
.include <${.CURDIR}/../../security/courier-authlib/Makefile.dep>
.endif

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
  http://www.pofo.de/
  http://wishlist.ans-netz.de/


More information about the freebsd-ports mailing list