git: 63647063e6d9 - main - www/p5-HTML-Template-Pro: Update to 0.9524

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 18 Apr 2022 00:05:58 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=63647063e6d9d57d5e19baf01fa4ac81c371473b

commit 63647063e6d9d57d5e19baf01fa4ac81c371473b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-17 23:51:33 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-17 23:59:10 +0000

    www/p5-HTML-Template-Pro: Update to 0.9524
    
    - Add LICENSE
    - Fix indent
    - Strip shared library
    - Sort PLIST
    
    Changes:        https://metacpan.org/dist/HTML-Template-Pro/changes
---
 www/p5-HTML-Template-Pro/Makefile  | 14 ++++++++++----
 www/p5-HTML-Template-Pro/distinfo  |  5 +++--
 www/p5-HTML-Template-Pro/pkg-plist |  2 +-
 3 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/www/p5-HTML-Template-Pro/Makefile b/www/p5-HTML-Template-Pro/Makefile
index dd2b80e38a2e..f9bf622257b3 100644
--- a/www/p5-HTML-Template-Pro/Makefile
+++ b/www/p5-HTML-Template-Pro/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	HTML-Template-Pro
-PORTVERSION=	0.9510
-PORTREVISION=	1
+PORTVERSION=	0.9524
 CATEGORIES=	www perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -8,11 +7,18 @@ PKGNAMEPREFIX=	p5-
 MAINTAINER=	perl@FreeBSD.org
 COMMENT=	Perl extension to use HTML Templates from CGI scripts
 
-RUN_DEPENDS=	\
-	p5-JSON>=2:converters/p5-JSON
+LICENSE=	ART10 GPLv1+ LGPL21+
+LICENSE_COMB=	dual
+LICENSE_FILE_ART10=	${WRKSRC}/ARTISTIC
+LICENSE_FILE_LGPL21+ =	${WRKSRC}/LGPL
+
 BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-JSON>=2.0:converters/p5-JSON
 
 USES=		perl5
 USE_PERL5=	configure
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/HTML/Template/Pro/Pro.so
+
 .include <bsd.port.mk>
diff --git a/www/p5-HTML-Template-Pro/distinfo b/www/p5-HTML-Template-Pro/distinfo
index d397eaebf280..b3349dfdc29a 100644
--- a/www/p5-HTML-Template-Pro/distinfo
+++ b/www/p5-HTML-Template-Pro/distinfo
@@ -1,2 +1,3 @@
-SHA256 (HTML-Template-Pro-0.9510.tar.gz) = 67cb77fe9600d1439d144fcdd545b70dc621eb719c7b09c3aea66ea9c01f8a86
-SIZE (HTML-Template-Pro-0.9510.tar.gz) = 171562
+TIMESTAMP = 1650229168
+SHA256 (HTML-Template-Pro-0.9524.tar.gz) = 1364bf2d2c0449f2c7d7f310f8147dcad3dbd5682d66bbb2fb7caf6adfb7d9ca
+SIZE (HTML-Template-Pro-0.9524.tar.gz) = 173369
diff --git a/www/p5-HTML-Template-Pro/pkg-plist b/www/p5-HTML-Template-Pro/pkg-plist
index b33ef38dc081..eb040cc9e78d 100644
--- a/www/p5-HTML-Template-Pro/pkg-plist
+++ b/www/p5-HTML-Template-Pro/pkg-plist
@@ -1,8 +1,8 @@
-%%SITE_ARCH%%/auto/HTML/Template/Pro/Pro.so
 %%SITE_ARCH%%/HTML/Template/PerlInterface.pod
 %%SITE_ARCH%%/HTML/Template/Pro.pm
 %%SITE_ARCH%%/HTML/Template/Pro/WrapAssociate.pm
 %%SITE_ARCH%%/HTML/Template/SYNTAX.pod
+%%SITE_ARCH%%/auto/HTML/Template/Pro/Pro.so
 %%PERL5_MAN3%%/HTML::Template::PerlInterface.3.gz
 %%PERL5_MAN3%%/HTML::Template::Pro.3.gz
 %%PERL5_MAN3%%/HTML::Template::SYNTAX.3.gz