aboutsummaryrefslogtreecommitdiffstats
path: root/devel/portlint
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-10-11 07:54:49 +0800
committerwill <will@FreeBSD.org>2000-10-11 07:54:49 +0800
commit7ffbd77b5901b18a6f876a2d94315aa87515b754 (patch)
tree0658916c167883b71bde106f55356adeb6bc77f9 /devel/portlint
parent74f56dce01b6ddde31c5ffc9b801ee4a064fdf96 (diff)
downloadfreebsd-ports-gnome-7ffbd77b5901b18a6f876a2d94315aa87515b754.tar.gz
freebsd-ports-gnome-7ffbd77b5901b18a6f876a2d94315aa87515b754.tar.zst
freebsd-ports-gnome-7ffbd77b5901b18a6f876a2d94315aa87515b754.zip
Add support for the new PORTEPOCH/PORTREVISION variables, so it won't
improperly fatal-warn about them being in PORTNAME area. PR: 21747 Submitted by: jeh
Diffstat (limited to 'devel/portlint')
-rw-r--r--devel/portlint/src/portlint.pl21
1 files changed, 11 insertions, 10 deletions
diff --git a/devel/portlint/src/portlint.pl b/devel/portlint/src/portlint.pl
index 49181ffb169f..ea795efdbb69 100644
--- a/devel/portlint/src/portlint.pl
+++ b/devel/portlint/src/portlint.pl
@@ -37,7 +37,7 @@ $portdir = '.';
# version variables
my $major = 2;
-my $minor = 2;
+my $minor = 3;
sub l { '[{(]'; }
sub r { '[)}]'; }
@@ -148,10 +148,10 @@ chdir "$portdir" || die "$portdir: $!";
# get make vars
my $cmd = "make $makeenv MASTER_SITE_BACKUP=''";
my @varlist = (split(/\s+/, <<EOF));
-PORTNAME PORTVERSION PKGNAME PKGNAMEPREFIX PKGNAMESUFFIX
-DISTNAME DISTFILES CATEGORIES MASTERDIR MAINTAINER MASTER_SITES
-WRKDIR WRKSRC NO_WRKSUBDIR PATCHDIR SCRIPTDIR FILESDIR PKGDIR
-COMMENT DESCR PLIST MD5_FILE .CURDIR
+PORTNAME PORTVERSION PORTREVISION PORTEPOCH PKGNAME PKGNAMEPREFIX
+PKGNAMESUFFIX DISTNAME DISTFILES CATEGORIES MASTERDIR MAINTAINER
+MASTER_SITES WRKDIR WRKSRC NO_WRKSUBDIR PATCHDIR SCRIPTDIR FILESDIR
+PKGDIR COMMENT DESCR PLIST MD5_FILE .CURDIR
EOF
for (@varlist) {
@@ -991,9 +991,9 @@ EOF
# check the order of items.
&checkorder('PORTNAME', $tmp, split(/\s+/, <<EOF));
-PORTNAME PORTVERSION CATEGORIES MASTER_SITES MASTER_SITE_SUBDIR
-PKGNAMEPREFIX PKGNAMESUFFIX DISTNAME EXTRACT_SUFX DISTFILES DIST_SUBDIR
-EXTRACT_ONLY
+PORTNAME PORTVERSION PORTREVISION PORTEPOCH CATEGORIES MASTER_SITES
+MASTER_SITE_SUBDIR PKGNAMEPREFIX PKGNAMESUFFIX DISTNAME EXTRACT_SUFX
+DISTFILES DIST_SUBDIR EXTRACT_ONLY
EOF
# check the items that has to be there.
@@ -1202,8 +1202,9 @@ EOF
}
push(@varnames, split(/\s+/, <<EOF));
-PORTNAME PORTVERSION CATEGORIES MASTER_SITES MASTER_SITE_SUBDIR
-PKGNAMEPREFIX PKGNAMESUFFIX DISTNAME EXTRACT_SUFX DISTFILES EXTRACT_ONLY
+PORTNAME PORTVERSION PORTREVISION PORTEPOCH CATEGORIES MASTER_SITES
+MASTER_SITE_SUBDIR PKGNAMEPREFIX PKGNAMESUFFIX DISTNAME EXTRACT_SUFX
+DISTFILES EXTRACT_ONLY
EOF
#