mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
1df8075025
* Include LICENSE_FILE and LICENSE_GROUPS in the regexp check. [1] * Add LICENSE_DISTFILES. [1] * Add a check for the reassignment of ECHO_MSG [2] * Remove old X.Org checks [3] * Add PROJECTHOST to the PORTNAME section [4] Reminded by: Jan Beich <jbeich@tormail.net> [1] Requested by: jgh [2] Submitted by: eadler [3] Alex Kozlov <spam@rm-rf.kiev.ua> [3]
53 lines
1.2 KiB
Makefile
53 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.9
|
|
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>
|