aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-10-09 20:34:24 +0800
committerbdrewery <bdrewery@FreeBSD.org>2013-10-09 20:34:24 +0800
commit5e15b6dfc249b67327285c64550f98588cb59701 (patch)
tree6483fb51c7b09aadd7228b0d4d425405a52cc3f0
parent087d8f061cd127e9ef666c6116922cf20c921fa2 (diff)
downloadfreebsd-ports-gnome-5e15b6dfc249b67327285c64550f98588cb59701.tar.gz
freebsd-ports-gnome-5e15b6dfc249b67327285c64550f98588cb59701.tar.zst
freebsd-ports-gnome-5e15b6dfc249b67327285c64550f98588cb59701.zip
- Move to updated debian version
- Pass maintainership to submitter PR: ports/179188 (based on) Submitted by: Hakisho Nukama <nukama@gmail.com> (based on)
-rw-r--r--devel/checkbashisms/Makefile36
-rw-r--r--devel/checkbashisms/distinfo4
-rw-r--r--devel/checkbashisms/pkg-descr5
3 files changed, 20 insertions, 25 deletions
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
-
-PLIST_FILES= bin/${DISTNAME}
+WRKSRC= ${WRKDIR}/devscripts-${PORTVERSION}
+SHEBANG_FILES= scripts/checkbashisms.pl
-do-extract:
- @${MKDIR} ${WRKSRC}
- @${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}
+PLIST_FILES= bin/checkbashisms \
+ man/man1/checkbashisms.1.gz
-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 <bsd.port.mk>
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