Index: Makefile =================================================================== --- Makefile (revision 451735) +++ Makefile (working copy) @@ -7,7 +7,7 @@ PORTNAME= cryptopp PORTVERSION= 5.6.5 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= security MASTER_SITES= http://www.cryptopp.com/ DISTNAME= cryptopp${PORTVERSION:S/.//g} @@ -38,12 +38,16 @@ PLIST_SUB+= LIBVERSION=${LIBVERSION} \ PORTVERSION=${PORTVERSION} -OPTIONS_DEFINE= DEBUG DOCS FULL_DEBUG THREADS +OPTIONS_DEFINE= DEBUG DOCS FULL_DEBUG THREADS TOOLS OPTIONS_DEFINE_amd64= SIMD OPTIONS_DEFINE_i386= SIMD OPTIONS_DEFAULT= THREADS OPTIONS_SUB= yes +TOOLS_DESC= Build the tools to encrypt or decrypt +TOOLS_PLIST_FILES= bin/cryptest +TOOLS_ALL_TARGET= cryptest.exe + # Always compile with -DNDEBUG for release. Otherwise, sensitive # information could be accessed if an assert triggers. # See ${WRKSRC}/Readme.txt for more details. @@ -110,4 +114,7 @@ @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Readme.txt ${STAGEDIR}${DOCSDIR}/README +do-install-TOOLS-on: + @${INSTALL_PROGRAM} ${WRKSRC}/cryptest.exe ${STAGEDIR}${PREFIX}/bin/cryptest + .include