RC1 suffix in PORTVERSION
Fernan Aguero
fernan.aguero at gmail.com
Sun Feb 14 00:57:17 UTC 2010
On Sat, Feb 13, 2010 at 6:15 PM, CeDeROM <tomek.cedro at gmail.com> wrote:
> Hello!
>
> I am trying to create a helper local port for testing RC1 version of a
> program that will soon have stable port update. Unfortunately the
> package is named "openocd-0.4.0-rc1.tar.gz" and I dont know how to
> construct a variable containing this "-RC1" suffix.
>
> Please advise,
> Tomek Cedro
Hi Tomek,
try this (untested)
PORTNAME= openocd
PORTVERSION= 0.4.0
and then either
DISTNAME= ${DISTNAME}-rc1
or
DISTFILES= ${PORTNAME}-${PORTVERSION}-rc1${EXTRACT_SUFX}
info on these variables can be read from /usr/ports/Mk/bsd.port.mk
Good luck!
--
fernan
More information about the freebsd-ports
mailing list