Re: DISTVERSION without DISTVERSIONPREFIX

2022-10-09 Thread Nuno Teixeira
DISVERSIONPREFIX is widely used when we have a distname-v1.2.3 but we want result as pkgname-1.2.3, ports framework style. --- Example 8. Using DISTVERSION When the Version Starts with a Letter or a Prefix When the version starts or ends with a letter, or a prefix or a suffix that is not part of t

DISTVERSION without DISTVERSIONPREFIX

2022-10-09 Thread Adam Weinberger
I've always been confused on this. Many, many ports set DISTVERSIONPREFIX=v, but very few ports set DISTVERSION=v1.2.3 /usr/ports $ rg 'DISTVERSION=\s*v' 7 /usr/ports $ rg 'DISTVERSIONPREFIX=\s*v$' 2748 Can DISTVERSION just be v1.2.3, or is there a reason that we need DISTVERSION=1.2.3 +