pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/p5-B-Hooks-Parser Added devel/p5-B-Hooks-Parser ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/35aa26cbe4fc
branches: trunk
changeset: 553342:35aa26cbe4fc
user: abs <abs%pkgsrc.org@localhost>
date: Mon Jan 19 18:02:57 2009 +0000
description:
Added devel/p5-B-Hooks-Parser version 0.08
This module provides an API for parts of the perl parser. It can
be used to modify code while it's being parsed.
diffstat:
devel/p5-B-Hooks-Parser/DESCR | 2 ++
devel/p5-B-Hooks-Parser/Makefile | 27 +++++++++++++++++++++++++++
devel/p5-B-Hooks-Parser/PLIST | 2 ++
devel/p5-B-Hooks-Parser/buildlink3.mk | 21 +++++++++++++++++++++
devel/p5-B-Hooks-Parser/distinfo | 6 ++++++
devel/p5-B-Hooks-Parser/patches/patch-aa | 18 ++++++++++++++++++
6 files changed, 76 insertions(+), 0 deletions(-)
diffs (100 lines):
diff -r d87d92dde4df -r 35aa26cbe4fc devel/p5-B-Hooks-Parser/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-B-Hooks-Parser/DESCR Mon Jan 19 18:02:57 2009 +0000
@@ -0,0 +1,2 @@
+This module provides an API for parts of the perl parser. It can
+be used to modify code while it's being parsed.
diff -r d87d92dde4df -r 35aa26cbe4fc devel/p5-B-Hooks-Parser/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-B-Hooks-Parser/Makefile Mon Jan 19 18:02:57 2009 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/19 18:02:57 abs Exp $
+#
+
+DISTNAME= B-Hooks-Parser-0.08
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=B/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://search.cpan.org/dist/B-Hooks-Parser/
+COMMENT= Interface to perls parser variables
+
+BUILD_DEPENDS+= p5-ExtUtils-Depends>0:../../devel/p5-ExtUtils-Depends
+DEPENDS+= p5-parent>0:../../devel/p5-parent
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= c
+PERL5_PACKLIST= auto/B/Hooks/Parser/.packlist
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}/${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/hook_parser.h ${DESTDIR}/${PREFIX}/include
+
+.include "../../devel/p5-B-Hooks-OP-Check/buildlink3.mk"
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d87d92dde4df -r 35aa26cbe4fc devel/p5-B-Hooks-Parser/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-B-Hooks-Parser/PLIST Mon Jan 19 18:02:57 2009 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/19 18:02:57 abs Exp $
+include/hook_parser.h
diff -r d87d92dde4df -r 35aa26cbe4fc devel/p5-B-Hooks-Parser/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-B-Hooks-Parser/buildlink3.mk Mon Jan 19 18:02:57 2009 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/01/19 18:02:57 abs Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+P5_B_HOOKS_PARSER_BUILDLINK3_MK:= ${P5_B_HOOKS_PARSER_BUILDLINK3_MK}+
+
+BUILDLINK_DEPMETHOD.p5-B-Hooks-Parser?= build
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= p5-B-Hooks-Parser
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Np5-B-Hooks-Parser}
+BUILDLINK_PACKAGES+= p5-B-Hooks-Parser
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}p5-B-Hooks-Parser
+
+.if ${P5_B_HOOKS_PARSER_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.p5-B-Hooks-Parser+= p5-B-Hooks-Parser>=0.08
+BUILDLINK_PKGSRCDIR.p5-B-Hooks-Parser?= ../../devel/p5-B-Hooks-Parser
+.endif # P5_B_HOOKS_PARSER_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r d87d92dde4df -r 35aa26cbe4fc devel/p5-B-Hooks-Parser/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-B-Hooks-Parser/distinfo Mon Jan 19 18:02:57 2009 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/01/19 18:02:57 abs Exp $
+
+SHA1 (B-Hooks-Parser-0.08.tar.gz) = 3566f9e7c6c7adbedab5af3da9e19cb6de60243d
+RMD160 (B-Hooks-Parser-0.08.tar.gz) = c1eb5205510913d301d32fe0c6894d5e19223032
+Size (B-Hooks-Parser-0.08.tar.gz) = 65716 bytes
+SHA1 (patch-aa) = 19a6f2dab8be6f3f6d5a562223740c1ce394ee72
diff -r d87d92dde4df -r 35aa26cbe4fc devel/p5-B-Hooks-Parser/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-B-Hooks-Parser/patches/patch-aa Mon Jan 19 18:02:57 2009 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/01/19 18:02:57 abs Exp $
+
+Do not error out if perl was built without PERL_MALLOC_WRAP
+
+--- stolen_chunk_of_toke.c.orig 2009-01-19 15:42:56.000000000 +0000
++++ stolen_chunk_of_toke.c
+@@ -39,7 +39,10 @@ STATIC char* S_scan_word(pTHX_ char *
+ #define DPTR2FPTR(t,p) ((t)PTR2nat(p)) /* data pointer to function pointer */
+ #define FPTR2DPTR(t,p) ((t)PTR2nat(p)) /* function pointer to data pointer */
+ #define PTR2nat(p) (PTRV)(p) /* pointer to integer of PTRSIZE */
+-#define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t),
++
++#ifdef PERL_MALLOC_WRAP
++# define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t),
++#endif
+
+ /* On MacOS, respect nonbreaking spaces */
+ #ifdef MACOS_TRADITIONAL
Home |
Main Index |
Thread Index |
Old Index