1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/security/p5-Crypt-SMIME/Makefile
Po-Chuan Hsieh 2b8b5f5927
security/p5-Crypt-SMIME: Fix test
Before:
t/01-smime.t .......... skipped: No package `openssl' found
t/02-smime.more.t ..... skipped: No package `openssl' found
t/03-chained-certs.t .. skipped: No package `openssl' found
t/04-taint.t .......... skipped: No package `openssl' found

After:
t/01-smime.t .......... # Using `/usr/bin/openssl' to generate a keypair
t/01-smime.t .......... ok
t/02-smime.more.t ..... # Using `/usr/bin/openssl' to generate a keypair
t/02-smime.more.t ..... ok
t/03-chained-certs.t .. # Using `/usr/bin/openssl' to generate a keypair
t/03-chained-certs.t .. ok
t/04-taint.t .......... # Using `/usr/bin/openssl' to generate a keypair
t/04-taint.t .......... ok
2021-07-01 04:43:38 +08:00

34 lines
971 B
Makefile

PORTNAME= Crypt-SMIME
PORTVERSION= 0.27
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= S/MIME message signing, verification, encryption and decryption
LICENSE= ART10
BUILD_DEPENDS= p5-ExtUtils-CChecker>=0:devel/p5-ExtUtils-CChecker \
p5-ExtUtils-PkgConfig>=0:devel/p5-ExtUtils-PkgConfig
TEST_DEPENDS= p5-Taint-Util>=0.08:devel/p5-Taint-Util \
p5-Test-Dependencies>=0:devel/p5-Test-Dependencies \
p5-Test-Exception>=0:devel/p5-Test-Exception \
p5-Test-Pod>=1.14:devel/p5-Test-Pod \
p5-Test-Pod-Coverage>=1.04:devel/p5-Test-Pod-Coverage \
p5-Test-Taint>=0:devel/p5-Test-Taint
USES= perl5 ssl
USE_PERL5= configure
CONFIGURE_ENV= LIBCRYPTO_CFLAGS="-I${OPENSSLINC}" LIBCRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto"
MAKE_ENV= OPENSSLBASE=${OPENSSLBASE}
post-patch:
@${RM} ${WRKSRC}/t/*.orig
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/SMIME/SMIME.so
.include <bsd.port.mk>