diff --git a/devel/Makefile b/devel/Makefile index 941e366636e4..4e46ecd6e9f3 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -189,6 +189,7 @@ SUBDIR += cgit SUBDIR += cgprof SUBDIR += charva + SUBDIR += checkbashisms SUBDIR += checkheaders SUBDIR += chrpath SUBDIR += cil diff --git a/devel/checkbashisms/Makefile b/devel/checkbashisms/Makefile new file mode 100644 index 000000000000..33a3c031f47d --- /dev/null +++ b/devel/checkbashisms/Makefile @@ -0,0 +1,34 @@ +# $FreeBSD$ + +PORTNAME= checkbashisms +PORTVERSION= 2.0.0.2 +CATEGORIES= devel perl5 +MASTER_SITES= SF/${SF_PROJECT}/${DISTVERSION} +DISTNAME= ${PORTNAME} +EXTRACT_SUFX= + +MAINTAINER= bdrewery@FreeBSD.org +COMMENT= Script to check for Bash features not defined by POSIX + +LICENSE= GPLv2 + +SF_PROJECT= checkbaskisms + +USE_PERL5_RUN= yes +NO_BUILD= yes +NO_WRKSUBDIR= yes + +PLIST_FILES= bin/${DISTNAME} + +do-extract: + @${MKDIR} ${WRKSRC} + @${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC} + +do-patch: + @${REINPLACE_CMD} -e "s| /usr/bin/perl|${PERL}|" \ + ${WRKSRC}/${DISTNAME} + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${DISTNAME} + +.include diff --git a/devel/checkbashisms/distinfo b/devel/checkbashisms/distinfo new file mode 100644 index 000000000000..3e34085aefc4 --- /dev/null +++ b/devel/checkbashisms/distinfo @@ -0,0 +1,2 @@ +SHA256 (checkbashisms) = 4da61b7f08b55609e80c648d215f0201aa9b5f1df53aab6252129537a7f7a0ee +SIZE (checkbashisms) = 21258 diff --git a/devel/checkbashisms/pkg-descr b/devel/checkbashisms/pkg-descr new file mode 100644 index 000000000000..0e396f3d37f6 --- /dev/null +++ b/devel/checkbashisms/pkg-descr @@ -0,0 +1,4 @@ +checkbashisms is a perl script that checks for commonly used +bash features that are not supported by POSIX shells. + +WWW: http://sourceforge.net/projects/checkbaskisms