Bug 259289

Summary: Tools/scripts/bump-revision.sh: places PORTREVISION at a wrong place
Product: Ports & Packages Reporter: Yuri Victorovich <yuri>
Component: Ports FrameworkAssignee: Bartek Rutkowski <robak>
Status: New ---    
Severity: Affects Only Me CC: ports-bugs
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Yuri Victorovich freebsd_committer freebsd_triage 2021-10-20 00:22:13 UTC
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.