git: 68e5eded6569 - main - devel/avro: Add PERL option

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 30 Dec 2022 09:08:19 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=68e5eded6569d4f34dddcffb1f58f6a1f9988ef6

commit 68e5eded6569d4f34dddcffb1f58f6a1f9988ef6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-12-30 08:39:51 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-12-30 09:04:06 +0000

    devel/avro: Add PERL option
    
    - Bump PORTREVISION for dependency change
---
 devel/avro/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/devel/avro/Makefile b/devel/avro/Makefile
index dfd224e61935..207ed7feb892 100644
--- a/devel/avro/Makefile
+++ b/devel/avro/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	avro
 PORTVERSION=	1.11.1
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -10,10 +11,11 @@ LICENSE=	APACHE20
 
 USES=		metaport
 
-OPTIONS_DEFINE=	C CPP PYTHON RUBY
-OPTIONS_DEFAULT=C CPP PYTHON RUBY
+OPTIONS_DEFINE=	C CPP PERL PYTHON RUBY
+OPTIONS_DEFAULT=C CPP PERL PYTHON RUBY
 C_DESC=		Install C library
 CPP_DESC=	Install C++ library
+PERL_DESC=	Install Perl library
 PYTHON_DESC=	Install Python library
 RUBY_DESC=	Install Ruby library
 
@@ -21,6 +23,7 @@ C_BUILD_DEPENDS=	avro-c>=${PORTVERSION}:devel/avro-c
 C_LIB_DEPENDS=		libavro.so:devel/avro-c
 CPP_BUILD_DEPENDS=	avro-cpp>=${PORTVERSION}:devel/avro-cpp
 CPP_LIB_DEPENDS=	libavrocpp.so:devel/avro-cpp
+PERL_RUN_DEPENDS=	p5-Avro>=${PORTVERSION}:devel/p5-Avro
 PYTHON_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}avro>=${PORTVERSION}:devel/py-avro@${PY_FLAVOR}
 PYTHON_USES=		python:env
 RUBY_RUN_DEPENDS=	rubygem-avro>=${PORTVERSION}:devel/rubygem-avro