# $FreeBSD$ PORTNAME= mbedtls PORTVERSION= 2.2.1 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: @${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