diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-09-10 02:19:55 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-09-10 02:19:55 +0800 |
commit | b4d32943e78d39b6274a1d2cf4b4276818636f4c (patch) | |
tree | eff42b16e149468da40494210ca2aca253e98704 /textproc | |
parent | e13e3412f11c81ef6d2e893f52ca06b022381922 (diff) | |
download | freebsd-ports-gnome-b4d32943e78d39b6274a1d2cf4b4276818636f4c.tar.gz freebsd-ports-gnome-b4d32943e78d39b6274a1d2cf4b4276818636f4c.tar.zst freebsd-ports-gnome-b4d32943e78d39b6274a1d2cf4b4276818636f4c.zip |
- Add checkbashisms 2.12.6
Debian script that checks for bashisms
WWW: http://packages.qa.debian.org/d/devscripts.html
PR: ports/179188
Submitted by: Hakisho Nukama <nukama@gmail.com>
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/checkbashisms/Makefile | 30 | ||||
-rw-r--r-- | textproc/checkbashisms/distinfo | 2 | ||||
-rw-r--r-- | textproc/checkbashisms/pkg-descr | 3 |
4 files changed, 36 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 385f7dfa7061..e97074785982 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -61,6 +61,7 @@ SUBDIR += cbedic SUBDIR += cdif SUBDIR += cdiff + SUBDIR += checkbashisms SUBDIR += chm2pdf SUBDIR += chpp SUBDIR += cl-meta diff --git a/textproc/checkbashisms/Makefile b/textproc/checkbashisms/Makefile new file mode 100644 index 000000000000..eb40c1780715 --- /dev/null +++ b/textproc/checkbashisms/Makefile @@ -0,0 +1,30 @@ +# Created by: Hakisho Nukama <nukama@gmail.com> +# $FreeBSD$ + +PORTNAME= checkbashisms +PORTVERSION= 2.12.6 +CATEGORIES= textproc perl5 +MASTER_SITES= http://ftp.debian.org/debian/pool/main/d/devscripts/ +DISTNAME= devscripts_${PORTVERSION} + +MAINTAINER= nukama+maintainer@gmail.com +COMMENT= Debian script that checks for bash-isms + +LICENSE= GPLv2 + +NO_BUILD= yes +USE_PERL5= run +USES= perl5 +WRKSRC= ${WRKDIR}/devscripts-${PORTVERSION} + +MAN1= checkbashisms.1 +PLIST_FILES= bin/checkbashisms + +post-patch: + @${REINPLACE_CMD} -e 's|###VERSION###|${PORTVERSION}|' ${WRKSRC}/scripts/checkbashisms.pl + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/scripts/checkbashisms.pl ${PREFIX}/bin/checkbashisms + ${INSTALL_MAN} ${WRKSRC}/scripts/checkbashisms.1 ${MANPREFIX}/man/man1/ + +.include <bsd.port.mk> diff --git a/textproc/checkbashisms/distinfo b/textproc/checkbashisms/distinfo new file mode 100644 index 000000000000..c504404006a2 --- /dev/null +++ b/textproc/checkbashisms/distinfo @@ -0,0 +1,2 @@ +SHA256 (devscripts_2.12.6.tar.gz) = eab908dc6809459a62eac4e6d07bda714123fc4cc0b15e275b865c8a49e65f8e +SIZE (devscripts_2.12.6.tar.gz) = 996395 diff --git a/textproc/checkbashisms/pkg-descr b/textproc/checkbashisms/pkg-descr new file mode 100644 index 000000000000..0c64f5c2fe26 --- /dev/null +++ b/textproc/checkbashisms/pkg-descr @@ -0,0 +1,3 @@ +Debian script that checks for bashisms + +WWW: http://packages.qa.debian.org/d/devscripts.html |