mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-15 04:51:19 +02:00
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
# $FreeBSD: head/devel/mingw32-openssl/Makefile 464084 2018-03-10 17:46:04Z gerald $
|
|
|
|
PORTNAME= openssl
|
|
PORTVERSION= 1.0.2d
|
|
CATEGORIES= devel security
|
|
MASTER_SITES= http://www.openssl.org/source/ \
|
|
ftp://ftp.cert.dfn.de/pub/tools/net/openssl/source/
|
|
PKGNAMEPREFIX= mingw32-
|
|
DIST_SUBDIR= ${DISTNAME}
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
COMMENT= The OpenSSL library cross-compiled for MinGW32
|
|
|
|
TARGET= mingw32
|
|
|
|
BUILD_DEPENDS+= ${PKGNAMEPREFIX}gcc:devel/${TARGET}-gcc
|
|
BUILD_DEPENDS+= ${LOCALBASE}/mingw32/include/stdlib.h:devel/${TARGET}-bin-msvcrt
|
|
BUILD_DEPENDS+= ${LOCALBASE}/mingw32/lib/libz.a:devel/${TARGET}-zlib
|
|
|
|
USES= perl5 shebangfix
|
|
SHEBANG_FILES= apps/tsget
|
|
USE_PERL5= build
|
|
MAKE_JOBS_UNSAFE= yes
|
|
CONFIGURE_PREFIX= ${PREFIX}/mingw32
|
|
OPENSSLDIR= ${CONFIGURE_PREFIX}/openssl
|
|
INSTALL_TARGET= install_sw
|
|
|
|
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}" --install_prefix=${STAGEDIR} \
|
|
--openssldir="${OPENSSLDIR}"
|
|
|
|
.include <bsd.port.mk>
|