[Bug 259289] Tools/scripts/bump-revision.sh: places PORTREVISION at a wrong place

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 20 Oct 2021 00:22:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259289

            Bug ID: 259289
           Summary: Tools/scripts/bump-revision.sh: places PORTREVISION at
                    a wrong place
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: yuri@freebsd.org
                CC: ports-bugs@FreeBSD.org

Testcase: science/nwchem

portlint complains after bump-revision.sh

> $ cd /usr/ports/science/nwchem && bump-revision.sh . && portlint -C
> INFO: . PORTREVISION not found, adding PORTREVISION= 1
> FATAL: Makefile: DISTVERSIONSUFFIX appears out-of-order.
> FATAL: Makefile: order must be PORTNAME/PORTVERSION/DISTVERSIONPREFIX/DISTVERSION/DISTVERSIONSUFFIX/PORTREVISION/PORTEPOCH/CATEGORIES/MASTER_SITES/MASTER_SITE_SUBDIR/PROJECTHOST/PKGNAMEPREFIX/PKGNAMESUFFIX/DISTNAME/EXTRACT_SUFX/DISTFILES(_\w+)?/DIST_SUBDIR/EXTRACT_ONLY.
> 2 fatal errors and 0 warnings found.

-- 
You are receiving this mail because:
You are on the CC list for the bug.