View | Details | Raw Unified | Return to bug 222930 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-2 / +14 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=		cryptopp
8
PORTNAME=		cryptopp
9
PORTVERSION=		5.6.5
9
PORTVERSION=		5.6.5
10
PORTREVISION=	3
10
PORTREVISION=	4
11
CATEGORIES=		security
11
CATEGORIES=		security
12
MASTER_SITES=		http://www.cryptopp.com/
12
MASTER_SITES=		http://www.cryptopp.com/
13
DISTNAME=		cryptopp${PORTVERSION:S/.//g}
13
DISTNAME=		cryptopp${PORTVERSION:S/.//g}
Lines 38-49 Link Here
38
PLIST_SUB+=		LIBVERSION=${LIBVERSION} \
38
PLIST_SUB+=		LIBVERSION=${LIBVERSION} \
39
			PORTVERSION=${PORTVERSION}
39
			PORTVERSION=${PORTVERSION}
40
40
41
OPTIONS_DEFINE=		DEBUG DOCS FULL_DEBUG THREADS
41
OPTIONS_DEFINE=		DEBUG DOCS FULL_DEBUG THREADS TOOLS
42
OPTIONS_DEFINE_amd64=	SIMD
42
OPTIONS_DEFINE_amd64=	SIMD
43
OPTIONS_DEFINE_i386=	SIMD
43
OPTIONS_DEFINE_i386=	SIMD
44
OPTIONS_DEFAULT=	THREADS
44
OPTIONS_DEFAULT=	THREADS
45
OPTIONS_SUB=		yes
45
OPTIONS_SUB=		yes
46
46
47
TOOLS_DESC=		Build the tools to encrypt or decrypt
48
TOOLS_PLIST_FILES=	bin/cryptest ${DATADIR}/TestData/usage.dat
49
TOOLS_ALL_TARGET=	cryptest.exe
50
TOOLS_MAKE_ENV=		CRYPTOPP_DATA_DIR=${DATADIR}/
51
47
# Always compile with -DNDEBUG for release. Otherwise, sensitive
52
# Always compile with -DNDEBUG for release. Otherwise, sensitive
48
# information could be accessed if an assert triggers.
53
# information could be accessed if an assert triggers.
49
# See ${WRKSRC}/Readme.txt for more details.
54
# See ${WRKSRC}/Readme.txt for more details.
Lines 110-113 Link Here
110
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
115
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
111
	${INSTALL_DATA} ${WRKSRC}/Readme.txt ${STAGEDIR}${DOCSDIR}/README
116
	${INSTALL_DATA} ${WRKSRC}/Readme.txt ${STAGEDIR}${DOCSDIR}/README
112
117
118
do-install-TOOLS-on:
119
	@${MKDIR} ${STAGEDIR}${DATADIR}/TestData
120
	@${INSTALL_PROGRAM} ${WRKSRC}/cryptest.exe ${STAGEDIR}${PREFIX}/bin/cryptest
121
	(for i in `${FIND} ${WRKSRC}/TestData -name '*.dat'` ; do \
122
		${INSTALL_DATA} $$i ${STAGEDIR}${DATADIR}/TestData ; \
123
	done)
124
113
.include <bsd.port.post.mk>
125
.include <bsd.port.post.mk>

Return to bug 222930