aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2020-06-11 21:23:25 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2020-06-11 21:23:25 +0000
commit710342417e8e4a49a9902b2758f7abfca1359962 (patch)
tree5900608bbcd21a57463306c8acf0324ace99ba91 /converters
parent9c598a14dfede2feac2c7872ed1be24065d00a4b (diff)
downloadports-710342417e8e4a49a9902b2758f7abfca1359962.tar.gz
ports-710342417e8e4a49a9902b2758f7abfca1359962.zip
Notes
Diffstat (limited to 'converters')
-rw-r--r--converters/p5-Sereal-Decoder/Makefile23
-rw-r--r--converters/p5-Sereal-Decoder/distinfo6
-rw-r--r--converters/p5-Sereal-Encoder/Makefile24
-rw-r--r--converters/p5-Sereal-Encoder/distinfo6
-rw-r--r--converters/p5-Sereal/Makefile25
-rw-r--r--converters/p5-Sereal/distinfo6
6 files changed, 32 insertions, 58 deletions
diff --git a/converters/p5-Sereal-Decoder/Makefile b/converters/p5-Sereal-Decoder/Makefile
index 6c00f92b9bb3..6d7b584fb4da 100644
--- a/converters/p5-Sereal-Decoder/Makefile
+++ b/converters/p5-Sereal-Decoder/Makefile
@@ -1,26 +1,7 @@
# $FreeBSD$
PORTNAME= Sereal-Decoder
-PORTVERSION= 4.011
-CATEGORIES= converters perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= CPAN:YVES
-PKGNAMEPREFIX= p5-
-
-MAINTAINER= adamw@FreeBSD.org
COMMENT= Perl module for fast, powerful binary deserialization (decoder)
-LICENSE= ART10 GPLv1+
-LICENSE_COMB= dual
-
-TEST_DEPENDS= p5-Test-LongString>0:devel/p5-Test-LongString \
- p5-Test-Warn>=0:devel/p5-Test-Warn
-
-USES= perl5
-USE_PERL5= configure
-MAKE_JOBS_UNSAFE= yes
-
-post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Sereal/Decoder/Decoder.so
-
-.include <bsd.port.mk>
+SLAVE_PORT= yes
+.include "${.CURDIR}/../p5-Sereal/Makefile"
diff --git a/converters/p5-Sereal-Decoder/distinfo b/converters/p5-Sereal-Decoder/distinfo
index 83fe23e34893..8d3760e96188 100644
--- a/converters/p5-Sereal-Decoder/distinfo
+++ b/converters/p5-Sereal-Decoder/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1580821611
-SHA256 (Sereal-Decoder-4.011.tar.gz) = a4c84d387321b09e0287ecb26b8034c06cd1e11f9992e7ca0a2daddd46192731
-SIZE (Sereal-Decoder-4.011.tar.gz) = 676210
+TIMESTAMP = 1591909829
+SHA256 (Sereal-Decoder-4.012.tar.gz) = 39bbd9bc2cba5ed1c9efe5c14a740949ca1251fcbbd494080d21b8e8ff33732f
+SIZE (Sereal-Decoder-4.012.tar.gz) = 676405
diff --git a/converters/p5-Sereal-Encoder/Makefile b/converters/p5-Sereal-Encoder/Makefile
index 1e7e33d0b656..10ddb2c5c149 100644
--- a/converters/p5-Sereal-Encoder/Makefile
+++ b/converters/p5-Sereal-Encoder/Makefile
@@ -1,27 +1,7 @@
# $FreeBSD$
PORTNAME= Sereal-Encoder
-PORTVERSION= 4.011
-CATEGORIES= converters perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= CPAN:YVES
-PKGNAMEPREFIX= p5-
-
-MAINTAINER= adamw@FreeBSD.org
COMMENT= Perl module for fast, powerful binary serialization (encoder)
-LICENSE= ART10 GPLv1+
-LICENSE_COMB= dual
-
-TEST_DEPENDS= p5-Test-Deep>0:devel/p5-Test-Deep \
- p5-Test-LongString>0:devel/p5-Test-LongString \
- p5-Test-Warn>0:devel/p5-Test-Warn
-
-USES= perl5
-USE_PERL5= configure
-MAKE_JOBS_UNSAFE= yes
-
-post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Sereal/Encoder/Encoder.so
-
-.include <bsd.port.mk>
+SLAVE_PORT= yes
+.include "${.CURDIR}/../p5-Sereal/Makefile"
diff --git a/converters/p5-Sereal-Encoder/distinfo b/converters/p5-Sereal-Encoder/distinfo
index 46ac3b866e94..37f8c6160121 100644
--- a/converters/p5-Sereal-Encoder/distinfo
+++ b/converters/p5-Sereal-Encoder/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1580821636
-SHA256 (Sereal-Encoder-4.011.tar.gz) = a753876d8c4208d7c72ba3f745a7ebc6913245992a011e38ac44542a9cb73461
-SIZE (Sereal-Encoder-4.011.tar.gz) = 685284
+TIMESTAMP = 1591909688
+SHA256 (Sereal-Encoder-4.012.tar.gz) = b34c18d9bc07554be5ea83b609b2f08d26c6148b7198826921086d5e1ecedf94
+SIZE (Sereal-Encoder-4.012.tar.gz) = 685506
diff --git a/converters/p5-Sereal/Makefile b/converters/p5-Sereal/Makefile
index f3e6b9e3573b..948db7fb26b1 100644
--- a/converters/p5-Sereal/Makefile
+++ b/converters/p5-Sereal/Makefile
@@ -1,27 +1,40 @@
# $FreeBSD$
-PORTNAME= Sereal
-PORTVERSION= 4.011
+PORTNAME?= Sereal
+PORTVERSION= 4.012
CATEGORIES= converters perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:YVES
PKGNAMEPREFIX= p5-
MAINTAINER= adamw@FreeBSD.org
-COMMENT= Perl extension for fast, compact, powerful binary (de-)serialization
+COMMENT?= Perl extension for fast, compact, powerful binary (de-)serialization
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
-BUILD_DEPENDS= ${RUN_DEPENDS}
-RUN_DEPENDS= p5-Sereal-Decoder>=${PORTVERSION}:converters/p5-Sereal-Decoder \
- p5-Sereal-Encoder>=${PORTVERSION}:converters/p5-Sereal-Encoder
TEST_DEPENDS= p5-Test-Deep>=0:devel/p5-Test-Deep \
p5-Test-LongString>=0:devel/p5-Test-LongString \
p5-Test-Warn>=0:devel/p5-Test-Warn
USES= perl5
USE_PERL5= configure
+MAKE_JOBS_UNSAFE= yes
+
+.if empty(SLAVE_PORT)
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= p5-Sereal-Decoder>=${PORTVERSION}:converters/p5-Sereal-Decoder \
+ p5-Sereal-Encoder>=${PORTVERSION}:converters/p5-Sereal-Encoder
+
NO_ARCH= yes
+.else
+LIB_DEPENDS= libzstd.so:archivers/zstd
+
+MAKE_ENV+= PASTHRU_DEFINE="-I${LOCALBASE}/include"
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Sereal/${PORTNAME:C/Sereal-//}/*.so
+.endif
+
.include <bsd.port.mk>
diff --git a/converters/p5-Sereal/distinfo b/converters/p5-Sereal/distinfo
index 7549d80420e0..78077da4b1e6 100644
--- a/converters/p5-Sereal/distinfo
+++ b/converters/p5-Sereal/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1580821658
-SHA256 (Sereal-4.011.tar.gz) = 5bb8a1c43f03cf0024fb53d866fb3bcbd741544ff0cc3a65f91e0c174d400003
-SIZE (Sereal-4.011.tar.gz) = 195514
+TIMESTAMP = 1591910142
+SHA256 (Sereal-4.012.tar.gz) = 25d6229c79f4e6bcaae10cfd7c0d7f01b5df5a82ef4f15a3ed6935af59c0195a
+SIZE (Sereal-4.012.tar.gz) = 195586