3bfe4d0158
* 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]
47 lines
1 KiB
Makefile
47 lines
1 KiB
Makefile
# New ports collection makefile for: portlint
|
|
# Date created: 13 Jun 1997
|
|
# Whom: Jun-ichiro itojun Hagino <itojun@itojun.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
# This port is self contained in the src directory.
|
|
#
|
|
|
|
PORTNAME= portlint
|
|
PORTVERSION= 2.13.0
|
|
CATEGORIES= ports-mgmt
|
|
MASTER_SITES= # none
|
|
DISTFILES= # none
|
|
|
|
MAINTAINER= marcus@FreeBSD.org
|
|
COMMENT= A verifier for FreeBSD port directory
|
|
|
|
NO_BUILD= yes
|
|
WRKSRC= ${WRKDIR}/src
|
|
USE_PERL5_RUN= yes
|
|
|
|
SRC= ${.CURDIR}/src
|
|
|
|
MAN1= portlint.1
|
|
|
|
do-fetch:
|
|
@${DO_NADA}
|
|
|
|
pre-patch:
|
|
@${CP} -R ${SRC} ${WRKDIR}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/portlint.pl
|
|
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' \
|
|
${WRKSRC}/portlintgrep.pl
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/portlint.pl ${PREFIX}/bin/portlint
|
|
${INSTALL_MAN} ${WRKSRC}/portlint.1 ${MAN1PREFIX}/man/man1
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
.if !defined(NOPORTEXAMPLES)
|
|
${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 555 -d ${EXAMPLESDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/portlintgrep.pl ${EXAMPLESDIR}/portlintgrep
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|