freebsd-ports/security/p5-Crypt-OpenSSL-RSA/Makefile
Sunpoet Po-Chuan Hsieh b145d52c97 - Fix self test with Perl 5.14 [1]
- Add regression-test:
- Make portlint happier
- Bump PORTREVISION for RSA.pm change

PR:		ports/157187 [1]
Submitted by:	Mark Martinec <Mark.Martinec@ijs.si>
2011-05-26 08:58:21 +00:00

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>