blob: c05e19c1f835cb42060eefcafa957b3a2b7bde58 (
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: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= openssl
PORTVERSION= 1.0.0k
CATEGORIES= devel security
MASTER_SITES= http://www.openssl.org/%SUBDIR%/ \
ftp://ftp.openssl.org/%SUBDIR%/ \
ftp://ftp.cert.dfn.de/pub/tools/net/openssl/%SUBDIR%/
MASTER_SITE_SUBDIR= source
PKGNAMEPREFIX= mingw32-
DIST_SUBDIR= ${DISTNAME}2
MAINTAINER= knu@FreeBSD.org
COMMENT= The OpenSSL library cross-compiled for MinGW32
BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend \
${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc \
${LOCALBASE}/mingw32/include/stdlib.h:${PORTSDIR}/devel/${PKGNAMEPREFIX}bin-msvcrt \
${LOCALBASE}/mingw32/lib/libz.a:${PORTSDIR}/devel/mingw32-zlib
USES= perl5
USE_PERL5= build
MAKE_JOBS_UNSAFE= yes
CONFIGURE_PREFIX= ${PREFIX}/mingw32
OPENSSLDIR= ${CONFIGURE_PREFIX}/openssl
INSTALL_TARGET= install_sw
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|m4 -B 8192|m4|g' \
${WRKSRC}/crypto/des/Makefile
do-configure:
cd ${WRKSRC} && ${SETENV} PERL="${PERL}" CROSS_COMPILE="${PKGNAMEPREFIX}" \
./Configure mingw --prefix="${CONFIGURE_PREFIX}" --openssldir="${OPENSSLDIR}"
.include <bsd.port.mk>
|