View | Details | Raw Unified | Return to bug 175820
Collapse All | Expand All

(-)./Makefile (-6 / +15 lines)
Lines 1-12 Link Here
1
# New ports collection makefile for:	nacl
1
# Created by: David Thiel <lx@FreeBSD.org>
2
# Date created:		2011-10-03
3
# Whom:			David Thiel <lx@FreeBSD.org>
4
#
5
# $FreeBSD: ports/security/nacl/Makefile,v 1.8 2012/11/17 06:01:08 svnexp Exp $
2
# $FreeBSD: ports/security/nacl/Makefile,v 1.8 2012/11/17 06:01:08 svnexp Exp $
6
#
3
#
7
4
8
PORTNAME=	nacl
5
PORTNAME=	nacl
9
PORTVERSION=	20110221
6
PORTVERSION=	20110221
7
PORTREVISION=	1
10
CATEGORIES=	security
8
CATEGORIES=	security
11
MASTER_SITES=	http://hyperelliptic.org/nacl/
9
MASTER_SITES=	http://hyperelliptic.org/nacl/
12
10
Lines 14-21 Link Here
14
COMMENT=	High speed cryptography library
12
COMMENT=	High speed cryptography library
15
13
16
ALL_TARGET=	do
14
ALL_TARGET=	do
17
USE_BZIP2=	YES
15
USE_BZIP2=	yes
18
MAKE_JOBS_UNSAFE=	YES
16
USE_BINUTILS=	yes
17
MAKE_JOBS_UNSAFE=	yes
19
18
20
.include <bsd.port.pre.mk>
19
.include <bsd.port.pre.mk>
21
20
Lines 25-33 Link Here
25
24
26
HOSTNAME_CMD?=	/bin/hostname
25
HOSTNAME_CMD?=	/bin/hostname
27
26
27
post-patch:
28
	@${REINPLACE_CMD} -i -e "s/$$/ -fPIC/" ${WRKSRC}/okcompilers/c
29
30
pre-build:
31
	${RM} -rf ${WRKSRC}/crypto_onetimeauth/poly1305/amd64
32
28
do-build:
33
do-build:
29
	cd ${WRKSRC} && ./do
34
	cd ${WRKSRC} && ./do
30
35
36
post-build:
37
	${AR} -r ${WRKSRC}/build/`${HOSTNAME_CMD}`/lib/${ARCH}/libnacl.a \
38
		${WRKSRC}/build/`${HOSTNAME_CMD}`/lib/${ARCH}/randombytes.o
39
31
do-install:
40
do-install:
32
	@${INSTALL_PROGRAM} ${WRKSRC}/build/`${HOSTNAME_CMD} -s`/bin/nacl-sha256 \
41
	@${INSTALL_PROGRAM} ${WRKSRC}/build/`${HOSTNAME_CMD} -s`/bin/nacl-sha256 \
33
		${PREFIX}/bin
42
		${PREFIX}/bin

Return to bug 175820