svn commit: r419006 - in head/ports-mgmt/portlint: . src

Joe Marcus Clarke marcus at FreeBSD.org
Sun Jul 24 14:24:35 UTC 2016


Author: marcus
Date: Sun Jul 24 14:24:34 2016
New Revision: 419006
URL: https://svnweb.freebsd.org/changeset/ports/419006

Log:
  Update to 2.17.4.
  
  * Check PLIST_FILES for icons [1]
  * Add VARS and VARS_OFF to the option helper list [2]
  * Add NO_ARCH [2]
  
  PR:		211175 [1]
  Submitted by:	koobs [2]

Modified:
  head/ports-mgmt/portlint/Makefile
  head/ports-mgmt/portlint/src/portlint.pl

Modified: head/ports-mgmt/portlint/Makefile
==============================================================================
--- head/ports-mgmt/portlint/Makefile	Sun Jul 24 14:21:13 2016	(r419005)
+++ head/ports-mgmt/portlint/Makefile	Sun Jul 24 14:24:34 2016	(r419006)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	portlint
-PORTVERSION=	2.17.3
+PORTVERSION=	2.17.4
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	# none
 DISTFILES=	# none
@@ -15,6 +15,7 @@ LICENSE_NAME=	Itojun License
 LICENSE_TEXT=	All rights reserved. Freely redistributable.  Absolutely no warranty.
 LICENSE_PERMS=	auto-accept dist-mirror dist-sell pkg-mirror pkg-sell
 
+NO_ARCH=	yes
 NO_BUILD=	yes
 WRKSRC=		${WRKDIR}/src
 USES=		perl5 shebangfix

Modified: head/ports-mgmt/portlint/src/portlint.pl
==============================================================================
--- head/ports-mgmt/portlint/src/portlint.pl	Sun Jul 24 14:21:13 2016	(r419005)
+++ head/ports-mgmt/portlint/src/portlint.pl	Sun Jul 24 14:24:34 2016	(r419006)
@@ -15,7 +15,7 @@
 # was removed.
 #
 # $FreeBSD$
-# $MCom: portlint/portlint.pl,v 1.390 2016/07/07 17:40:43 jclarke Exp $
+# $MCom: portlint/portlint.pl,v 1.393 2016/07/24 14:20:19 jclarke Exp $
 #
 
 use strict;
@@ -50,7 +50,7 @@ $portdir = '.';
 # version variables
 my $major = 2;
 my $minor = 17;
-my $micro = 3;
+my $micro = 4;
 
 # default setting - for FreeBSD
 my $portsdir = '/usr/ports';
@@ -1439,11 +1439,17 @@ sub checkmakefile {
 					"for more details)");
 			}
 			if ($plist_file =~ m|\.core$| && $plist_file !~ /^\@/) {
-				&perror("WARN", "", -1, "this port installs a file which ".
+				&perror("WARN", "", -1, "PLIST_FILES: this port installs a file which ".
 					"ends in \".core\".  This file may be deleted if ".
 					"daily_clean_disks_enable=\"YES\" in /etc/periodic.conf.  ".
 					"If possible, install this file with a different name.");
 			}
+			if ($plist_file =~ m|^share/icons/.*/| &&
+				$makevar{INSTALLS_ICONS} eq '') {
+				&perror("WARN", "", -1, "PLIST_FILES: installing icons, ".
+					"please define INSTALLS_ICONS as appropriate");
+			}
+
 		}
 	}
 
@@ -1574,6 +1580,8 @@ sub checkmakefile {
 		PLIST_FILES
 		USE
 		USES
+		VARS
+		VARS_OFF
 	);
 
 	my $m = join("|", @options_helpers);


More information about the svn-ports-head mailing list