From 224bf1e2df350afde7c9161333dcfde9d100efd1 Mon Sep 17 00:00:00 2001 From: szptvlfn Date: Thu, 11 Sep 2014 21:59:29 +0000 Subject: 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. --- sysutils/hs-temporary/DESCR | 6 ++++++ sysutils/hs-temporary/Makefile | 13 +++++++++++++ sysutils/hs-temporary/PLIST | 21 +++++++++++++++++++++ sysutils/hs-temporary/buildlink3.mk | 16 ++++++++++++++++ sysutils/hs-temporary/distinfo | 5 +++++ 5 files changed, 61 insertions(+) create mode 100644 sysutils/hs-temporary/DESCR create mode 100644 sysutils/hs-temporary/Makefile create mode 100644 sysutils/hs-temporary/PLIST create mode 100644 sysutils/hs-temporary/buildlink3.mk create mode 100644 sysutils/hs-temporary/distinfo (limited to 'sysutils') 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 -- cgit v1.2.3