diff options
author | Will Andrews <will@FreeBSD.org> | 2000-10-10 23:54:49 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-10-10 23:54:49 +0000 |
commit | c0234049cae9e082e6b82094df463bbf3936f940 (patch) | |
tree | f9d68ffe6a83d4784a5842694e69958f7a95f112 /devel/portlint | |
parent | e0663a95aeb6324a06d3b79f199c203137deaee9 (diff) | |
download | ports-c0234049cae9e082e6b82094df463bbf3936f940.tar.gz ports-c0234049cae9e082e6b82094df463bbf3936f940.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
Notes
Notes:
svn path=/head/; revision=33693
Diffstat (limited to 'devel/portlint')
-rw-r--r-- | devel/portlint/src/portlint.pl | 21 |
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 # |