head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	2012.11.17.06.01.04;	author svnexp;	state Exp;
branches;
next	1.2;

1.2
date	2012.10.03.07.46.54;	author jlaffaye;	state Exp;
branches;
next	1.1;

1.1
date	2012.05.14.22.07.50;	author jlaffaye;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Switch exporter over
@
text
@# $FreeBSD: head/security/go.crypto/Makefile 305190 2012-10-03 07:46:54Z jlaffaye $

PORTNAME=	go.crypto
PORTVERSION=	20121001
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}/bn256		\
		${GO_PKGNAME}/cast5		\
		${GO_PKGNAME}/curve25519	\
		${GO_PKGNAME}/md4		\
		${GO_PKGNAME}/nacl/box		\
		${GO_PKGNAME}/nacl/secretbox	\
		${GO_PKGNAME}/ocsp		\
		${GO_PKGNAME}/openpgp		\
		${GO_PKGNAME}/otr		\
		${GO_PKGNAME}/pbkdf2		\
		${GO_PKGNAME}/poly1305		\
		${GO_PKGNAME}/ripemd160		\
		${GO_PKGNAME}/salsa20		\
		${GO_PKGNAME}/scrypt		\
		${GO_PKGNAME}/ssh		\
		${GO_PKGNAME}/twofish		\
		${GO_PKGNAME}/xtea		\
		${GO_PKGNAME}/xts

do-install:
	${MKDIR} ${GO_LOCAL_LIBDIR}/${GO_PKGNAME}
	(cd ${GO_WRKDIR_PKG}/ && ${COPYTREE_SHARE} \* \
		${GO_LOCAL_LIBDIR})
.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>
@


1.2
log
@SVN rev 305190 on 2012-10-03 07:46:54Z by jlaffaye

- Update to 20121001 snapshot
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.1
log
@- Add go.crypto, a collection of Go packages related to cyptography.
@
text
@a0 4
# New ports collection makefile for:	go.crypto
# Date created:		2012-05-03
# Whom:			Julien Laffaye <jlaffaye@@FreeBSD.org>
#
a1 1
#
d4 1
a4 1
PORTVERSION=	20120503
d14 1
d18 2
d22 1
d24 1
d26 2
d30 2
a31 1
		${GO_PKGNAME}/xtea
d35 2
d38 2
a39 2
	${INSTALL_DATA} ${GO_WRKDIR_PKG}/${t}.a \
		${GO_LOCAL_LIBDIR}/${GO_PKGNAME}
@

