Import converters/p5-Sereal-Decoder.
This library implements a deserializer for an efficient, compact-output, and feature-rich binary protocol called Sereal. Its sister module p5-Sereal-Encoder implements an encoder for this format. OK bluhm@
This commit is contained in:
parent
6cacb76d4b
commit
1e7edcaab3
36
converters/p5-Sereal-Decoder/Makefile
Normal file
36
converters/p5-Sereal-Decoder/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2018/04/04 21:57:58 fcambus Exp $
|
||||
|
||||
COMMENT = fast, compact, powerful binary deserialization
|
||||
|
||||
DISTNAME = Sereal-Decoder-4.005
|
||||
|
||||
CATEGORIES = converters
|
||||
|
||||
MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
|
||||
|
||||
# Perl, BSD
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB = c perl zstd
|
||||
|
||||
MODULES = cpan
|
||||
|
||||
BUILD_DEPENDS = devel/p5-Devel-CheckLib
|
||||
|
||||
LIB_DEPENDS = archivers/zstd
|
||||
|
||||
TEST_DEPENDS = converters/p5-Sereal-Encoder>=4.002 \
|
||||
devel/p5-Test-Deep \
|
||||
devel/p5-Test-Differences \
|
||||
devel/p5-Test-LongString \
|
||||
devel/p5-Test-Warn
|
||||
|
||||
CPAN_AUTHOR = YVES
|
||||
|
||||
post-extract:
|
||||
rm -r -- ${WRKSRC}/inc/Devel ${WRKSRC}/zstd
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/Makefile.PL
|
||||
|
||||
.include <bsd.port.mk>
|
2
converters/p5-Sereal-Decoder/distinfo
Normal file
2
converters/p5-Sereal-Decoder/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (Sereal-Decoder-4.005.tar.gz) = BDra0JPRv96h5jfhpv5ZgpHaJE0YIT6eVIbjE/DCXp8=
|
||||
SIZE (Sereal-Decoder-4.005.tar.gz) = 494527
|
17
converters/p5-Sereal-Decoder/patches/patch-Makefile_PL
Normal file
17
converters/p5-Sereal-Decoder/patches/patch-Makefile_PL
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-Makefile_PL,v 1.1.1.1 2018/04/04 21:57:58 fcambus Exp $
|
||||
|
||||
Index: Makefile.PL
|
||||
--- Makefile.PL.orig
|
||||
+++ Makefile.PL
|
||||
@@ -81,9 +81,9 @@ inc::Sereal::BuildTools::WriteMakefile(
|
||||
LICENSE => 'perl',
|
||||
ABSTRACT_FROM => 'lib/Sereal/Decoder.pm',
|
||||
AUTHOR => 'Steffen Mueller <smueller@cpan.org>, Yves Orton <yves@cpan.org>',
|
||||
- LIBS => [$libs], # e.g., '-lm'
|
||||
+ LIBS => ["-L${LOCALBASE}/lib $libs"], # e.g., '-lm'
|
||||
DEFINE => $defines,
|
||||
- INC => '-I.', # e.g., '-I. -I/usr/include/other'
|
||||
+ INC => "-I. -I${LOCALBASE}/include", # e.g., '-I. -I/usr/include/other'
|
||||
OPTIMIZE => $optimize,
|
||||
OBJECT => $objects,
|
||||
DIR => $subdirs,
|
4
converters/p5-Sereal-Decoder/pkg/DESCR
Normal file
4
converters/p5-Sereal-Decoder/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
This library implements a deserializer for an efficient, compact-output,
|
||||
and feature-rich binary protocol called Sereal.
|
||||
|
||||
Its sister module p5-Sereal-Encoder implements an encoder for this format.
|
13
converters/p5-Sereal-Decoder/pkg/PLIST
Normal file
13
converters/p5-Sereal-Decoder/pkg/PLIST
Normal file
@ -0,0 +1,13 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2018/04/04 21:57:58 fcambus Exp $
|
||||
${P5ARCH}/
|
||||
${P5ARCH}/Sereal/
|
||||
${P5ARCH}/Sereal/Decoder/
|
||||
${P5ARCH}/Sereal/Decoder.pm
|
||||
${P5ARCH}/Sereal/Decoder/Constants.pm
|
||||
${P5ARCH}/Sereal/Performance.pm
|
||||
${P5ARCH}/auto/
|
||||
${P5ARCH}/auto/Sereal/
|
||||
${P5ARCH}/auto/Sereal/Decoder/
|
||||
${P5ARCH}/auto/Sereal/Decoder/Decoder.so
|
||||
@man man/man3p/Sereal::Decoder.3p
|
||||
@man man/man3p/Sereal::Performance.3p
|
Loading…
x
Reference in New Issue
Block a user