Fix DISTNAME/PKGNAME

Encode the "vX" part in distfiles, translated as "plX" in PKGNAME.
Makes it possible to update to v2.48.15v4, which is needed with newer
OCaml version.

ok sthen@ bket@ (maintainer)
This commit is contained in:
jca 2019-02-04 16:23:30 +00:00
parent 47fa86b1ab
commit ed91f63165
2 changed files with 5 additions and 6 deletions

View File

@ -1,13 +1,12 @@
# $OpenBSD: Makefile,v 1.3 2018/09/04 12:46:19 espie Exp $
# $OpenBSD: Makefile,v 1.4 2019/02/04 16:23:30 jca Exp $
VER= 2.48.15
REV= v3
REVISION= 1
GH_TAGNAME= v${VER}${REV}
DISTNAME= ${GH_PROJECT}-${VER}
PKGNAME= unison-${VER}${REV:S/^v/pl/}
PORTROACH= limit:^2\.4
WRKDIST= ${WRKDIR}/${PKGNAME}${REV}/src
WRKDIST= ${WRKDIR}/${DISTNAME}/src
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (unison-2.48.15.tar.gz) = 2DfbASwkH4/0Bdu5a/0EnirXc4n8LVv78gjyOpvfSuI=
SIZE (unison-2.48.15.tar.gz) = 1911724
SHA256 (unison-2.48.15v3.tar.gz) = 2DfbASwkH4/0Bdu5a/0EnirXc4n8LVv78gjyOpvfSuI=
SIZE (unison-2.48.15v3.tar.gz) = 1911724