aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Net-SSLeay
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-03-23 19:22:07 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-03-23 19:22:07 +0000
commitf1894fb29e2c33ff6f0d3ec71671e6d63602a35d (patch)
tree43357969ce3a2282ef3d1b31ad5be1f280811284 /security/p5-Net-SSLeay
parenta73df9cbe8ca1455bf87b6a04a96cf9d3dafa053 (diff)
downloadports-f1894fb29e2c33ff6f0d3ec71671e6d63602a35d.tar.gz
ports-f1894fb29e2c33ff6f0d3ec71671e6d63602a35d.zip
- Update to 1.54
- Convert to new options framework Changes: http://search.cpan.org/dist/Net-SSLeay/Changes
Notes
Notes: svn path=/head/; revision=315073
Diffstat (limited to 'security/p5-Net-SSLeay')
-rw-r--r--security/p5-Net-SSLeay/Makefile11
-rw-r--r--security/p5-Net-SSLeay/distinfo4
2 files changed, 9 insertions, 6 deletions
diff --git a/security/p5-Net-SSLeay/Makefile b/security/p5-Net-SSLeay/Makefile
index f2b418ccc36b..b5b3b752e41d 100644
--- a/security/p5-Net-SSLeay/Makefile
+++ b/security/p5-Net-SSLeay/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= Net-SSLeay
-PORTVERSION= 1.53
+PORTVERSION= 1.54
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,22 +14,25 @@ TEST_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
p5-Test-NoWarnings>=0:${PORTSDIR}/devel/p5-Test-NoWarnings \
p5-Test-Warn>=0:${PORTSDIR}/devel/p5-Test-Warn
+OPTIONS_DEFINE= EXAMPLES
+
PERL_CONFIGURE= yes
CONFIGURE_ENV= OPENSSL_PREFIX=${OPENSSLBASE}
REINPLACE_ARGS= -i ''
USE_OPENSSL= yes
MAN3= Net::SSLeay.3 Net::SSLeay::Handle.3
-
PORTEXAMPLES= *
+.include <bsd.port.options.mk>
+
post-patch:
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
@${REINPLACE_CMD} -e '1 s|/usr/bin/perl|${PERL}|' ${WRKSRC}/examples/*.pl
.endif
post-install:
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}/
${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/examples/req.conf ${EXAMPLESDIR}/req.conf
diff --git a/security/p5-Net-SSLeay/distinfo b/security/p5-Net-SSLeay/distinfo
index 3ccee93592e3..bc1d5464e06f 100644
--- a/security/p5-Net-SSLeay/distinfo
+++ b/security/p5-Net-SSLeay/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Net-SSLeay-1.53.tar.gz) = 3477aafb4b3234fb9c5f1524fb4b1ee87fb3f6ba2ffb0eb47be68f68c08e36f1
-SIZE (Net-SSLeay-1.53.tar.gz) = 390957
+SHA256 (Net-SSLeay-1.54.tar.gz) = e163c550dd57d0fde6ebf5b05abcc1edeb7fe054984dc35d8bcd20e13c367dd7
+SIZE (Net-SSLeay-1.54.tar.gz) = 393431