Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Feb 2010 06:36:27 +0300
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        CeDeROM <tomek.cedro@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: RC1 suffix in PORTVERSION
Message-ID:  <20100214033627.GI1538@hades.panopticon>
In-Reply-To: <3fcfb0ba1002131315o504bc12bw83df19461b2abd17@mail.gmail.com>
References:  <3fcfb0ba1002131315o504bc12bw83df19461b2abd17@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* CeDeROM (tomek.cedro@gmail.com) wrote:

> 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.

You can use DISTVERSION=0.4.0-rc1 instead of PORTVERSION.

+ you won't have to redefine DISTNAME, as DISTVERSION is substituded
  there directly
+ legal PORTVERSION will be constructed for you (that'll be 0.4.0.r1),
  and the nicest thing is that 0.4.0.r1 < 0.4.0, thus when you update
  the port to release, you won't need to bump PORTEPOCH.

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3@amdmi3.ru  ..:  jabber: amdmi3@jabber.ru    http://www.amdmi3.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100214033627.GI1538>