# $NetBSD: Makefile,v 1.7 2007/02/22 19:27:07 wiz Exp $
#
DISTNAME= cryptopp521
PKGNAME= cryptopp-5.2.1
PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.eskimo.com/~weidai/ \
${MASTER_SITE_SOURCEFORGE:=cryptopp/} \
http://gd.tuwien.ac.at/privacy/crypto/libs/cryptlib/ \
http://www.mirrors.wiretapped.net/security/cryptography/libraries/cryptolib/
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.cryptopp.com/
COMMENT= Free C++ class library of Cryptographic Primitives
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_TOOLS+= gmake
MAKE_FILE= GNUmakefile
WRKSRC= ${WRKDIR}
USE_LANGUAGES= c++
INSTALLATION_DIRS= bin lib
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cryptest ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/libcryptopp.a ${PREFIX}/lib
${INSTALL_DATA_DIR} ${PREFIX}/include/cryptopp ${PREFIX}/share/doc/cryptopp
${INSTALL_DATA} ${WRKSRC}/Readme.txt ${PREFIX}/share/doc/cryptopp/README
${INSTALL_DATA} ${WRKSRC}/License.txt ${PREFIX}/share/doc/cryptopp/License
for f in ${WRKSRC}/*.h; do \
${INSTALL_DATA} $$f ${PREFIX}/include/cryptopp; \
done
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>