On Sat, Feb 13, 2010 at 6:15 PM, CeDeROM <tomek.ce...@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
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to