summaryrefslogtreecommitdiff
path: root/math/bc-gh
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2019-06-17 00:35:33 +0000
committergdt <gdt@pkgsrc.org>2019-06-17 00:35:33 +0000
commit439dc7b97d57ca2ea86f7380b246a182f0f8697a (patch)
treea8c86b0e76fb394c2eeb0edf54c9d59c3ae3b454 /math/bc-gh
parent582ebbb92d2aeba762a557ed818ded60648a2d71 (diff)
downloadpkgsrc-439dc7b97d57ca2ea86f7380b246a182f0f8697a.tar.gz
math/bc-gh: Import version 2.0.3
Implementation of POSIX bc with GNU extensions This bc is optimized for use by programmers. It includes several extensions beyond the GNU extensions for that purpose. Prepared in pkgsrc-wip by Gavin Howard.
Diffstat (limited to 'math/bc-gh')
-rw-r--r--math/bc-gh/DESCR4
-rw-r--r--math/bc-gh/Makefile24
-rw-r--r--math/bc-gh/PLIST50
-rw-r--r--math/bc-gh/distinfo6
4 files changed, 84 insertions, 0 deletions
diff --git a/math/bc-gh/DESCR b/math/bc-gh/DESCR
new file mode 100644
index 00000000000..f49017c8276
--- /dev/null
+++ b/math/bc-gh/DESCR
@@ -0,0 +1,4 @@
+Implementation of POSIX bc with GNU extensions
+
+This bc is optimized for use by programmers. It includes several
+extensions beyond the GNU extensions for that purpose.
diff --git a/math/bc-gh/Makefile b/math/bc-gh/Makefile
new file mode 100644
index 00000000000..3d6895908e3
--- /dev/null
+++ b/math/bc-gh/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2019/06/17 00:35:33 gdt Exp $
+
+VERSION= 2.0.3
+DISTNAME= bc-${VERSION}
+PKGNAME= bc-gh-${VERSION}
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_GITHUB:=gavinhoward/}
+GITHUB_PROJECT= bc
+GITHUB_RELEASE= ${VERSION}
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= yzena.tech@gmail.com
+HOMEPAGE= https://github.com/gavinhoward/bc
+COMMENT= Implementation of POSIX bc with GNU extensions
+LICENSE= 2-clause-bsd
+
+HAS_CONFIGURE= yes
+CONFIGURE_SCRIPT= configure.sh
+CONFIGURE_ARGS= -G
+CONFIGURE_ENV= EXECSUFFIX="-gh" MANDIR="${PREFIX}/man" NLSPATH="${PREFIX}/share/locale/%L/%N"
+
+TEST_TARGET= test
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/bc-gh/PLIST b/math/bc-gh/PLIST
new file mode 100644
index 00000000000..2df3946e363
--- /dev/null
+++ b/math/bc-gh/PLIST
@@ -0,0 +1,50 @@
+@comment $NetBSD: PLIST,v 1.1 2019/06/17 00:35:33 gdt Exp $
+bin/bc-gh
+bin/dc-gh
+man/man1/bc-gh.1
+man/man1/dc-gh.1
+share/locale/de_AT.ISO8859-1/bc-gh
+share/locale/de_AT.ISO8859-15/bc-gh
+share/locale/de_AT.UTF-8/bc-gh
+share/locale/de_CH.ISO8859-1/bc-gh
+share/locale/de_CH.ISO8859-15/bc-gh
+share/locale/de_CH.UTF-8/bc-gh
+share/locale/de_DE.ISO8859-1/bc-gh
+share/locale/de_DE.ISO8859-15/bc-gh
+share/locale/de_DE.UTF-8/bc-gh
+share/locale/en_AU.ISO8859-1/bc-gh
+share/locale/en_AU.ISO8859-15/bc-gh
+share/locale/en_AU.US-ASCII/bc-gh
+share/locale/en_AU.UTF-8/bc-gh
+share/locale/en_CA.ISO8859-1/bc-gh
+share/locale/en_CA.ISO8859-15/bc-gh
+share/locale/en_CA.US-ASCII/bc-gh
+share/locale/en_CA.UTF-8/bc-gh
+share/locale/en_GB.ISO8859-1/bc-gh
+share/locale/en_GB.ISO8859-15/bc-gh
+share/locale/en_GB.US-ASCII/bc-gh
+share/locale/en_GB.UTF-8/bc-gh
+share/locale/en_IE.ISO8859-1/bc-gh
+share/locale/en_IE.ISO8859-15/bc-gh
+share/locale/en_IE.UTF-8/bc-gh
+share/locale/en_NZ.ISO8859-1/bc-gh
+share/locale/en_NZ.ISO8859-15/bc-gh
+share/locale/en_NZ.US-ASCII/bc-gh
+share/locale/en_NZ.UTF-8/bc-gh
+share/locale/en_US.ISO8859-1/bc-gh
+share/locale/en_US.ISO8859-15/bc-gh
+share/locale/en_US.US-ASCII/bc-gh
+share/locale/en_US.UTF-8/bc-gh
+share/locale/en_US/bc-gh
+share/locale/fr_BE.ISO8859-1/bc-gh
+share/locale/fr_BE.ISO8859-15/bc-gh
+share/locale/fr_BE.UTF-8/bc-gh
+share/locale/fr_CA.ISO8859-1/bc-gh
+share/locale/fr_CA.ISO8859-15/bc-gh
+share/locale/fr_CA.UTF-8/bc-gh
+share/locale/fr_CH.ISO8859-1/bc-gh
+share/locale/fr_CH.ISO8859-15/bc-gh
+share/locale/fr_CH.UTF-8/bc-gh
+share/locale/fr_FR.ISO8859-1/bc-gh
+share/locale/fr_FR.ISO8859-15/bc-gh
+share/locale/fr_FR.UTF-8/bc-gh
diff --git a/math/bc-gh/distinfo b/math/bc-gh/distinfo
new file mode 100644
index 00000000000..ffc31dad437
--- /dev/null
+++ b/math/bc-gh/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/06/17 00:35:33 gdt Exp $
+
+SHA1 (bc-2.0.3.tar.xz) = e4f162f7d87b6c09c1fe2ff0598397cdd9c62261
+RMD160 (bc-2.0.3.tar.xz) = 889d192320f6a225350c4e5de2e99472d4cf27e5
+SHA512 (bc-2.0.3.tar.xz) = 1eabc44a33c08e1cc20c7112843e18544860dc8621cf655c2453858d64b720cada4835ab6142110f296c4d6ad82e77725e603fd11b84b61b073efccc9f6a1c45
+Size (bc-2.0.3.tar.xz) = 162360 bytes