Files
ports/devel/checkbashisms/Makefile
T
Joseph Mingrone aadcbf94e0 devel/checkbashisms: Update to 2.22.1
The tarball for version 2.21.4 was removed from the upstream mirror, so
this upgrade also fixes a fetch error.

While here, reset the maintainer to ports@ since prior to this fix there
were more than 3 maintainer timeouts.

PR:		263799
Sponsored by:	The FreeBSD Foundation
2022-05-06 00:19:54 -03:00

40 lines
1.0 KiB
Makefile

PORTNAME= checkbashisms
DISTVERSION= 2.22.1
CATEGORIES= devel perl5
MASTER_SITES= DEBIAN/pool/main/d/devscripts/
DISTNAME= devscripts_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Check for the presence of bashisms
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= perl5 shebangfix tar:xz
USE_PERL5= run
SHEBANG_FILES= scripts/checkbashisms.pl
NO_ARCH= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/devscripts-${PORTVERSION}
PLIST_FILES= bin/checkbashisms \
man/man1/checkbashisms.1.gz \
etc/bash_completion.d/_checkbashisms.bash
post-patch:
@${REINPLACE_CMD} -e 's|###VERSION###|${PORTVERSION}|' \
${WRKSRC}/scripts/checkbashisms.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/scripts/checkbashisms.pl \
${STAGEDIR}${PREFIX}/bin/checkbashisms
${INSTALL_MAN} ${WRKSRC}/scripts/checkbashisms.1 \
${STAGEDIR}${MAN1PREFIX}/man/man1/
${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
${INSTALL_DATA} ${WRKSRC}/scripts/checkbashisms.bash_completion \
${STAGEDIR}${PREFIX}/etc/bash_completion.d/_checkbashisms.bash
.include <bsd.port.mk>