Import converters/p5-Sereal-Encoder.
This library implements an efficient, compact-output, and feature-rich serializer using a binary protocol called Sereal. Its sister module p5-Sereal-Decoder implements a decoder for this format. OK bluhm@
This commit is contained in:
parent
2464f73a90
commit
9c87131a38
36
converters/p5-Sereal-Encoder/Makefile
Normal file
36
converters/p5-Sereal-Encoder/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2018/04/04 21:54:06 fcambus Exp $
|
||||
|
||||
COMMENT = fast, compact, powerful binary serialization
|
||||
|
||||
DISTNAME = Sereal-Encoder-4.005
|
||||
|
||||
CATEGORIES = converters
|
||||
|
||||
MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
|
||||
|
||||
# Perl, BSD, LGPLv2.1
|
||||
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-Decoder>=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-Encoder/distinfo
Normal file
2
converters/p5-Sereal-Encoder/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (Sereal-Encoder-4.005.tar.gz) = KVCzKNafJixvuiNQ+GBHROVAFuz93D2Wt9cdzFuZCwo=
|
||||
SIZE (Sereal-Encoder-4.005.tar.gz) = 501265
|
17
converters/p5-Sereal-Encoder/patches/patch-Makefile_PL
Normal file
17
converters/p5-Sereal-Encoder/patches/patch-Makefile_PL
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-Makefile_PL,v 1.1.1.1 2018/04/04 21:54:06 fcambus Exp $
|
||||
|
||||
Index: Makefile.PL
|
||||
--- Makefile.PL.orig
|
||||
+++ Makefile.PL
|
||||
@@ -91,9 +91,9 @@ inc::Sereal::BuildTools::WriteMakefile(
|
||||
LICENSE => 'perl',
|
||||
ABSTRACT_FROM => 'lib/Sereal/Encoder.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,
|
||||
DIR => $subdirs,
|
||||
OBJECT => $objects,
|
4
converters/p5-Sereal-Encoder/pkg/DESCR
Normal file
4
converters/p5-Sereal-Encoder/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
This library implements an efficient, compact-output, and feature-rich
|
||||
serializer using a binary protocol called Sereal.
|
||||
|
||||
Its sister module p5-Sereal-Decoder implements a decoder for this format.
|
11
converters/p5-Sereal-Encoder/pkg/PLIST
Normal file
11
converters/p5-Sereal-Encoder/pkg/PLIST
Normal file
@ -0,0 +1,11 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2018/04/04 21:54:06 fcambus Exp $
|
||||
${P5ARCH}/
|
||||
${P5ARCH}/Sereal/
|
||||
${P5ARCH}/Sereal/Encoder/
|
||||
${P5ARCH}/Sereal/Encoder.pm
|
||||
${P5ARCH}/Sereal/Encoder/Constants.pm
|
||||
${P5ARCH}/auto/
|
||||
${P5ARCH}/auto/Sereal/
|
||||
${P5ARCH}/auto/Sereal/Encoder/
|
||||
${P5ARCH}/auto/Sereal/Encoder/Encoder.so
|
||||
@man man/man3p/Sereal::Encoder.3p
|
Loading…
x
Reference in New Issue
Block a user