blob: 83a15fdc1ecc080830971d1428828d869cb7b688 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
PORTNAME= checkbashisms
DISTVERSION= 2.19.6
CATEGORIES= devel perl5
MASTER_SITES= DEBIAN/pool/main/d/devscripts/
DISTNAME= devscripts_${PORTVERSION}
MAINTAINER= nukama+maintainer@gmail.com
COMMENT= Check for the presence of bashisms
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= perl5 shebangfix tar:xz
SHEBANG_FILES= scripts/checkbashisms.pl
USE_PERL5= run
NO_BUILD= yes
NO_ARCH= 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>
|