summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorszptvlfn <szptvlfn>2014-08-01 20:58:03 +0000
committerszptvlfn <szptvlfn>2014-08-01 20:58:03 +0000
commit9e363a12da278808ff2d173141a5459fcf473c05 (patch)
tree5309e93d51043f553761ee35a5296f86a516bd23 /devel
parent8a4686413b7fc3d3ae4e7750cb5762834f830d1a (diff)
downloadpkgsrc-9e363a12da278808ff2d173141a5459fcf473c05.tar.gz
Import split-0.2.2 as devel/hs-split,
packaged for wip by pho. A collection of various methods for splitting lists into parts, akin to the "split" function found in several mainstream languages. Here is its tale: Once upon a time the standard Data.List module held no function for splitting a list into parts according to a delimiter. Many a brave lambda-knight strove to add such a function, but their striving was in vain, for Lo, the Supreme Council fell to bickering amongst themselves what was to be the essential nature of the One True Function which could cleave a list in twain (or thrain, or any required number of parts). And thus came to pass the split package, comprising divers functions for splitting a list asunder, each according to its nature. And the Supreme Council had no longer any grounds for argument, for the favored method of each was contained therein. To get started, see the Data.List.Split module.
Diffstat (limited to 'devel')
-rw-r--r--devel/hs-split/DESCR16
-rw-r--r--devel/hs-split/Makefile11
-rw-r--r--devel/hs-split/PLIST22
-rw-r--r--devel/hs-split/buildlink3.mk12
-rw-r--r--devel/hs-split/distinfo5
5 files changed, 66 insertions, 0 deletions
diff --git a/devel/hs-split/DESCR b/devel/hs-split/DESCR
new file mode 100644
index 00000000000..d6286d10751
--- /dev/null
+++ b/devel/hs-split/DESCR
@@ -0,0 +1,16 @@
+A collection of various methods for splitting lists into parts, akin to the
+"split" function found in several mainstream languages. Here is its tale:
+
+Once upon a time the standard Data.List module held no function for
+splitting a list into parts according to a delimiter. Many a brave
+lambda-knight strove to add such a function, but their striving was in
+vain, for Lo, the Supreme Council fell to bickering amongst themselves what
+was to be the essential nature of the One True Function which could cleave
+a list in twain (or thrain, or any required number of parts).
+
+And thus came to pass the split package, comprising divers functions for
+splitting a list asunder, each according to its nature. And the Supreme
+Council had no longer any grounds for argument, for the favored method of
+each was contained therein.
+
+To get started, see the Data.List.Split module.
diff --git a/devel/hs-split/Makefile b/devel/hs-split/Makefile
new file mode 100644
index 00000000000..381654b797f
--- /dev/null
+++ b/devel/hs-split/Makefile
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2014/08/01 20:58:03 szptvlfn Exp $
+
+DISTNAME= split-0.2.2
+CATEGORIES= devel
+
+MAINTAINER= pho@cielonegro.org
+COMMENT= Combinator library for splitting lists
+LICENSE= modified-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/hs-split/PLIST b/devel/hs-split/PLIST
new file mode 100644
index 00000000000..92cddffa0fb
--- /dev/null
+++ b/devel/hs-split/PLIST
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1 2014/08/01 20:58:03 szptvlfn Exp $
+lib/split-${PKGVERSION}/${HASKELL_VERSION}/Data/List/Split.hi
+lib/split-${PKGVERSION}/${HASKELL_VERSION}/Data/List/Split/Internals.hi
+lib/split-${PKGVERSION}/${HASKELL_VERSION}/HSsplit-${PKGVERSION}.o
+lib/split-${PKGVERSION}/${HASKELL_VERSION}/libHSsplit-${PKGVERSION}.a
+lib/split-${PKGVERSION}/${HASKELL_VERSION}/package-description
+share/doc/split-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/split-${PKGVERSION}/html/Data-List-Split-Internals.html
+${PLIST.doc}share/doc/split-${PKGVERSION}/html/Data-List-Split.html
+${PLIST.doc}share/doc/split-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/split-${PKGVERSION}/html/frames.html
+${PLIST.doc}share/doc/split-${PKGVERSION}/html/haddock-util.js
+${PLIST.doc}share/doc/split-${PKGVERSION}/html/hslogo-16.png
+${PLIST.doc}share/doc/split-${PKGVERSION}/html/index-frames.html
+${PLIST.doc}share/doc/split-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/split-${PKGVERSION}/html/mini_Data-List-Split-Internals.html
+${PLIST.doc}share/doc/split-${PKGVERSION}/html/mini_Data-List-Split.html
+${PLIST.doc}share/doc/split-${PKGVERSION}/html/minus.gif
+${PLIST.doc}share/doc/split-${PKGVERSION}/html/ocean.css
+${PLIST.doc}share/doc/split-${PKGVERSION}/html/plus.gif
+${PLIST.doc}share/doc/split-${PKGVERSION}/html/split.haddock
+${PLIST.doc}share/doc/split-${PKGVERSION}/html/synopsis.png
diff --git a/devel/hs-split/buildlink3.mk b/devel/hs-split/buildlink3.mk
new file mode 100644
index 00000000000..e231d004402
--- /dev/null
+++ b/devel/hs-split/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/08/01 20:58:03 szptvlfn Exp $
+
+BUILDLINK_TREE+= hs-split
+
+.if !defined(HS_SPLIT_BUILDLINK3_MK)
+HS_SPLIT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-split+= hs-split>=0.2.2
+BUILDLINK_PKGSRCDIR.hs-split?= ../../devel/hs-split
+.endif # HS_SPLIT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-split
diff --git a/devel/hs-split/distinfo b/devel/hs-split/distinfo
new file mode 100644
index 00000000000..b6270ce9e58
--- /dev/null
+++ b/devel/hs-split/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/08/01 20:58:03 szptvlfn Exp $
+
+SHA1 (split-0.2.2.tar.gz) = c5aa04f033846058a96450e7720268348c13d928
+RMD160 (split-0.2.2.tar.gz) = 7d4fe221283836386807f0e73a90df1255061f6f
+Size (split-0.2.2.tar.gz) = 14666 bytes