Date: Sat, 4 Sep 2004 12:45:07 +0800 (CST) From: Yen-Ming Lee <leeym@utopia.leeym.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: marcus@FreeBSD.org Subject: ports/71361: [PATCH] devel/portlint: add check for DATADIR Message-ID: <20040904044507.7CA2F3EAB01@utopia.leeym.com> Resent-Message-ID: <200409040450.i844oLZi034003@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 71361 >Category: ports >Synopsis: [PATCH] devel/portlint: add check for DATADIR >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Sep 04 04:50:21 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 5.2.1-RELEASE-p9 i386 >Organization: >Environment: System: FreeBSD utopia.leeym.com 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #167: Tue Jul 27 05:17:58 CST 2004 >Description: - add check for DATADIR in PLIST - bump PORTREVISION Port maintainer (marcus@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- portlint-2.6.7_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/portlint/Makefile,v retrieving revision 1.82 diff -u -u -r1.82 Makefile --- Makefile 1 Sep 2004 04:13:32 -0000 1.82 +++ Makefile 4 Sep 2004 04:43:30 -0000 @@ -9,6 +9,7 @@ PORTNAME= portlint PORTVERSION= 2.6.7 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= # none DISTFILES= # none Index: src/portlint.pl =================================================================== RCS file: /home/pcvs/ports/devel/portlint/src/portlint.pl,v retrieving revision 1.63 diff -u -u -r1.63 portlint.pl --- src/portlint.pl 1 Sep 2004 04:13:32 -0000 1.63 +++ src/portlint.pl 4 Sep 2004 04:43:31 -0000 @@ -755,6 +755,10 @@ &perror("WARN: $file [$.]: consider using EXAMPLESDIR macro"); } + if ($_ =~ /^share\/$makevar{PORTNAME}\//) { + &perror("WARN: $file [$.]: consider using DATADIR macro"); + } + if ($_ =~ m#man/([^/]+/)?man([$manchapters])/([^\.]+\.[$manchapters])(\.gz)?$#) { if ($4 eq '') { $plistman{$2} .= ' ' . $3; --- portlint-2.6.7_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040904044507.7CA2F3EAB01>