freebsd-ports/security/p5-Net-SSLeay/Makefile
2018-03-14 18:11:55 +00:00

37 lines
888 B
Makefile

# Created by: Andreas Klemm <andreas@klemm.gtn.com>
# $FreeBSD$
PORTNAME= Net-SSLeay
PORTVERSION= 1.85
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl5 interface to SSL
LICENSE= OpenSSL
TEST_DEPENDS= p5-Test-Exception>=0:devel/p5-Test-Exception \
p5-Test-NoWarnings>=0:devel/p5-Test-NoWarnings \
p5-Test-Warn>=0:devel/p5-Test-Warn
OPTIONS_DEFINE= EXAMPLES
CONFIGURE_ENV= OPENSSL_PREFIX=${OPENSSLBASE}
USES= perl5 shebangfix ssl
USE_PERL5= configure
PORTEXAMPLES= *
SHEBANG_FILES= examples/*.pl
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Net/SSLeay/SSLeay.so
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/req.conf ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>