diff options
author | szptvlfn <szptvlfn> | 2014-09-11 21:59:29 +0000 |
---|---|---|
committer | szptvlfn <szptvlfn> | 2014-09-11 21:59:29 +0000 |
commit | 9c98cbeee37548dce00f76c87a513ff8daed07ee (patch) | |
tree | cd962fef728ee531e5f0e364b5ff928fbcf52f23 /sysutils | |
parent | 585df782e66fb2ee5d659d52d6c1d27832ab52c9 (diff) | |
download | pkgsrc-9c98cbeee37548dce00f76c87a513ff8daed07ee.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/DESCR | 6 | ||||
-rw-r--r-- | sysutils/hs-temporary/Makefile | 13 | ||||
-rw-r--r-- | sysutils/hs-temporary/PLIST | 21 | ||||
-rw-r--r-- | sysutils/hs-temporary/buildlink3.mk | 16 | ||||
-rw-r--r-- | sysutils/hs-temporary/distinfo | 5 |
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 |