freebsd-ports/security/go.crypto/Makefile

43 lines
1.1 KiB
Makefile

# New ports collection makefile for: go.crypto
# Date created: 2012-05-03
# Whom: Julien Laffaye <jlaffaye@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= go.crypto
PORTVERSION= 20120503
CATEGORIES= security devel
MASTER_SITES= http://jlaffaye.net/ LOCAL/jlaffaye
MAINTAINER= jlaffaye@FreeBSD.org
COMMENT= Additional cryptography packages for Go
GO_PKGNAME= code.google.com/p/go.crypto
GO_TARGET= ${GO_PKGNAME}/bcrypt \
${GO_PKGNAME}/blowfish \
${GO_PKGNAME}/cast5 \
${GO_PKGNAME}/curve25519 \
${GO_PKGNAME}/md4 \
${GO_PKGNAME}/ocsp \
${GO_PKGNAME}/openpgp \
${GO_PKGNAME}/pbkdf2 \
${GO_PKGNAME}/ripemd160 \
${GO_PKGNAME}/ssh \
${GO_PKGNAME}/twofish \
${GO_PKGNAME}/xtea
do-install:
${MKDIR} ${GO_LOCAL_LIBDIR}/${GO_PKGNAME}
.for t in ${GO_TARGET}
${INSTALL_DATA} ${GO_WRKDIR_PKG}/${t}.a \
${GO_LOCAL_LIBDIR}/${GO_PKGNAME}
${MKDIR} ${GO_LOCAL_SRCDIR}/${t}
(cd ${GO_WRKDIR_SRC}/${t}/ && ${COPYTREE_SHARE} \* \
${GO_LOCAL_SRCDIR}/${t})
.endfor
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/lang/go/files/bsd.go.mk"
.include <bsd.port.post.mk>