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.
This commit is contained in:
parent
fffac22eb0
commit
9ab046fa78
5 changed files with 61 additions and 0 deletions
6
sysutils/hs-temporary/DESCR
Normal file
6
sysutils/hs-temporary/DESCR
Normal file
|
@ -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.
|
13
sysutils/hs-temporary/Makefile
Normal file
13
sysutils/hs-temporary/Makefile
Normal file
|
@ -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"
|
21
sysutils/hs-temporary/PLIST
Normal file
21
sysutils/hs-temporary/PLIST
Normal file
|
@ -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
|
16
sysutils/hs-temporary/buildlink3.mk
Normal file
16
sysutils/hs-temporary/buildlink3.mk
Normal file
|
@ -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
|
5
sysutils/hs-temporary/distinfo
Normal file
5
sysutils/hs-temporary/distinfo
Normal file
|
@ -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
|
Loading…
Reference in a new issue