Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2014 21:37:23 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338583 - in head/math: . bsdnt bsdnt/files
Message-ID:  <201401032137.s03LbNj0057199@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Fri Jan  3 21:37:23 2014
New Revision: 338583
URL: http://svnweb.freebsd.org/changeset/ports/338583

Log:
  A BSD licensed Bignum library
  
  WWW: https://github.com/wbhart/bsdnt/

Added:
  head/math/bsdnt/
  head/math/bsdnt/Makefile   (contents, props changed)
  head/math/bsdnt/distinfo   (contents, props changed)
  head/math/bsdnt/files/
  head/math/bsdnt/files/patch-nn.h   (contents, props changed)
  head/math/bsdnt/files/patch-rand__internal_rand.h   (contents, props changed)
  head/math/bsdnt/pkg-descr   (contents, props changed)
  head/math/bsdnt/pkg-plist   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Fri Jan  3 20:56:59 2014	(r338582)
+++ head/math/Makefile	Fri Jan  3 21:37:23 2014	(r338583)
@@ -71,6 +71,7 @@
     SUBDIR += blas
     SUBDIR += blitz++
     SUBDIR += blocksolve95
+    SUBDIR += bsdnt
     SUBDIR += calc
     SUBDIR += calcoo
     SUBDIR += calctool

Added: head/math/bsdnt/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/bsdnt/Makefile	Fri Jan  3 21:37:23 2014	(r338583)
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME=	bsdnt
+PORTVERSION=	1.0
+CATEGORIES=	math
+MASTER_SITES=	GH
+
+MAINTAINER=	swills@FreeBSD.org
+COMMENT=	Bignum Library
+
+LICENSE=	BSD3CLAUSE
+
+BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash
+
+USES=		gmake
+USE_GITHUB=	yes
+GH_ACCOUNT=	wbhart
+GH_PROJECT=	${PORTNAME}
+GH_TAGNAME=	72e20a7
+
+USE_LDCONFIG=	yes
+
+WRKSRC=		${WRKDIR}/wbhart-${PORTNAME}-${GH_TAGNAME}
+
+pre-configure:
+	@${REINPLACE_CMD} -e "s,#!/bin/bash,#!${LOCALBASE}/bin/bash," ${WRKSRC}/configure
+
+do-configure:
+	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./configure --prefix=${STAGEDIR}${PREFIX} CC=cc CXX=c++ AS=cc
+
+.include <bsd.port.mk>

Added: head/math/bsdnt/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/bsdnt/distinfo	Fri Jan  3 21:37:23 2014	(r338583)
@@ -0,0 +1,2 @@
+SHA256 (bsdnt-1.0.tar.gz) = fe7a6b9692dd5d9a51abf8be352f386af3b8ac650dd7ee210e42d9e6009d701a
+SIZE (bsdnt-1.0.tar.gz) = 58899

Added: head/math/bsdnt/files/patch-nn.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/bsdnt/files/patch-nn.h	Fri Jan  3 21:37:23 2014	(r338583)
@@ -0,0 +1,10 @@
+--- nn.h.orig	2014-01-03 20:28:26.000000000 +0000
++++ nn.h	2014-01-03 20:29:08.000000000 +0000
+@@ -31,7 +31,6 @@
+ #include <stdint.h>
+ #include <stdlib.h>
+ #include <limits.h>
+-#include <malloc.h>
+ 
+ #include "helper.h"
+ #include "rand.h"

Added: head/math/bsdnt/files/patch-rand__internal_rand.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/bsdnt/files/patch-rand__internal_rand.h	Fri Jan  3 21:37:23 2014	(r338583)
@@ -0,0 +1,10 @@
+--- rand/internal_rand.h.orig	2014-01-03 20:32:30.000000000 +0000
++++ rand/internal_rand.h	2014-01-03 20:32:40.000000000 +0000
+@@ -30,7 +30,6 @@
+ 
+ #include <stdint.h>
+ #include <stdlib.h>
+-#include <malloc.h>
+ 
+ #include "helper.h"
+ #include "rand.h"

Added: head/math/bsdnt/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/bsdnt/pkg-descr	Fri Jan  3 21:37:23 2014	(r338583)
@@ -0,0 +1,3 @@
+A BSD licensed Bignum library
+
+WWW: https://github.com/wbhart/bsdnt/

Added: head/math/bsdnt/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/bsdnt/pkg-plist	Fri Jan  3 21:37:23 2014	(r338583)
@@ -0,0 +1,22 @@
+lib/libbsdnt.a
+lib/libbsdnt.so
+include/bsdnt/arch/inline/nn_linear_x86_64_core2.h
+include/bsdnt/arch/inline/nn_linear_x86_64_k8.h
+include/bsdnt/config.h
+include/bsdnt/helper.h
+include/bsdnt/helper_arch.h
+include/bsdnt/nn.h
+include/bsdnt/nn_arch.h
+include/bsdnt/nn_linear_arch.h
+include/bsdnt/nn_quadratic_arch.h
+include/bsdnt/nn_subquadratic_arch.h
+include/bsdnt/rand.h
+include/bsdnt/sha1.h
+include/bsdnt/test.h
+include/bsdnt/tuning.h
+include/bsdnt/types_arch.h
+include/bsdnt/zz.h
+include/bsdnt/zz0.h
+@dirrm include/bsdnt/arch/inline
+@dirrm include/bsdnt/arch
+@dirrm include/bsdnt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401032137.s03LbNj0057199>