summaryrefslogtreecommitdiff
path: root/math/hs-semigroups
diff options
context:
space:
mode:
authorszptvlfn <szptvlfn@pkgsrc.org>2014-09-02 20:58:16 +0000
committerszptvlfn <szptvlfn@pkgsrc.org>2014-09-02 20:58:16 +0000
commit5677b5c0761642c33942807ef167d9e81fc52d3a (patch)
treeadd7464451abe8d0fdf62fb8ec35f5b74cab2d84 /math/hs-semigroups
parent5b187a4f4ce7e8e6033c4e26306fe21eaf5165a4 (diff)
downloadpkgsrc-5677b5c0761642c33942807ef167d9e81fc52d3a.tar.gz
Import semigroups-0.15.2 as math/hs-semigroups,
packaged for wip by pho. In mathematics, a semigroup is an algebraic structure consisting of a set together with an associative binary operation. A semigroup generalizes a monoid in that there might not exist an identity element. It also (originally) generalized a group (a monoid with all inverses) to a type where every element did not have to have an inverse, thus the name semigroup.
Diffstat (limited to 'math/hs-semigroups')
-rw-r--r--math/hs-semigroups/DESCR6
-rw-r--r--math/hs-semigroups/Makefile15
-rw-r--r--math/hs-semigroups/PLIST22
-rw-r--r--math/hs-semigroups/buildlink3.mk18
-rw-r--r--math/hs-semigroups/distinfo5
5 files changed, 66 insertions, 0 deletions
diff --git a/math/hs-semigroups/DESCR b/math/hs-semigroups/DESCR
new file mode 100644
index 00000000000..12ec652b406
--- /dev/null
+++ b/math/hs-semigroups/DESCR
@@ -0,0 +1,6 @@
+In mathematics, a semigroup is an algebraic structure consisting of a set
+together with an associative binary operation. A semigroup generalizes a
+monoid in that there might not exist an identity element. It also
+(originally) generalized a group (a monoid with all inverses) to a type
+where every element did not have to have an inverse, thus the name
+semigroup.
diff --git a/math/hs-semigroups/Makefile b/math/hs-semigroups/Makefile
new file mode 100644
index 00000000000..6951b2df96a
--- /dev/null
+++ b/math/hs-semigroups/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2014/09/02 20:58:16 szptvlfn Exp $
+
+DISTNAME= semigroups-0.15.2
+CATEGORIES= math
+
+MAINTAINER= pho@cielonegro.org
+COMMENT= Anything that associates
+LICENSE= 2-clause-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../math/hs-nats/buildlink3.mk"
+.include "../../devel/hs-text/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/hs-semigroups/PLIST b/math/hs-semigroups/PLIST
new file mode 100644
index 00000000000..3843e740b0b
--- /dev/null
+++ b/math/hs-semigroups/PLIST
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1 2014/09/02 20:58:16 szptvlfn Exp $
+lib/semigroups-${PKGVERSION}/${HASKELL_VERSION}/Data/List/NonEmpty.hi
+lib/semigroups-${PKGVERSION}/${HASKELL_VERSION}/Data/Semigroup.hi
+lib/semigroups-${PKGVERSION}/${HASKELL_VERSION}/HSsemigroups-${PKGVERSION}.o
+lib/semigroups-${PKGVERSION}/${HASKELL_VERSION}/libHSsemigroups-${PKGVERSION}.a
+lib/semigroups-${PKGVERSION}/${HASKELL_VERSION}/package-description
+share/doc/semigroups-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/Data-List-NonEmpty.html
+${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/Data-Semigroup.html
+${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/frames.html
+${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/haddock-util.js
+${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/hslogo-16.png
+${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/index-frames.html
+${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/mini_Data-List-NonEmpty.html
+${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/mini_Data-Semigroup.html
+${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/minus.gif
+${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/ocean.css
+${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/plus.gif
+${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/semigroups.haddock
+${PLIST.doc}share/doc/semigroups-${PKGVERSION}/html/synopsis.png
diff --git a/math/hs-semigroups/buildlink3.mk b/math/hs-semigroups/buildlink3.mk
new file mode 100644
index 00000000000..557f42710b4
--- /dev/null
+++ b/math/hs-semigroups/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/09/02 20:58:16 szptvlfn Exp $
+
+BUILDLINK_TREE+= hs-semigroups
+
+.if !defined(HS_SEMIGROUPS_BUILDLINK3_MK)
+HS_SEMIGROUPS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-semigroups+= hs-semigroups>=0.15.2
+BUILDLINK_ABI_DEPENDS.hs-semigroups+= hs-semigroups>=0.15.2
+BUILDLINK_PKGSRCDIR.hs-semigroups?= ../../math/hs-semigroups
+
+.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../math/hs-nats/buildlink3.mk"
+.include "../../devel/hs-text/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.endif # HS_SEMIGROUPS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-semigroups
diff --git a/math/hs-semigroups/distinfo b/math/hs-semigroups/distinfo
new file mode 100644
index 00000000000..c09f2dfad5b
--- /dev/null
+++ b/math/hs-semigroups/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/09/02 20:58:16 szptvlfn Exp $
+
+SHA1 (semigroups-0.15.2.tar.gz) = 5f32ade90fe8fa4b72e58342ce5300624dd753a3
+RMD160 (semigroups-0.15.2.tar.gz) = 2e93b02b5b0c80d9c1645c142f0db8c7bca9016c
+Size (semigroups-0.15.2.tar.gz) = 11723 bytes