HEADS UP: New bsd.*.mk changes

Adam Weinberger adamw at FreeBSD.org
Tue Jan 20 09:51:43 PST 2004


>> (01.20.2004 @ 1248 PST): Joe Marcus Clarke said, in 3.9K: <<
> > Can we at least have
> > 
> > OPTIONSNAME?=${PKGNAMEPREFIX}${PORTNAME}
> > 
> > here? It makes sense for all the localized ports, perl, ruby, python, linux
> > and others.
> 
> That makes sense...maybe having the whole trifecta is a good idea, too:
> ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
> 
> And what about UNIQUENAME instead of OPTIONSNAME?  This way, it could be
> used for other purposes.
>> end of "Re: HEADS UP: New bsd.*.mk changes" from Joe Marcus Clarke <<

If all you're going for is a unique identifier for each port, this is
guaranteed unique:

${.CURDIR:S@${PORTSDIR}@@:S@/@_ at g}

x11_gnome2, etc.

# Adam


--
Adam Weinberger
adam at vectors.cx // adamw at FreeBSD.org // adamw at magnesium.net
http://www.vectors.cx


More information about the freebsd-ports mailing list