2012-10-11 17:49:48 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= checkbashisms
|
2014-02-05 01:04:33 +01:00
|
|
|
PORTVERSION= 2.14.1
|
2012-10-11 17:49:48 +02:00
|
|
|
CATEGORIES= devel perl5
|
2013-10-09 14:34:24 +02:00
|
|
|
MASTER_SITES= DEBIAN/pool/main/d/devscripts/
|
|
|
|
DISTNAME= devscripts_${PORTVERSION}
|
2012-10-11 17:49:48 +02:00
|
|
|
|
2013-10-09 14:34:24 +02:00
|
|
|
MAINTAINER= nukama+maintainer@gmail.com
|
|
|
|
COMMENT= Debian script that checks for bash-isms
|
2012-10-11 17:49:48 +02:00
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2014-07-29 23:07:39 +02:00
|
|
|
USES= perl5 shebangfix tar:xz
|
2013-08-20 13:43:44 +02:00
|
|
|
USE_PERL5= run
|
2012-10-11 17:49:48 +02:00
|
|
|
NO_BUILD= yes
|
2013-10-09 14:34:24 +02:00
|
|
|
WRKSRC= ${WRKDIR}/devscripts-${PORTVERSION}
|
|
|
|
SHEBANG_FILES= scripts/checkbashisms.pl
|
2012-10-11 17:49:48 +02:00
|
|
|
|
2013-10-09 14:34:24 +02:00
|
|
|
PLIST_FILES= bin/checkbashisms \
|
|
|
|
man/man1/checkbashisms.1.gz
|
2012-10-11 17:49:48 +02:00
|
|
|
|
2013-10-09 14:34:24 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|###VERSION###|${PORTVERSION}|' ${WRKSRC}/scripts/checkbashisms.pl
|
2012-10-11 17:49:48 +02:00
|
|
|
|
|
|
|
do-install:
|
2013-10-09 14:34:24 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/scripts/checkbashisms.pl \
|
|
|
|
${STAGEDIR}${PREFIX}/bin/checkbashisms
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/scripts/checkbashisms.1 \
|
2014-01-26 09:41:31 +01:00
|
|
|
${STAGEDIR}${MAN1PREFIX}/man/man1/
|
2012-10-11 17:49:48 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|