forked from Lainports/freebsd-ports
- Add regression-test: - Make portlint happier - Bump PORTREVISION for RSA.pm change PR: ports/157187 [1] Submitted by: Mark Martinec <Mark.Martinec@ijs.si>
35 lines
1,022 B
Makefile
35 lines
1,022 B
Makefile
# New ports collection makefile for: p5-Crypt-OpenSSL-RSA
|
|
# Date created: 2001/08/27
|
|
# Whom: nork@cityfujisawa.ne.jp
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Crypt-OpenSSL-RSA
|
|
PORTVERSION= 0.26
|
|
PORTREVISION= 1
|
|
CATEGORIES= security perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Perl5 module to RSA encode and decode strings using OpenSSL
|
|
|
|
BUILD_DEPENDS= p5-Crypt-OpenSSL-Bignum>=0:${PORTSDIR}/security/p5-Crypt-OpenSSL-Bignum \
|
|
p5-Crypt-OpenSSL-Random>=0:${PORTSDIR}/security/p5-Crypt-OpenSSL-Random
|
|
RUN_DEPENDS= p5-Crypt-OpenSSL-Bignum>=0:${PORTSDIR}/security/p5-Crypt-OpenSSL-Bignum \
|
|
p5-Crypt-OpenSSL-Random>=0:${PORTSDIR}/security/p5-Crypt-OpenSSL-Random
|
|
|
|
PERL_CONFIGURE= yes
|
|
USE_OPENSSL= yes
|
|
MAKE_ARGS= PASTHRU_INC=-I${OPENSSLINC}
|
|
|
|
MAN3= Crypt::OpenSSL::RSA.3
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "9 s|require AutoLoader;|use AutoLoader 'AUTOLOAD';|" ${WRKSRC}/RSA.pm
|
|
|
|
regression-test: build
|
|
cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} test
|
|
|
|
.include <bsd.port.mk>
|