Import devel/hs-echo.
The base library exposes the hGetEcho and hSetEcho functions for querying and setting echo status, but unfortunately, neither function works with MinTTY consoles on Windows. This library provides an alternative interface which works with both MinTTY and other consoles. ok sthen@ ("You don't need any more pain than you already have!" about patching cabal-install to *not* need this port)
This commit is contained in:
parent
22f4eebe00
commit
8f184acc71
19
devel/hs-echo/Makefile
Normal file
19
devel/hs-echo/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2018/01/12 21:35:39 kili Exp $
|
||||
|
||||
COMMENT = cross-platform echoing terminal input
|
||||
|
||||
DISTNAME = echo-0.1.3
|
||||
CATEGORIES = devel
|
||||
|
||||
MAINTAINER = Matthias Kilian <kili@openbsd.org>
|
||||
|
||||
# BSD3
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
MODULES = lang/ghc
|
||||
|
||||
MODGHC_BUILD = cabal hackage haddock register
|
||||
|
||||
MODGHC_PACKAGE_KEY = BlErO49OOLiLJPizijFtq4
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/hs-echo/distinfo
Normal file
2
devel/hs-echo/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (ghc/echo-0.1.3.tar.gz) = cE8HMQ+CctFw+Kt/sqLBPxXYUB74MQgB42lkyO/0he8=
|
||||
SIZE (ghc/echo-0.1.3.tar.gz) = 5373
|
18
devel/hs-echo/patches/patch-echo_cabal
Normal file
18
devel/hs-echo/patches/patch-echo_cabal
Normal file
@ -0,0 +1,18 @@
|
||||
$OpenBSD: patch-echo_cabal,v 1.1.1.1 2018/01/12 21:35:39 kili Exp $
|
||||
|
||||
Stupid dependency changes not contained in the distfile:
|
||||
|
||||
http://hackage.haskell.org/package/echo-0.1.3/revisions/
|
||||
|
||||
Index: echo.cabal
|
||||
--- echo.cabal.orig
|
||||
+++ echo.cabal
|
||||
@@ -39,7 +39,7 @@ library
|
||||
System.IO.Echo.Internal
|
||||
|
||||
build-depends: base >= 4.3 && < 5
|
||||
- , process >= 1.0.1.1 && < 1.5
|
||||
+ , process >= 1.0.1.1 && < 1.7
|
||||
if os(windows)
|
||||
cpp-options: "-DWINDOWS"
|
||||
build-depends: mintty >= 0.1 && < 0.2
|
5
devel/hs-echo/pkg/DESCR
Normal file
5
devel/hs-echo/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
The base library exposes the hGetEcho and hSetEcho functions for
|
||||
querying and setting echo status, but unfortunately, neither function
|
||||
works with MinTTY consoles on Windows.
|
||||
This library provides an alternative interface which works with
|
||||
both MinTTY and other consoles.
|
30
devel/hs-echo/pkg/PLIST
Normal file
30
devel/hs-echo/pkg/PLIST
Normal file
@ -0,0 +1,30 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2018/01/12 21:35:39 kili Exp $
|
||||
lib/ghc/${DISTNAME}/
|
||||
lib/ghc/${DISTNAME}/HS${DISTNAME}-${MODGHC_PACKAGE_KEY}.o
|
||||
lib/ghc/${DISTNAME}/System/
|
||||
lib/ghc/${DISTNAME}/System/IO/
|
||||
lib/ghc/${DISTNAME}/System/IO/Echo/
|
||||
lib/ghc/${DISTNAME}/System/IO/Echo.hi
|
||||
lib/ghc/${DISTNAME}/System/IO/Echo.p_hi
|
||||
lib/ghc/${DISTNAME}/System/IO/Echo/Internal.hi
|
||||
lib/ghc/${DISTNAME}/System/IO/Echo/Internal.p_hi
|
||||
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}.a
|
||||
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}_p.a
|
||||
lib/ghc/${DISTNAME}/register.sh
|
||||
share/doc/hs-${DISTNAME}/
|
||||
share/doc/hs-${DISTNAME}/LICENSE
|
||||
share/doc/hs-${DISTNAME}/html/
|
||||
share/doc/hs-${DISTNAME}/html/System-IO-Echo-Internal.html
|
||||
share/doc/hs-${DISTNAME}/html/System-IO-Echo.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index.html
|
||||
share/doc/hs-${DISTNAME}/html/echo.haddock
|
||||
share/doc/hs-${DISTNAME}/html/haddock-util.js
|
||||
share/doc/hs-${DISTNAME}/html/hslogo-16.png
|
||||
share/doc/hs-${DISTNAME}/html/index.html
|
||||
share/doc/hs-${DISTNAME}/html/minus.gif
|
||||
share/doc/hs-${DISTNAME}/html/ocean.css
|
||||
share/doc/hs-${DISTNAME}/html/plus.gif
|
||||
share/doc/hs-${DISTNAME}/html/synopsis.png
|
||||
@exec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/register.sh -v0
|
||||
@unexec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/unregister.sh -v0 --force
|
||||
lib/ghc/${DISTNAME}/unregister.sh
|
Loading…
x
Reference in New Issue
Block a user