pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Eval-LineNumbers Import p5-Eval-LineNumbers-0...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c9c0255c7296
branches:  trunk
changeset: 357866:c9c0255c7296
user:      mef <mef%pkgsrc.org@localhost>
date:      Mon Jan 30 14:16:42 2017 +0000

description:
Import p5-Eval-LineNumbers-0.1 as devel/p5-Eval-LineNumbers.

Add a "#line "this-file" 392" comment to heredoc/hereis text that is
going to be eval'ed so that error messages will point back to the right
place.

Please note: when you embed "\n" in your code, it gets expanded in
double-quote hereis documents so it will mess up your line numbering.
Use "\\n" instead when you can.

diffstat:

 devel/p5-Eval-LineNumbers/DESCR    |   7 +++++++
 devel/p5-Eval-LineNumbers/Makefile |  24 ++++++++++++++++++++++++
 devel/p5-Eval-LineNumbers/distinfo |   6 ++++++
 3 files changed, 37 insertions(+), 0 deletions(-)

diffs (49 lines):

diff -r 8932ccca44b8 -r c9c0255c7296 devel/p5-Eval-LineNumbers/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Eval-LineNumbers/DESCR   Mon Jan 30 14:16:42 2017 +0000
@@ -0,0 +1,7 @@
+Add a "#line "this-file" 392" comment to heredoc/hereis text that is
+going to be eval'ed so that error messages will point back to the right
+place.
+
+Please note: when you embed "\n" in your code, it gets expanded in
+double-quote hereis documents so it will mess up your line numbering.
+Use "\\n" instead when you can.
diff -r 8932ccca44b8 -r c9c0255c7296 devel/p5-Eval-LineNumbers/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Eval-LineNumbers/Makefile        Mon Jan 30 14:16:42 2017 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2017/01/30 14:16:42 mef Exp $
+
+# no Release yet
+GIT_COMMIT=    d1d7556
+DISTNAME=      master
+PKGNAME=       p5-Eval-LineNumbers-0.1
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=/muir/Eval-LineNumbers/archive/}
+EXTRACT_SUFX=  .zip
+DIST_SUBDIR=   Eval-LineNumbers-${GIT_COMMIT}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/muir/Eval-LineNumbers
+COMMENT=       Add line numbers to heredoc blocks that contain perl source code
+LICENSE=       ${PERL5_LICENSE}
+
+WRKSRC=                ${WRKDIR}/Eval-LineNumbers-${DISTNAME}
+
+USE_LANGUAGES= # empty
+USE_TOOLS+=    perl
+PERL5_PACKLIST=        auto/Eval/LineNumbers/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8932ccca44b8 -r c9c0255c7296 devel/p5-Eval-LineNumbers/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Eval-LineNumbers/distinfo        Mon Jan 30 14:16:42 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/01/30 14:16:42 mef Exp $
+
+SHA1 (Eval-LineNumbers-d1d7556/master.zip) = 38ca6cea9123d8b00577ad742db86ec6c009a095
+RMD160 (Eval-LineNumbers-d1d7556/master.zip) = de466fdc77ec5fc9a6c7225c20a3136c445b65f6
+SHA512 (Eval-LineNumbers-d1d7556/master.zip) = c2587fe4dcc6aa155b5a87065e37d67a121b10665d43d013d3c6260ec014935247e05309abc43c92bbde637eb8eeb32273e6bbc4e62997f1ce47b6014bfd29cb
+Size (Eval-LineNumbers-d1d7556/master.zip) = 5368 bytes



Home | Main Index | Thread Index | Old Index