View | Details | Raw Unified | Return to bug 71405
Collapse All | Expand All

(-)Makefile (+1 lines)
Lines 9-14 Link Here
9
9
10
PORTNAME=	portlint
10
PORTNAME=	portlint
11
PORTVERSION=	2.6.7
11
PORTVERSION=	2.6.7
12
PORTREVISION=	1
12
CATEGORIES=	devel
13
CATEGORIES=	devel
13
MASTER_SITES=	# none
14
MASTER_SITES=	# none
14
DISTFILES=	# none
15
DISTFILES=	# none
(-)src/portlint.pl (+10 lines)
Lines 755-760 Link Here
755
			&perror("WARN: $file [$.]: consider using EXAMPLESDIR macro");
755
			&perror("WARN: $file [$.]: consider using EXAMPLESDIR macro");
756
		}
756
		}
757
757
758
		if ($_ =~ /^share\/$makevar{PORTNAME}\//) {
759
			&perror("WARN: $file [$.]: consider using DATADIR macro");
760
		}
761
758
		if ($_ =~ m#man/([^/]+/)?man([$manchapters])/([^\.]+\.[$manchapters])(\.gz)?$#) {
762
		if ($_ =~ m#man/([^/]+/)?man([$manchapters])/([^\.]+\.[$manchapters])(\.gz)?$#) {
759
			if ($4 eq '') {
763
			if ($4 eq '') {
760
				$plistman{$2} .= ' ' . $3;
764
				$plistman{$2} .= ' ' . $3;
Lines 2200-2205 Link Here
2200
		if ($tmp =~ /MAN\U$i\E=\s*([^\n]*)\n/) {
2204
		if ($tmp =~ /MAN\U$i\E=\s*([^\n]*)\n/) {
2201
			print "OK: Makefile MAN\U$i\E=$1\n" if ($verbose);
2205
			print "OK: Makefile MAN\U$i\E=$1\n" if ($verbose);
2202
		}
2206
		}
2207
	}
2208
	if ($tmp =~ /PERL_CONFIGURE=\s*/
2209
		&& $tmp =~ /MAN3PREFIX=\s*\${PREFIX}\/lib\/perl5\/\${PERL_VERSION}/) {
2210
		&perror("WARN: $file: MAN3PREFIX is ".
2211
			"\"\${PREFIX}/lib/perl5/\${PERL_VERSION}\" ".
2212
			"when PERL_CONFIGURE is set. you don't need to specify it.");
2203
	}
2213
	}
2204
	foreach my $i (split(//, $manchapters)) {
2214
	foreach my $i (split(//, $manchapters)) {
2205
		next if ($i eq '');
2215
		next if ($i eq '');

Return to bug 71405