freebsd-ports/devel/checkbashisms/Makefile
Jason Helfman c7f26330fd - update to 2.14.0 [1]
- while here shift manprefix

PR:		183542 (based on)
Submitted by:	giffunip@tutopia.com, [1] nukama+maintainer@gmail.com (maintainer)
2014-01-26 08:41:31 +00:00

33 lines
817 B
Makefile

# $FreeBSD$
PORTNAME= checkbashisms
PORTVERSION= 2.14.0
CATEGORIES= devel perl5
MASTER_SITES= DEBIAN/pool/main/d/devscripts/
DISTNAME= devscripts_${PORTVERSION}
MAINTAINER= nukama+maintainer@gmail.com
COMMENT= Debian script that checks for bash-isms
LICENSE= GPLv2
USES= perl5 shebangfix
USE_XZ= yes
USE_PERL5= run
NO_BUILD= yes
WRKSRC= ${WRKDIR}/devscripts-${PORTVERSION}
SHEBANG_FILES= scripts/checkbashisms.pl
PLIST_FILES= bin/checkbashisms \
man/man1/checkbashisms.1.gz
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/
.include <bsd.port.mk>