* Remove www.freebsd.org/~$user check from urlcheck() * Remove 'in the module alias name' warning * Remove 'binary -ko' * Silence warnings in case if svn binary does not exist (try 2) * Use more strict regexp for share/doc detection * Add sdl-config to direct commands check * Fix phase 2 of direct use of pathnames check * Ignore comments in direct use of pathnames check * Support nested knobs in plist for OPTIONS_SUB check * Add check for @dirrm(try) libdata/pkgconfig in plist * Remove USE_MESA, INSTALLS_SHLIB, APACHE_COMPAT, USE_XPM from deprecated macro check * Fix 'Consider adding support for a NLS knob to conditionally disable gettext' warning in the case of use 'NLS_USES= gettext' PR: 188389 Submitted by: ak
44 lines
916 B
Makefile
44 lines
916 B
Makefile
# Created by: Jun-ichiro itojun Hagino <itojun@itojun.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= portlint
|
|
PORTVERSION= 2.15.1
|
|
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>
|