git: 4f48be6e330c - main - math/nauty: Adjust PORTVERSION to the format that Nauty upstream uses

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 07 Oct 2021 08:28:47 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4f48be6e330c4b1d87e6b20a2643408b4e8697d3

commit 4f48be6e330c4b1d87e6b20a2643408b4e8697d3
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-10-07 08:20:21 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-10-07 08:27:37 +0000

    math/nauty: Adjust PORTVERSION to the format that Nauty upstream uses
    
    PR:             258967
    Approved by:    moritz@schmi.tt (maintainer)
---
 math/nauty/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/math/nauty/Makefile b/math/nauty/Makefile
index 8538cc39a9f1..b4f9af4a31a7 100644
--- a/math/nauty/Makefile
+++ b/math/nauty/Makefile
@@ -1,10 +1,11 @@
 # Created by: bremner@unb.ca
 
 PORTNAME=	nauty
-PORTVERSION=	27r3
+PORTVERSION=	2.7r3
+PORTEPOCH=	1
 CATEGORIES=	math
 MASTER_SITES=	https://users.cecs.anu.edu.au/~bdm/nauty/
-DISTNAME=	${PORTNAME}${PORTVERSION}
+DISTNAME=	${PORTNAME}${PORTVERSION:S/.//}
 
 MAINTAINER=	moritz@schmi.tt
 COMMENT=	Nauty & Traces are programs for computing graph automorphism