Bug 179621 - New port: devel/libdouble-conversion, BSD Licensed C++ library which provides binary-decimal and decimal-binary routines
Summary: New port: devel/libdouble-conversion, BSD Licensed C++ library which provides...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-16 18:10 UTC by Waitman Gobble
Modified: 2013-07-18 09:30 UTC (History)
0 users

See Also:


Attachments
libdouble-conversion.shar (2.59 KB, text/plain)
2013-06-16 18:10 UTC, Waitman Gobble
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Waitman Gobble 2013-06-16 18:10:02 UTC
This is a port of libdouble-conversion, a BSD Licensed C++ library which provides binary-decimal and decimal-binary routines for IEEE doubles. The code was originally ripped out of the V8 JavaScript engine. 

To compile code using the library, try:
clang++ -std=c++11 -stdlib=libc++ -lc++ -I/usr/local/include/double-conversion -L/usr/local/lib -ldouble-conversion test.cc
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2013-06-22 16:20:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2013-07-18 09:23:51 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-07-18 09:24:22 UTC
Author: miwi
Date: Thu Jul 18 08:24:08 2013
New Revision: 323208
URL: http://svnweb.freebsd.org/changeset/ports/323208

Log:
  This project (double-conversion) provides binary-decimal and decimal-binary
  routines for IEEE doubles.
  
  The library consists of efficient conversion routines that have been extracted
  from the V8 JavaScript engine. The code has been refactored and improved so that
  it can be used more easily in other projects.
  
  WWW: http://code.google.com/p/double-conversion
  
  PR:		ports/179621
  Submitted by:	Waitman Gobble <waitman@waitman.net>

Added:
  head/devel/libdouble-conversion/
  head/devel/libdouble-conversion/Makefile   (contents, props changed)
  head/devel/libdouble-conversion/distinfo   (contents, props changed)
  head/devel/libdouble-conversion/pkg-descr   (contents, props changed)
  head/devel/libdouble-conversion/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Jul 18 08:20:20 2013	(r323207)
+++ head/devel/Makefile	Thu Jul 18 08:24:08 2013	(r323208)
@@ -974,6 +974,7 @@
     SUBDIR += libdlna
     SUBDIR += libdnsres
     SUBDIR += libdombey
+    SUBDIR += libdouble-conversion
     SUBDIR += libds
     SUBDIR += libdsp
     SUBDIR += libdwarf

Added: head/devel/libdouble-conversion/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libdouble-conversion/Makefile	Thu Jul 18 08:24:08 2013	(r323208)
@@ -0,0 +1,24 @@
+# Created by: Waitman Gobble <waitman@waitman.net>
+# $FreeBSD$
+
+PORTNAME=	libdouble-conversion
+PORTVERSION=	1.1.1
+CATEGORIES=	devel
+MASTER_SITES=	GH
+
+MAINTAINER=	waitman@waitman.net
+COMMENT=	Binary-decimal and decimal-binary routines for IEEE doubles
+
+LICENSE=	BSD
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USE_AUTOTOOLS=	libtool
+GNU_CONFIGURE=	yes
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	waitman
+GH_TAGNAME=	${GH_COMMIT}
+GH_COMMIT=	e9b9e5a
+
+.include <bsd.port.mk>

Added: head/devel/libdouble-conversion/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libdouble-conversion/distinfo	Thu Jul 18 08:24:08 2013	(r323208)
@@ -0,0 +1,2 @@
+SHA256 (libdouble-conversion-1.1.1.tar.gz) = 74c98db09e68ecedcaa4853f887dbc3ad8c205ebeabd8daba37f1cce83f91fc8
+SIZE (libdouble-conversion-1.1.1.tar.gz) = 441248

Added: head/devel/libdouble-conversion/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libdouble-conversion/pkg-descr	Thu Jul 18 08:24:08 2013	(r323208)
@@ -0,0 +1,8 @@
+This project (double-conversion) provides binary-decimal and decimal-binary
+routines for IEEE doubles.
+
+The library consists of efficient conversion routines that have been extracted
+from the V8 JavaScript engine. The code has been refactored and improved so that
+it can be used more easily in other projects.
+
+WWW: http://code.google.com/p/double-conversion

Added: head/devel/libdouble-conversion/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libdouble-conversion/pkg-plist	Thu Jul 18 08:24:08 2013	(r323208)
@@ -0,0 +1,15 @@
+lib/libdouble-conversion.so.0
+lib/libdouble-conversion.so
+lib/libdouble-conversion.la
+lib/libdouble-conversion.a
+include/double-conversion/bignum-dtoa.h
+include/double-conversion/double-conversion.h
+include/double-conversion/strtod.h
+include/double-conversion/bignum.h
+include/double-conversion/fast-dtoa.h
+include/double-conversion/utils.h
+include/double-conversion/cached-powers.h
+include/double-conversion/fixed-dtoa.h
+include/double-conversion/diy-fp.h
+include/double-conversion/ieee.h
+@dirrm include/double-conversion
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"