summaryrefslogtreecommitdiff
path: root/devel/hs-reflection
diff options
context:
space:
mode:
authorszptvlfn <szptvlfn@pkgsrc.org>2014-11-07 13:07:56 +0000
committerszptvlfn <szptvlfn@pkgsrc.org>2014-11-07 13:07:56 +0000
commit61e1e0cf7190695e3b4b345e555fd8fc6469a981 (patch)
tree18010b9d1da6bb18f1bbb571d52bc2bf6f2ccd45 /devel/hs-reflection
parent58179d4a5ede887466e356154f5566db20a25cf0 (diff)
downloadpkgsrc-61e1e0cf7190695e3b4b345e555fd8fc6469a981.tar.gz
Import reflection-1.5.1 as devel/hs-reflection.
This package provides an implementation of the ideas presented in the paper "Functional Pearl: Implicit Configurations" by Oleg Kiselyov and Chung-chieh Shan. However, the API has been streamlined to improve performance. The original paper can be obtained from http://www.cs.rutgers.edu/~ccshan/prepose/prepose.pdf. For a summary of the approach taken by this library, along with more motivating examples, see Austin Seipp's tutorial at https://www.fpcomplete.com/user/thoughtpolice/using-reflection.
Diffstat (limited to 'devel/hs-reflection')
-rw-r--r--devel/hs-reflection/DESCR11
-rw-r--r--devel/hs-reflection/Makefile12
-rw-r--r--devel/hs-reflection/PLIST19
-rw-r--r--devel/hs-reflection/buildlink3.mk15
-rw-r--r--devel/hs-reflection/distinfo5
5 files changed, 62 insertions, 0 deletions
diff --git a/devel/hs-reflection/DESCR b/devel/hs-reflection/DESCR
new file mode 100644
index 00000000000..5f0a15bcad4
--- /dev/null
+++ b/devel/hs-reflection/DESCR
@@ -0,0 +1,11 @@
+This package provides an implementation of the ideas presented in the paper
+"Functional Pearl: Implicit Configurations" by Oleg Kiselyov and
+Chung-chieh Shan. However, the API has been streamlined to improve
+performance.
+
+The original paper can be obtained from
+http://www.cs.rutgers.edu/~ccshan/prepose/prepose.pdf.
+
+For a summary of the approach taken by this library, along with more
+motivating examples, see Austin Seipp's tutorial at
+https://www.fpcomplete.com/user/thoughtpolice/using-reflection.
diff --git a/devel/hs-reflection/Makefile b/devel/hs-reflection/Makefile
new file mode 100644
index 00000000000..2bf035bfaf2
--- /dev/null
+++ b/devel/hs-reflection/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2014/11/07 13:07:56 szptvlfn Exp $
+
+DISTNAME= reflection-1.5.1
+CATEGORIES= devel
+
+MAINTAINER= szptvlfn@NetBSD.org
+COMMENT= Reifies arbitrary terms into types
+LICENSE= modified-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../devel/hs-tagged/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/hs-reflection/PLIST b/devel/hs-reflection/PLIST
new file mode 100644
index 00000000000..4b17a7839b9
--- /dev/null
+++ b/devel/hs-reflection/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2014/11/07 13:07:56 szptvlfn Exp $
+lib/reflection-${PKGVERSION}/${HASKELL_VERSION}/Data/Reflection.hi
+lib/reflection-${PKGVERSION}/${HASKELL_VERSION}/HSreflection-${PKGVERSION}.o
+lib/reflection-${PKGVERSION}/${HASKELL_VERSION}/libHSreflection-${PKGVERSION}.a
+lib/reflection-${PKGVERSION}/${HASKELL_VERSION}/package-description
+share/doc/reflection-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/reflection-${PKGVERSION}/html/Data-Reflection.html
+${PLIST.doc}share/doc/reflection-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/reflection-${PKGVERSION}/html/frames.html
+${PLIST.doc}share/doc/reflection-${PKGVERSION}/html/haddock-util.js
+${PLIST.doc}share/doc/reflection-${PKGVERSION}/html/hslogo-16.png
+${PLIST.doc}share/doc/reflection-${PKGVERSION}/html/index-frames.html
+${PLIST.doc}share/doc/reflection-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/reflection-${PKGVERSION}/html/mini_Data-Reflection.html
+${PLIST.doc}share/doc/reflection-${PKGVERSION}/html/minus.gif
+${PLIST.doc}share/doc/reflection-${PKGVERSION}/html/ocean.css
+${PLIST.doc}share/doc/reflection-${PKGVERSION}/html/plus.gif
+${PLIST.doc}share/doc/reflection-${PKGVERSION}/html/reflection.haddock
+${PLIST.doc}share/doc/reflection-${PKGVERSION}/html/synopsis.png
diff --git a/devel/hs-reflection/buildlink3.mk b/devel/hs-reflection/buildlink3.mk
new file mode 100644
index 00000000000..a4b8970400e
--- /dev/null
+++ b/devel/hs-reflection/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/11/07 13:07:56 szptvlfn Exp $
+
+BUILDLINK_TREE+= hs-reflection
+
+.if !defined(HS_REFLECTION_BUILDLINK3_MK)
+HS_REFLECTION_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-reflection+= hs-reflection>=1.5.1
+BUILDLINK_ABI_DEPENDS.hs-reflection+= hs-reflection>=1.5.1
+BUILDLINK_PKGSRCDIR.hs-reflection?= ../../devel/hs-reflection
+
+.include "../../devel/hs-tagged/buildlink3.mk"
+.endif # HS_REFLECTION_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-reflection
diff --git a/devel/hs-reflection/distinfo b/devel/hs-reflection/distinfo
new file mode 100644
index 00000000000..d207332c91e
--- /dev/null
+++ b/devel/hs-reflection/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/11/07 13:07:56 szptvlfn Exp $
+
+SHA1 (reflection-1.5.1.tar.gz) = cb0c9630b562667fe4044b329309c8aae792b9fe
+RMD160 (reflection-1.5.1.tar.gz) = 2069fc51ecc5e26e733929c3172bc4bb131c7849
+Size (reflection-1.5.1.tar.gz) = 9436 bytes