* CeDeROM (tomek.ce...@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
amd...@amdmi3.ru  ..:  jabber: amd...@jabber.ru    http://www.amdmi3.ru
_______________________________________________
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