freebsd-ports/security/p5-Crypt-OpenSSL-CA/Makefile
Rene Ladan 620968a43a cleanup: drop support for EOL FreeBSD 11.X
Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11

Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*

Reviewed by:	doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
2021-09-30 23:23:30 +02:00

44 lines
1.2 KiB
Makefile

# Created by: Mosconi <mosconi.rmg@gmail.com>
PORTNAME= Crypt-OpenSSL-CA
PORTVERSION= 0.24
PORTREVISION= 2
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl extension for OpenSSL CA API
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
# Note: The Devel::Mallinfo dependency doesn't work on FreeBSD; mallinfo()
# is a GNU libc function.
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Convert-ASN1>=0.02:converters/p5-Convert-ASN1 \
p5-Devel-Leak>=0:devel/p5-Devel-Leak \
p5-File-Slurp>=0:devel/p5-File-Slurp \
p5-IPC-Run>=0:devel/p5-IPC-Run \
p5-Inline>=0.40:devel/p5-Inline \
p5-Inline-C>=0:devel/p5-Inline-C \
p5-Net-SSLeay>=1.25:security/p5-Net-SSLeay
TEST_DEPENDS= p5-Test-Group>=0:devel/p5-Test-Group \
p5-Test-Taint>=0:devel/p5-Test-Taint
BROKEN_SSL= openssl
USES= perl5 ssl
USE_PERL5= modbuild
CONFIGURE_ARGS= --openssl-cflags=-L${OPENSSLINC} --openssl-ldflags="-I${OPENSSLLIB} ${OPENSSL_LDFLAGS}"
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && (${SSL_DEFAULT} == base || ${SSL_DEFAULT} == openssl)
BROKEN= Does not support OpenSSL 1.1
.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/OpenSSL/CA/*/*.so
.include <bsd.port.mk>