summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorszptvlfn <szptvlfn@pkgsrc.org>2014-09-11 21:59:29 +0000
committerszptvlfn <szptvlfn@pkgsrc.org>2014-09-11 21:59:29 +0000
commit224bf1e2df350afde7c9161333dcfde9d100efd1 (patch)
treecd962fef728ee531e5f0e364b5ff928fbcf52f23 /sysutils
parent935b32309249e580c9534da55f3980e7ad0f8301 (diff)
downloadpkgsrc-224bf1e2df350afde7c9161333dcfde9d100efd1.tar.gz
Import temporary-1.2.0.3 as sysutils/hs-temporary,
packaged for wip. The functions for creating temporary files and directories in the base library are quite limited. The unixutils package contains some good ones, but they aren't portable to Windows. This library just repackages the Cabal implementations of its own temporary file and folder functions so that you can use them without linking against Cabal or depending on it being installed.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/hs-temporary/DESCR6
-rw-r--r--sysutils/hs-temporary/Makefile13
-rw-r--r--sysutils/hs-temporary/PLIST21
-rw-r--r--sysutils/hs-temporary/buildlink3.mk16
-rw-r--r--sysutils/hs-temporary/distinfo5
5 files changed, 61 insertions, 0 deletions
diff --git a/sysutils/hs-temporary/DESCR b/sysutils/hs-temporary/DESCR
new file mode 100644
index 00000000000..9e34cd0972c
--- /dev/null
+++ b/sysutils/hs-temporary/DESCR
@@ -0,0 +1,6 @@
+The functions for creating temporary files and directories in the base
+library are quite limited. The unixutils package contains some good ones,
+but they aren't portable to Windows. This library just repackages the Cabal
+implementations of its own temporary file and folder functions so that you
+can use them without linking against Cabal or depending on it being
+installed.
diff --git a/sysutils/hs-temporary/Makefile b/sysutils/hs-temporary/Makefile
new file mode 100644
index 00000000000..5ad483babe9
--- /dev/null
+++ b/sysutils/hs-temporary/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2014/09/11 21:59:29 szptvlfn Exp $
+
+DISTNAME= temporary-1.2.0.3
+CATEGORIES= sysutils
+
+MAINTAINER= szptvlfn@NetBSD.org
+COMMENT= Portable temporary file and directory support
+LICENSE= modified-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../devel/hs-exceptions/buildlink3.mk"
+.include "../../devel/hs-transformers/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/hs-temporary/PLIST b/sysutils/hs-temporary/PLIST
new file mode 100644
index 00000000000..6e1569547e4
--- /dev/null
+++ b/sysutils/hs-temporary/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2014/09/11 21:59:29 szptvlfn Exp $
+lib/temporary-${PKGVERSION}/${HASKELL_VERSION}/Distribution/Compat/Exception.hi
+lib/temporary-${PKGVERSION}/${HASKELL_VERSION}/Distribution/Compat/TempFile.hi
+lib/temporary-${PKGVERSION}/${HASKELL_VERSION}/HStemporary-${PKGVERSION}.o
+lib/temporary-${PKGVERSION}/${HASKELL_VERSION}/System/IO/Temp.hi
+lib/temporary-${PKGVERSION}/${HASKELL_VERSION}/libHStemporary-${PKGVERSION}.a
+lib/temporary-${PKGVERSION}/${HASKELL_VERSION}/package-description
+share/doc/temporary-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/temporary-${PKGVERSION}/html/System-IO-Temp.html
+${PLIST.doc}share/doc/temporary-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/temporary-${PKGVERSION}/html/frames.html
+${PLIST.doc}share/doc/temporary-${PKGVERSION}/html/haddock-util.js
+${PLIST.doc}share/doc/temporary-${PKGVERSION}/html/hslogo-16.png
+${PLIST.doc}share/doc/temporary-${PKGVERSION}/html/index-frames.html
+${PLIST.doc}share/doc/temporary-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/temporary-${PKGVERSION}/html/mini_System-IO-Temp.html
+${PLIST.doc}share/doc/temporary-${PKGVERSION}/html/minus.gif
+${PLIST.doc}share/doc/temporary-${PKGVERSION}/html/ocean.css
+${PLIST.doc}share/doc/temporary-${PKGVERSION}/html/plus.gif
+${PLIST.doc}share/doc/temporary-${PKGVERSION}/html/synopsis.png
+${PLIST.doc}share/doc/temporary-${PKGVERSION}/html/temporary.haddock
diff --git a/sysutils/hs-temporary/buildlink3.mk b/sysutils/hs-temporary/buildlink3.mk
new file mode 100644
index 00000000000..eb23745320b
--- /dev/null
+++ b/sysutils/hs-temporary/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/09/11 21:59:29 szptvlfn Exp $
+
+BUILDLINK_TREE+= hs-temporary
+
+.if !defined(HS_TEMPORARY_BUILDLINK3_MK)
+HS_TEMPORARY_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-temporary+= hs-temporary>=1.2.0
+BUILDLINK_ABI_DEPENDS.hs-temporary+= hs-temporary>=1.2.0.3
+BUILDLINK_PKGSRCDIR.hs-temporary?= ../../sysutils/hs-temporary
+
+.include "../../devel/hs-exceptions/buildlink3.mk"
+.include "../../devel/hs-transformers/buildlink3.mk"
+.endif # HS_TEMPORARY_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-temporary
diff --git a/sysutils/hs-temporary/distinfo b/sysutils/hs-temporary/distinfo
new file mode 100644
index 00000000000..ce34ffb523f
--- /dev/null
+++ b/sysutils/hs-temporary/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/09/11 21:59:29 szptvlfn Exp $
+
+SHA1 (temporary-1.2.0.3.tar.gz) = 7f3468c837d1b82b9c684dce68581c5ab4f6b849
+RMD160 (temporary-1.2.0.3.tar.gz) = be576becdb377708ccd69973fcffc7332d755680
+Size (temporary-1.2.0.3.tar.gz) = 5308 bytes