diff options
author | szptvlfn <szptvlfn@pkgsrc.org> | 2014-09-02 20:58:16 +0000 |
---|---|---|
committer | szptvlfn <szptvlfn@pkgsrc.org> | 2014-09-02 20:58:16 +0000 |
commit | b6744d8f3220c685bb0dd9744fc35a50e698da88 (patch) | |
tree | add7464451abe8d0fdf62fb8ec35f5b74cab2d84 | |
parent | 42bb66e875002dd0dc2ba234327688615edd33b7 (diff) | |
download | pkgsrc-b6744d8f3220c685bb0dd9744fc35a50e698da88.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.
-rw-r--r-- | math/hs-semigroups/DESCR | 6 | ||||
-rw-r--r-- | math/hs-semigroups/Makefile | 15 | ||||
-rw-r--r-- | math/hs-semigroups/PLIST | 22 | ||||
-rw-r--r-- | math/hs-semigroups/buildlink3.mk | 18 | ||||
-rw-r--r-- | math/hs-semigroups/distinfo | 5 |
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 |