Sat Apr 1 17:32:47 2017 UTC ()
Install the brssl utility program as an executable, not data


(agc)
diff -r1.1 -r1.2 pkgsrc/security/bearssl/Makefile

cvs diff -r1.1 -r1.2 pkgsrc/security/bearssl/Makefile (expand / switch to unified diff)

--- pkgsrc/security/bearssl/Makefile 2017/04/01 17:01:51 1.1
+++ pkgsrc/security/bearssl/Makefile 2017/04/01 17:32:47 1.2
@@ -1,28 +1,28 @@ @@ -1,28 +1,28 @@
1# $NetBSD: Makefile,v 1.1 2017/04/01 17:01:51 wiz Exp $ 1# $NetBSD: Makefile,v 1.2 2017/04/01 17:32:47 agc Exp $
2 2
3DISTNAME= bearssl-0.3 3DISTNAME= bearssl-0.3
4CATEGORIES= security 4CATEGORIES= security
5MASTER_SITES= https://bearssl.org/ 5MASTER_SITES= https://bearssl.org/
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= https://bearssl.org/ 8HOMEPAGE= https://bearssl.org/
9COMMENT= Implementation of the SSL/TLS protocol (RFC 5246) 9COMMENT= Implementation of the SSL/TLS protocol (RFC 5246)
10LICENSE= mit 10LICENSE= mit
11 11
12INSTALLATION_DIRS= bin include lib 12INSTALLATION_DIRS= bin include lib
13 13
14do-install: 14do-install:
15 cd ${WRKSRC}/build && \ 15 cd ${WRKSRC}/build && \
16 ${INSTALL_DATA} brssl ${DESTDIR}${PREFIX}/bin 16 ${INSTALL_PROGRAM} brssl ${DESTDIR}${PREFIX}/bin
17 cd ${WRKSRC}/inc && \ 17 cd ${WRKSRC}/inc && \
18 ${INSTALL_DATA} *.h ${DESTDIR}${PREFIX}/include 18 ${INSTALL_DATA} *.h ${DESTDIR}${PREFIX}/include
19 cd ${WRKSRC}/build && \ 19 cd ${WRKSRC}/build && \
20 ${INSTALL_LIB} libbearssl.* ${DESTDIR}${PREFIX}/lib 20 ${INSTALL_LIB} libbearssl.* ${DESTDIR}${PREFIX}/lib
21 21
22do-test: 22do-test:
23 cd ${WRKSRC} && \ 23 cd ${WRKSRC} && \
24 ./build/testcrypto all && \ 24 ./build/testcrypto all && \
25 ./build/testspeed all && \ 25 ./build/testspeed all && \
26 ./build/testx509 26 ./build/testx509
27 27
28.include "../../mk/bsd.pkg.mk" 28.include "../../mk/bsd.pkg.mk"