mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
91e919d973
- Update security/mbedtls to 2.6.0. PR: 222484, 222485 Submitted by: takefu@airport.fm
38 lines
811 B
Makefile
38 lines
811 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= mbedtls
|
|
PORTVERSION= 2.6.0
|
|
DISTVERSIONSUFFIX= -apache
|
|
CATEGORIES= security devel
|
|
MASTER_SITES= https://tls.mbed.org/download/
|
|
|
|
MAINTAINER= tijl@FreeBSD.org
|
|
COMMENT= SSL/TLS and cryptography library
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/apache-2.0.txt
|
|
|
|
ALL_TARGET= no_test
|
|
TEST_TARGET= test
|
|
MAKE_ENV= SHARED=1
|
|
USES= gmake tar:tgz
|
|
USE_LDCONFIG= yes
|
|
|
|
WRKSRC= ${WRKDIR}/mbedtls-${PORTVERSION}
|
|
|
|
CONFLICTS_INSTALL= polarssl13-[0-9]*
|
|
|
|
post-patch:
|
|
@${RM} ${WRKSRC}/include/mbedtls/*.orig
|
|
@${REINPLACE_CMD} \
|
|
-e 's/PREFIX/NAMEPREFIX/' \
|
|
-e 's/$$(DESTDIR)/&$$(PREFIX)/' \
|
|
${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} 's/-fpic//' ${WRKSRC}/library/Makefile
|
|
|
|
post-install:
|
|
${FIND} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/lib -type f | \
|
|
${XARGS} ${STRIP_CMD}
|
|
|
|
.include <bsd.port.mk>
|