aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-Net-SSLeay/Makefile
blob: b1cfd3aa44027dbc4e2f2b75be25ff38a62e477f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Created by: Andreas Klemm <andreas@klemm.gtn.com>
# $FreeBSD$

PORTNAME=   Net-SSLeay
PORTVERSION=    1.70
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:${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

CONFIGURE_ENV=  OPENSSL_PREFIX=${OPENSSLBASE}
USES=       perl5 shebangfix
USE_OPENSSL=    yes
USE_PERL5=  configure

PORTEXAMPLES=   *

SHEBANG_FILES=  examples/*.pl

post-install:
    ${CHMOD} u+w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Net/SSLeay/SSLeay.so
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Net/SSLeay/SSLeay.so
    ${CHMOD} u-w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Net/SSLeay/SSLeay.so
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/examples/req.conf ${STAGEDIR}${EXAMPLESDIR}/req.conf

.include <bsd.port.mk>