Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Feb 2010 21:56:56 -0300
From:      Fernan Aguero <fernan.aguero@gmail.com>
To:        CeDeROM <tomek.cedro@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: RC1 suffix in PORTVERSION
Message-ID:  <520894aa1002131656j5df4c39fnb1a1843a1851fc17@mail.gmail.com>
In-Reply-To: <3fcfb0ba1002131315o504bc12bw83df19461b2abd17@mail.gmail.com>
References:  <3fcfb0ba1002131315o504bc12bw83df19461b2abd17@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 13, 2010 at 6:15 PM, CeDeROM <tomek.cedro@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



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