aed7be5143
* Check for old-style LIB_DEPENDS * Don't emit a warning if there is only one MASTER_SITE, but that MASTER_SITE is known in our list of site macros. [1] * Attempt to find corrupt DESKTOP_ENTRIES that do not specify a proper startupnotify value. [1] Reported by: Hardy Schumacher <hardy.schumacher@gmx.de>
44 lines
917 B
Makefile
44 lines
917 B
Makefile
# Created by: Jun-ichiro itojun Hagino <itojun@itojun.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= portlint
|
|
PORTVERSION= 2.14.10
|
|
CATEGORIES= ports-mgmt
|
|
MASTER_SITES= # none
|
|
DISTFILES= # none
|
|
|
|
MAINTAINER= marcus@FreeBSD.org
|
|
COMMENT= Verifier for FreeBSD port directory
|
|
|
|
LICENSE= BSD
|
|
|
|
NO_BUILD= yes
|
|
WRKSRC= ${WRKDIR}/src
|
|
USES= perl5
|
|
USE_PERL5= run
|
|
|
|
SRC= ${.CURDIR}/src
|
|
|
|
PLIST_FILES= bin/portlint \
|
|
man/man1/portlint.1.gz
|
|
|
|
PORTEXAMPLES= portlintgrep
|
|
|
|
pre-patch:
|
|
@${CP} -R ${SRC} ${WRKDIR}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' \
|
|
${WRKSRC}/portlint.pl \
|
|
${WRKSRC}/portlintgrep.pl
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/portlint.pl \
|
|
${STAGEDIR}${PREFIX}/bin/portlint
|
|
${INSTALL_MAN} ${WRKSRC}/portlint.1 \
|
|
${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/portlintgrep.pl \
|
|
${STAGEDIR}${EXAMPLESDIR}/portlintgrep
|
|
|
|
.include <bsd.port.mk>
|