Port Version Numbering Question

Pav Lucistnik pav at FreeBSD.org
Wed Nov 9 11:28:00 PST 2005


Mark Kane píše v st 09. 11. 2005 v 13:19 -0600:
> Hi everyone. I'm nearing completion of my second FreeBSD port, however I
> have a quick question about a version number.
> 
> The version as the author released it is "0.2.6-3". Since this is a new
> port to the FreeBSD ports collection and there was no "0.2.6-1" or
> "0.2.6-2" of this software actually released, I'm not sure if I should
> use PORTREVISION to call it "0.2.6_3" or if I should simply use
> PORTVERSION to call it "0.2.6.3". If neither are correct then how would
> I do this properly?

Distfile version -> PORTVERSION
Changes to port without distfile update -> PORTREVISION

So, ideally, you want 0.2.6.3. Also take look at DISTVERSION macro.

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>

I am a shrubber. My name is Roger the Shrubber. I arrange, design and
sell shrubberies.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je =?iso-8859-2?Q?digit=E1ln=EC?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20051109/4dbc34ec/attachment.bin


More information about the freebsd-ports mailing list