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

Collapse All | Expand All

(-)security/cryptopp/Makefile (-3 / +15 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 32-49 Link Here
32
CXXFLAGS+=		-Wno-deprecated-declarations -fPIC
32
CXXFLAGS+=		-Wno-deprecated-declarations -fPIC
33
MAKEFILE=		GNUmakefile
33
MAKEFILE=		GNUmakefile
34
ALL_TARGET=		static shared
34
ALL_TARGET=		static shared
35
TEST_TARGET=		test
35
TEST_TARGET=		clean test
36
36
37
LIBVERSION=		${PORTVERSION:R:R}
37
LIBVERSION=		${PORTVERSION:R:R}
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
.if !make(test)
51
TOOLS_MAKE_ENV=		CRYPTOPP_DATA_DIR=${DATADIR}/
52
.endif
53
47
# Always compile with -DNDEBUG for release. Otherwise, sensitive
54
# Always compile with -DNDEBUG for release. Otherwise, sensitive
48
# information could be accessed if an assert triggers.
55
# information could be accessed if an assert triggers.
49
# See ${WRKSRC}/Readme.txt for more details.
56
# See ${WRKSRC}/Readme.txt for more details.
Lines 110-113 Link Here
110
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
117
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
111
	${INSTALL_DATA} ${WRKSRC}/Readme.txt ${STAGEDIR}${DOCSDIR}/README
118
	${INSTALL_DATA} ${WRKSRC}/Readme.txt ${STAGEDIR}${DOCSDIR}/README
112
119
120
do-install-TOOLS-on:
121
	@${MKDIR} ${STAGEDIR}${DATADIR}/TestData
122
	@${INSTALL_PROGRAM} ${WRKSRC}/cryptest.exe ${STAGEDIR}${PREFIX}/bin/cryptest
123
	@${INSTALL_DATA} ${WRKSRC}/TestData/usage.dat ${STAGEDIR}${DATADIR}/TestData
124
113
.include <bsd.port.post.mk>
125
.include <bsd.port.post.mk>

Return to bug 222930