From 91e330405a39015bd777d33b705a2b7c725375b7 Mon Sep 17 00:00:00 2001 From: jasper Date: Tue, 23 Nov 2010 20:10:12 +0000 Subject: [PATCH] import hs-atom 1.0.7 Atom is a Haskell DSL for designing hard realtime embedded software. Based on guarded atomic actions (similar to STM), Atom enables highly concurrent programming without the need for mutex locking. In addition, Atom performs compile-time task scheduling and generates code with deterministic execution time and constant memory use, simplifying the process of timing verification and memory consumption in hard realtime applications. You can now program your Arduino with Haskell. [..] ok kili@ --- devel/hs-atom/Makefile | 23 ++++++++++++ devel/hs-atom/distinfo | 5 +++ devel/hs-atom/pkg/DESCR | 9 +++++ devel/hs-atom/pkg/PLIST | 83 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 120 insertions(+) create mode 100644 devel/hs-atom/Makefile create mode 100644 devel/hs-atom/distinfo create mode 100644 devel/hs-atom/pkg/DESCR create mode 100644 devel/hs-atom/pkg/PLIST diff --git a/devel/hs-atom/Makefile b/devel/hs-atom/Makefile new file mode 100644 index 00000000000..d6e095252b7 --- /dev/null +++ b/devel/hs-atom/Makefile @@ -0,0 +1,23 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2010/11/23 20:10:12 jasper Exp $ + +COMMENT= DSL for embedded hard realtime applications + +DISTNAME= atom-1.0.7 +CATEGORIES= devel lang + +MAINTAINER= Jasper Lievisse Adriaanse + +# BSD3 +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MODULES= lang/ghc + +MODGHC_BUILD= cabal hackage haddock register + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= devel/hs-uniplate + +.include diff --git a/devel/hs-atom/distinfo b/devel/hs-atom/distinfo new file mode 100644 index 00000000000..0dee713d9ca --- /dev/null +++ b/devel/hs-atom/distinfo @@ -0,0 +1,5 @@ +MD5 (atom-1.0.7.tar.gz) = vR4mRpYi47HR9Xi0F05RWQ== +RMD160 (atom-1.0.7.tar.gz) = lUkIeNrdHsZPRciA7HMmhMppsgM= +SHA1 (atom-1.0.7.tar.gz) = qMq56dCoRlleGPJhysIjAS3MhlA= +SHA256 (atom-1.0.7.tar.gz) = fUrOAM7RnqkGl9ArxzTsx+B1besuyYvthObS6cAT77s= +SIZE (atom-1.0.7.tar.gz) = 27976 diff --git a/devel/hs-atom/pkg/DESCR b/devel/hs-atom/pkg/DESCR new file mode 100644 index 00000000000..fb32dd9d394 --- /dev/null +++ b/devel/hs-atom/pkg/DESCR @@ -0,0 +1,9 @@ +Atom is a Haskell DSL for designing hard realtime embedded software. +Based on guarded atomic actions (similar to STM), Atom enables highly +concurrent programming without the need for mutex locking. In addition, +Atom performs compile-time task scheduling and generates code with +deterministic execution time and constant memory use, simplifying the +process of timing verification and memory consumption in hard realtime +applications. Without mutex locking and run-time task scheduling, Atom +eliminates the need and overhead of RTOSs for many embedded +applications. diff --git a/devel/hs-atom/pkg/PLIST b/devel/hs-atom/pkg/PLIST new file mode 100644 index 00000000000..b72d0af367b --- /dev/null +++ b/devel/hs-atom/pkg/PLIST @@ -0,0 +1,83 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2010/11/23 20:10:12 jasper Exp $ +lib/ghc/${DISTNAME}/ +lib/ghc/${DISTNAME}/HS${DISTNAME}.o +lib/ghc/${DISTNAME}/Language/ +lib/ghc/${DISTNAME}/Language/Atom/ +lib/ghc/${DISTNAME}/Language/Atom.hi +lib/ghc/${DISTNAME}/Language/Atom/Analysis.hi +lib/ghc/${DISTNAME}/Language/Atom/Code.hi +lib/ghc/${DISTNAME}/Language/Atom/Common.hi +lib/ghc/${DISTNAME}/Language/Atom/Compile.hi +lib/ghc/${DISTNAME}/Language/Atom/Elaboration.hi +lib/ghc/${DISTNAME}/Language/Atom/Example.hi +lib/ghc/${DISTNAME}/Language/Atom/Expressions.hi +lib/ghc/${DISTNAME}/Language/Atom/Language.hi +lib/ghc/${DISTNAME}/Language/Atom/Scheduling.hi +lib/ghc/${DISTNAME}/Language/Atom/Unit.hi +lib/ghc/${DISTNAME}/libHS${DISTNAME}.a +lib/ghc/${DISTNAME}/register.sh +@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 +share/doc/hs-${DISTNAME}/ +share/doc/hs-${DISTNAME}/LICENSE +share/doc/hs-${DISTNAME}/html/ +share/doc/hs-${DISTNAME}/html/Language-Atom-Analysis.html +share/doc/hs-${DISTNAME}/html/Language-Atom-Code.html +share/doc/hs-${DISTNAME}/html/Language-Atom-Common.html +share/doc/hs-${DISTNAME}/html/Language-Atom-Compile.html +share/doc/hs-${DISTNAME}/html/Language-Atom-Elaboration.html +share/doc/hs-${DISTNAME}/html/Language-Atom-Example.html +share/doc/hs-${DISTNAME}/html/Language-Atom-Expressions.html +share/doc/hs-${DISTNAME}/html/Language-Atom-Language.html +share/doc/hs-${DISTNAME}/html/Language-Atom-Scheduling.html +share/doc/hs-${DISTNAME}/html/Language-Atom-Unit.html +share/doc/hs-${DISTNAME}/html/Language-Atom.html +share/doc/hs-${DISTNAME}/html/atom.haddock +share/doc/hs-${DISTNAME}/html/doc-index-124.html +share/doc/hs-${DISTNAME}/html/doc-index-33.html +share/doc/hs-${DISTNAME}/html/doc-index-38.html +share/doc/hs-${DISTNAME}/html/doc-index-47.html +share/doc/hs-${DISTNAME}/html/doc-index-60.html +share/doc/hs-${DISTNAME}/html/doc-index-61.html +share/doc/hs-${DISTNAME}/html/doc-index-62.html +share/doc/hs-${DISTNAME}/html/doc-index-A.html +share/doc/hs-${DISTNAME}/html/doc-index-B.html +share/doc/hs-${DISTNAME}/html/doc-index-C.html +share/doc/hs-${DISTNAME}/html/doc-index-D.html +share/doc/hs-${DISTNAME}/html/doc-index-E.html +share/doc/hs-${DISTNAME}/html/doc-index-F.html +share/doc/hs-${DISTNAME}/html/doc-index-G.html +share/doc/hs-${DISTNAME}/html/doc-index-H.html +share/doc/hs-${DISTNAME}/html/doc-index-I.html +share/doc/hs-${DISTNAME}/html/doc-index-L.html +share/doc/hs-${DISTNAME}/html/doc-index-M.html +share/doc/hs-${DISTNAME}/html/doc-index-N.html +share/doc/hs-${DISTNAME}/html/doc-index-O.html +share/doc/hs-${DISTNAME}/html/doc-index-P.html +share/doc/hs-${DISTNAME}/html/doc-index-R.html +share/doc/hs-${DISTNAME}/html/doc-index-S.html +share/doc/hs-${DISTNAME}/html/doc-index-T.html +share/doc/hs-${DISTNAME}/html/doc-index-U.html +share/doc/hs-${DISTNAME}/html/doc-index-V.html +share/doc/hs-${DISTNAME}/html/doc-index-W.html +share/doc/hs-${DISTNAME}/html/doc-index.html +share/doc/hs-${DISTNAME}/html/frames.html +share/doc/hs-${DISTNAME}/html/haddock-util.js +share/doc/hs-${DISTNAME}/html/haddock.css +share/doc/hs-${DISTNAME}/html/haskell_icon.gif +share/doc/hs-${DISTNAME}/html/index-frames.html +share/doc/hs-${DISTNAME}/html/index.html +share/doc/hs-${DISTNAME}/html/mini_Language-Atom-Analysis.html +share/doc/hs-${DISTNAME}/html/mini_Language-Atom-Code.html +share/doc/hs-${DISTNAME}/html/mini_Language-Atom-Common.html +share/doc/hs-${DISTNAME}/html/mini_Language-Atom-Compile.html +share/doc/hs-${DISTNAME}/html/mini_Language-Atom-Elaboration.html +share/doc/hs-${DISTNAME}/html/mini_Language-Atom-Example.html +share/doc/hs-${DISTNAME}/html/mini_Language-Atom-Expressions.html +share/doc/hs-${DISTNAME}/html/mini_Language-Atom-Language.html +share/doc/hs-${DISTNAME}/html/mini_Language-Atom-Scheduling.html +share/doc/hs-${DISTNAME}/html/mini_Language-Atom-Unit.html +share/doc/hs-${DISTNAME}/html/mini_Language-Atom.html +share/doc/hs-${DISTNAME}/html/minus.gif +share/doc/hs-${DISTNAME}/html/plus.gif