1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/net/p5-Net-SSH-Perl/Makefile
Sunpoet Po-Chuan Hsieh 64ac724283 - Update to 2.01
- Add LICENSE_FILE
- Strip shared library

Changes:	http://search.cpan.org/dist/Net-SSH-Perl/Changes
2016-04-25 09:11:25 +00:00

48 lines
1.3 KiB
Makefile

# Created by: Jesper Skriver <jesper@FreeBSD.org>
# $FreeBSD$
PORTNAME= Net-SSH-Perl
PORTVERSION= 2.01
CATEGORIES= net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl5 module implementing both the SSH1 and SSH2 protocols
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= p5-Convert-PEM>=0.05:converters/p5-Convert-PEM \
p5-Crypt-Curve25519>=0.05:security/p5-Crypt-Curve25519 \
p5-Crypt-DES>0:security/p5-Crypt-DES \
p5-Crypt-DH>=0.01:security/p5-Crypt-DH \
p5-Crypt-DSA>=0.11:security/p5-Crypt-DSA \
p5-Crypt-IDEA>=0:security/p5-Crypt-IDEA \
p5-Crypt-RSA>=0:security/p5-Crypt-RSA \
p5-CryptX>=0:security/p5-CryptX \
p5-Digest-BubbleBabble>=0:security/p5-Digest-BubbleBabble \
p5-File-HomeDir>=0:devel/p5-File-HomeDir \
p5-Math-GMP>=1.04:math/p5-Math-GMP \
p5-Math-Pari>=2.001804:math/p5-Math-Pari \
p5-String-CRC32>=1.2:devel/p5-String-CRC32
RUN_DEPENDS:= ${BUILD_DEPENDS}
CONFIGURE_ENV= PERL_MM_USE_DEFAULT="1"
NO_ARCH= yes
USES= perl5
USE_PERL5= configure
OPTIONS_DEFINE= GMP
OPTIONS_DEFAULT=GMP
GMP_DESC= Use the optimized Math::BigInt::GMP backend
GMP_BUILD_DEPENDS= p5-Math-BigInt-GMP>=0:math/p5-Math-BigInt-GMP
GMP_RUN_DEPENDS= ${GMP_BUILD_DEPENDS}
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Net/SSH/Perl/Perl.so
.include <bsd.port.mk>