Option in port depending on another port, how to handle ?

Anonymous swell.k at gmail.com
Sun Sep 12 12:38:14 UTC 2010


Eric Masson <emss at free.fr> writes:

> Hello,
>
> I've locally added an option to www/nginx to add support for www/uwsgi.
> I'm hardcoding uwsgi version in nginx makefile :
>
> .if defined(WITH_HTTP_UWSGI_MODULE)
> NGINX_UWSGI_MODULE_VERSION=     0.9.5.3

NGINX_UWSGI_MODULE_VERSION!=     ${MAKE} -V PORTVERSION -C ${PORTSDIR}/www/uwsgi

> MASTER_SITES+=  http://projects.unbit.it/downloads/:uwsgi
> DISTFILES+=     uwsgi-${NGINX_UWSGI_MODULE_VERSION}.tar.gz:zip
> CONFIGURE_ARGS+=--add-module=${WRKDIR}/uwsgi-${NGINX_UWSGI_MODULE_VERSION}/nginx
> .endif
>
> Is there any proper way to retrieve NGINX_UWSGI_MODULE_VERSION from
> www/uwsgi Makefile please ?


More information about the freebsd-ports mailing list