git: 71df99e47196 - main - security/p5-openxpki*: General cleanup

From: Dries Michiels <driesm_at_FreeBSD.org>
Date: Mon, 29 Nov 2021 13:43:23 UTC
The branch main has been updated by driesm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=71df99e471966dba8c600c51b952cab201fe404a

commit 71df99e471966dba8c600c51b952cab201fe404a
Author:     Dries Michiels <driesm@FreeBSD.org>
AuthorDate: 2021-11-29 08:00:49 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2021-11-29 13:41:25 +0000

    security/p5-openxpki*: General cleanup
    
    - Fix typo
    - Introduce MY_DEPENDS
    - No need to include bsd.port.pre.mk
    
    Approved by:            0mp (mentor), portmgr (blanket)
    Differential Revision:  https://reviews.freebsd.org/D33160
---
 security/p5-openxpki-i18n/Makefile | 2 +-
 security/p5-openxpki/Makefile      | 9 ++++-----
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/security/p5-openxpki-i18n/Makefile b/security/p5-openxpki-i18n/Makefile
index c70aa1b25fdf..d06b00d141de 100644
--- a/security/p5-openxpki-i18n/Makefile
+++ b/security/p5-openxpki-i18n/Makefile
@@ -13,7 +13,7 @@ COMMENT=	Perl based trustcenter software for PKI: i18n tools
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/../../LICENSE
 
-### We can not go without NLS. Internationalization is needed even for English
+# We cannot go without NLS. Internationalization is needed even for English.
 USES=		gettext-runtime gettext-tools gmake perl5
 
 USE_GITHUB=	yes
diff --git a/security/p5-openxpki/Makefile b/security/p5-openxpki/Makefile
index 599c240241e3..fe9bf4223350 100644
--- a/security/p5-openxpki/Makefile
+++ b/security/p5-openxpki/Makefile
@@ -12,8 +12,7 @@ COMMENT=	Perl based trustcenter for PKI: universal server building block
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${RUN_DEPENDS}
-RUN_DEPENDS=	bash:shells/bash \
+MY_DEPENDS=	bash:shells/bash \
 		p5-Archive-Zip>=0:archivers/p5-Archive-Zip \
 		p5-Cache-LRU>=0:devel/p5-Cache-LRU \
 		p5-CGI-Fast>=2.10:www/p5-CGI-Fast \
@@ -79,6 +78,8 @@ RUN_DEPENDS=	bash:shells/bash \
 		p5-XML-Filter-XInclude>=0:textproc/p5-XML-Filter-XInclude \
 		p5-XML-SAX-Writer>=0:textproc/p5-XML-SAX-Writer \
 		p5-XML-Validator-Schema>=0:textproc/p5-XML-Validator-Schema
+BUILD_DEPENDS=	${MY_DEPENDS}
+RUN_DEPENDS=	${MY_DEPENDS}
 TEST_DEPENDS=	p5-DBD-SQLite>=1.52:databases/p5-DBD-SQLite \
 		p5-Test-Pod-Coverage>=1.00:devel/p5-Test-Pod-Coverage \
 		p5-Test-Pod>=1.00:devel/p5-Test-Pod \
@@ -130,8 +131,6 @@ post-patch:
 	)
 	@${MKDIR} ${WRKSRC}/t/var/log/openxpki
 
-.include <bsd.port.pre.mk>
-
 post-install:
 	@${MKDIR} ${STAGEDIR}/var/openxpki/session
 	@${MKDIR} ${STAGEDIR}/var/log/openxpki
@@ -146,4 +145,4 @@ post-install-EXAMPLES-on:
 	(cd ${WRKSRC}/../.. && ${COPYTREE_SHARE} config ${STAGEDIR}${EXAMPLESDIR})
 	(cd ${WRKSRC} && ${COPYTREE_SHARE} "htdocs cgi-bin" ${STAGEDIR}${EXAMPLESDIR})
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>