security/bearssl: Packaging improvements

Reported by:	mat
This commit is contained in:
Mark Felder 2016-11-04 13:30:24 +00:00
parent 5e6bdef653
commit 4f0a9b9f11
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=425321

View File

@ -3,6 +3,7 @@
PORTNAME= bearssl
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= security devel
MASTER_SITES= https://bearssl.org/
@ -18,7 +19,7 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/brssl ${STAGEDIR}${LOCALBASE}/bin/
(cd ${WRKSRC}/inc && ${COPYTREE_SHARE} \* ${STAGEDIR}${LOCALBASE}/include/)
${INSTALL_LIB} ${WRKSRC}/libbearssl.a ${STAGEDIR}${LOCALBASE}/lib/
(cd ${WRKSRC}/inc && ${COPYTREE_SHARE} . ${STAGEDIR}${LOCALBASE}/include/)
${INSTALL_DATA} ${WRKSRC}/libbearssl.a ${STAGEDIR}${LOCALBASE}/lib/
.include <bsd.port.mk>