freebsd-ports/ports-mgmt/portlint/Makefile
Joe Marcus Clarke 6ab42818d7 Update to 2.6.0
* Add some additional checks for USE_* variables included too late [1]
* Add a check for SIZE in distinfo [2]
* Fix a small style nit [2]
* Warn is USE_SIZE is used in a port's Makefile
* Check to see if a port supports WITHOUT_NLS if USE_GETTEXT is defined [3]

Submitted by:	eik [1]
		krion [2]
Requested by:	kris [3]
2004-03-26 20:43:13 +00:00

45 lines
974 B
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.6.0
CATEGORIES= devel
MASTER_SITES= # none
DISTFILES= # none
MAINTAINER= marcus@FreeBSD.org
COMMENT= A verifier for FreeBSD port directory
NO_BUILD= yes
WRKSRC= ${WRKDIR}/src
USE_PERL5= yes
USE_REINPLACE= 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}
${INSTALL_SCRIPT} ${WRKSRC}/portlintgrep.pl ${EXAMPLESDIR}/portlintgrep
.include <bsd.port.mk>