diff --git a/devel/checkbashisms/Makefile b/devel/checkbashisms/Makefile index 217423fc0afe..8cd30ac86aa9 100644 --- a/devel/checkbashisms/Makefile +++ b/devel/checkbashisms/Makefile @@ -1,36 +1,32 @@ # $FreeBSD$ PORTNAME= checkbashisms -PORTVERSION= 2.0.0.2 +PORTVERSION= 2.12.6 CATEGORIES= devel perl5 -MASTER_SITES= SF/${SF_PROJECT}/${DISTVERSION} -DISTNAME= ${PORTNAME} -EXTRACT_SUFX= +MASTER_SITES= DEBIAN/pool/main/d/devscripts/ +DISTNAME= devscripts_${PORTVERSION} -MAINTAINER= bdrewery@FreeBSD.org -COMMENT= Script to check for Bash features not defined by POSIX +MAINTAINER= nukama+maintainer@gmail.com +COMMENT= Debian script that checks for bash-isms LICENSE= GPLv2 -SF_PROJECT= checkbaskisms - -USES= perl5 +USES= perl5 shebangfix USE_PERL5= run NO_BUILD= yes -NO_WRKSUBDIR= yes -NO_STAGE= yes +WRKSRC= ${WRKDIR}/devscripts-${PORTVERSION} +SHEBANG_FILES= scripts/checkbashisms.pl -PLIST_FILES= bin/${DISTNAME} +PLIST_FILES= bin/checkbashisms \ + man/man1/checkbashisms.1.gz -do-extract: - @${MKDIR} ${WRKSRC} - @${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC} - -do-patch: - @${REINPLACE_CMD} -e "s| /usr/bin/perl|${PERL}|" \ - ${WRKSRC}/${DISTNAME} +post-patch: + @${REINPLACE_CMD} -e 's|###VERSION###|${PORTVERSION}|' ${WRKSRC}/scripts/checkbashisms.pl do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${DISTNAME} + ${INSTALL_SCRIPT} ${WRKSRC}/scripts/checkbashisms.pl \ + ${STAGEDIR}${PREFIX}/bin/checkbashisms + ${INSTALL_MAN} ${WRKSRC}/scripts/checkbashisms.1 \ + ${STAGEDIR}${MANPREFIX}/man/man1/ .include diff --git a/devel/checkbashisms/distinfo b/devel/checkbashisms/distinfo index 3e34085aefc4..c504404006a2 100644 --- a/devel/checkbashisms/distinfo +++ b/devel/checkbashisms/distinfo @@ -1,2 +1,2 @@ -SHA256 (checkbashisms) = 4da61b7f08b55609e80c648d215f0201aa9b5f1df53aab6252129537a7f7a0ee -SIZE (checkbashisms) = 21258 +SHA256 (devscripts_2.12.6.tar.gz) = eab908dc6809459a62eac4e6d07bda714123fc4cc0b15e275b865c8a49e65f8e +SIZE (devscripts_2.12.6.tar.gz) = 996395 diff --git a/devel/checkbashisms/pkg-descr b/devel/checkbashisms/pkg-descr index 0e396f3d37f6..0c64f5c2fe26 100644 --- a/devel/checkbashisms/pkg-descr +++ b/devel/checkbashisms/pkg-descr @@ -1,4 +1,3 @@ -checkbashisms is a perl script that checks for commonly used -bash features that are not supported by POSIX shells. +Debian script that checks for bashisms -WWW: http://sourceforge.net/projects/checkbaskisms +WWW: http://packages.qa.debian.org/d/devscripts.html