port dependency conventions

Roman Neuhauser neuhauser at chello.cz
Wed Jun 23 15:00:18 PDT 2004


# peter.schuller at infidyne.com / 2004-06-23 22:44:30 +0200:
> slime needs either emacs or xemacs, and some form of Common Lisp (cmucl, 
> clisp, or sbcl).
> 
> What is the preferred way to handle dependencies in this case? As far as I am 
> aware there is no mechanism in place to depend on a 'a lisp' or 'an emacs', 
> but only on specific ports. Is this correct?
> 
> As a user/administator I would prefer ports of this type to not depend on 
> these things (same goes for Java not depending on specific JDK:s etc), but I 
> am not sure what the convention is.

    Something like this:

    EMACS_PORT?=	editors/emacs
    RUN_DEPENDS+=	${LOCALBASE}/bin/b2m:${PORTSDIR}/${EMACS_PORT}

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.    see http://www.eyrie.org./~eagle/faqs/questions.html


More information about the freebsd-ports mailing list