freebsd-ports/ports-mgmt/portlint/Makefile
Joe Marcus Clarke e8ef7bfbd0 Update to 2.13.6.
* Be more careful is searching for WITH(OUT)_FOO OPTIONS checks so to avoid
false positive warnings. [1]
* Support := in the *_DEPENDS section. [2]
* Make sure we expand DISTNAME to catch potential superfluous uses of it. [3]
* Fix the error seen when one passes CPPFLAGS to CONFIGURE_ENV. [4]
* Add the license block check after the MAINTAINER block [5]
* Add a check for use of ${FIND}...${XARGS} ${RM}. [6]

PR:		156164 [1]
		155753 [2]
		154320 [3]
		158305 [5]
		157566 [6]
Submitted by:	sahil [1]
		"Ilya A. Arkhipov" <micro@heavennet.ru> [5]
Reported by:	pav [4]
2011-06-26 21:31:55 +00:00

52 lines
1.2 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.6
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
PLIST_FILES= bin/portlint
.if !defined(NOPORTEXAMPLES)
PLIST_FILES+= %%EXAMPLESDIR%%/portlintgrep
PLIST_DIRS= %%EXAMPLESDIR%%
.endif
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
.if !defined(NOPORTEXAMPLES)
${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m ${BINMODE} -d ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/portlintgrep.pl ${EXAMPLESDIR}/portlintgrep
.endif
.include <bsd.port.mk>