1997-06-15 16:12:38 +02:00
|
|
|
# New ports collection makefile for: portlint
|
|
|
|
# Date created: 13 Jun 1997
|
1999-08-14 14:55:26 +02:00
|
|
|
# Whom: Jun-ichiro itojun Hagino <itojun@itojun.org>
|
1997-06-15 16:12:38 +02:00
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1997-06-15 16:12:38 +02:00
|
|
|
#
|
2000-04-16 22:24:40 +02:00
|
|
|
# This port is self contained in the src directory.
|
|
|
|
#
|
1997-06-15 16:12:38 +02:00
|
|
|
|
2000-04-11 23:30:15 +02:00
|
|
|
PORTNAME= portlint
|
Update to 2.13.0.
* Only make checks for PORTVERSION/DISTVERSION, MAINTAINER, COMMENT, and
CATEGORIES fatal if they are not set elsewhere. Instead, print a warning
for non-slave ports. [1]
* Make the check for an Apache dependency case-sensitive to fix an issue
with false positives. [2]
* Add support for checking for the need for USE_DOS2UNIX, and for ports which
may need MASTER_SITE*CPAN. [3]
* Add a new -m flag which enables checks for MOVED, UIDs, and GIDs. This flag
is disabled by default, but can be enabled with -c, -C, or -A. [4]
PR: 142381 [2]
Submitted by: wen [2]
hrs [4]
Requested by: chukharev@mail.ru [1] [3]
2010-04-04 20:12:45 +02:00
|
|
|
PORTVERSION= 2.13.0
|
2007-02-05 02:08:46 +01:00
|
|
|
CATEGORIES= ports-mgmt
|
2000-04-19 22:27:51 +02:00
|
|
|
MASTER_SITES= # none
|
2000-04-16 22:24:40 +02:00
|
|
|
DISTFILES= # none
|
1997-06-15 16:12:38 +02:00
|
|
|
|
2003-07-17 06:42:07 +02:00
|
|
|
MAINTAINER= marcus@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A verifier for FreeBSD port directory
|
1997-06-15 16:12:38 +02:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
2003-07-20 02:31:20 +02:00
|
|
|
WRKSRC= ${WRKDIR}/src
|
2005-07-30 07:11:51 +02:00
|
|
|
USE_PERL5_RUN= yes
|
1997-06-15 16:12:38 +02:00
|
|
|
|
1999-01-07 10:34:52 +01:00
|
|
|
SRC= ${.CURDIR}/src
|
1999-01-05 13:23:28 +01:00
|
|
|
|
1997-07-13 15:37:59 +02:00
|
|
|
MAN1= portlint.1
|
|
|
|
|
1999-01-05 13:23:28 +01:00
|
|
|
do-fetch:
|
|
|
|
@${DO_NADA}
|
|
|
|
|
2003-07-20 02:31:20 +02:00
|
|
|
pre-patch:
|
|
|
|
@${CP} -R ${SRC} ${WRKDIR}
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/portlint.pl
|
2003-11-17 21:17:46 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' \
|
|
|
|
${WRKSRC}/portlintgrep.pl
|
2003-07-20 02:31:20 +02:00
|
|
|
|
1997-06-15 16:12:38 +02:00
|
|
|
do-install:
|
2007-08-04 13:41:30 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/portlint.pl ${PREFIX}/bin/portlint
|
2003-07-20 02:31:20 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/portlint.1 ${MAN1PREFIX}/man/man1
|
2003-11-17 21:17:46 +01:00
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
2009-07-09 03:03:38 +02:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 555 -d ${EXAMPLESDIR}
|
2003-11-17 21:17:46 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/portlintgrep.pl ${EXAMPLESDIR}/portlintgrep
|
2009-07-09 03:03:38 +02:00
|
|
|
.endif
|
1997-06-15 16:12:38 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|