diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-23 21:01:52 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-23 21:01:52 +0000 |
commit | 16804915d9759807719673ea93121edbd3e62e50 (patch) | |
tree | 7758418122195f753397a0147d0f5762f0de8ace /security/polarssl/Makefile | |
parent | 656511a3efb1fa43a8894195a452a9ac36a748fe (diff) | |
download | ports-16804915d9759807719673ea93121edbd3e62e50.tar.gz ports-16804915d9759807719673ea93121edbd3e62e50.zip |
Notes
Diffstat (limited to 'security/polarssl/Makefile')
-rw-r--r-- | security/polarssl/Makefile | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/security/polarssl/Makefile b/security/polarssl/Makefile index b7a111fb756a..da062668f70e 100644 --- a/security/polarssl/Makefile +++ b/security/polarssl/Makefile @@ -6,7 +6,7 @@ # PORTNAME= polarssl -PORTVERSION= 0.12.1 +PORTVERSION= 0.13.0 DISTVERSIONSUFFIX= -gpl CATEGORIES= security devel MASTER_SITES= http://polarssl.org/code/download/ @@ -15,9 +15,26 @@ EXTRACT_SUFX= .tgz MAINTAINER= dinoex@FreeBSD.org COMMENT= Open Source embedded SSL/TLS cryptographic library +USE_CMAKE= yes +USE_PERL5_BUILD= yes + WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +CMAKE_BUILD_TYPE= release PORTDOCS= ChangeLog LICENSE README +BINFILES= aescrypt2 benchmark dh_client dh_genprime dh_server hello \ + md5sum mpi_demo rsa_genkey rsa_sign rsa_verify selftest \ + sha1sum sha2sum ssl_cert_test ssl_client1 ssl_client2 \ + ssl_server ssl_test + +# cmake install is broken, so we do it by hand +do-install: + @${TAR} -C ${WRKSRC}/include -cf - polarssl | ${TAR} -C ${PREFIX}/include -xf - + ${INSTALL_DATA} ${WRKSRC}/library/libpolarssl.a ${PREFIX}/lib/ +.for i in ${BINFILES} + ${INSTALL_DATA} ${WRKSRC}/programs/*/${i} ${PREFIX}/bin/polarssl_${i} +.endfor + post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} |