diff --git a/devel/hs-QuickAnnotate/Makefile b/devel/hs-QuickAnnotate/Makefile new file mode 100644 index 00000000000..1d6f4e3d397 --- /dev/null +++ b/devel/hs-QuickAnnotate/Makefile @@ -0,0 +1,29 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2012/10/31 19:13:29 kili Exp $ + +COMMENT = annotation framework + +DISTNAME = QuickAnnotate-0.6 +CATEGORIES = devel + +# BSD3 +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM =Yes +PERMIT_DISTFILES_FTP = Yes + +WANTLIB = c iconv m pthread util + +MODULES = lang/ghc + +MODGHC_BUILD = cabal hackage haddock register + +BUILD_DEPENDS = ${RUN_DEPENDS} +RUN_DEPENDS= lang/hs-haskell-src-exts>=1.11.1,<1.14 + +# Install the example mentioned in DESCR. +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/hs-QuickAnnotate + ${INSTALL_DATA} ${WRKSRC}/Examples/* \ + ${PREFIX}/share/examples/hs-QuickAnnotate + +.include diff --git a/devel/hs-QuickAnnotate/distinfo b/devel/hs-QuickAnnotate/distinfo new file mode 100644 index 00000000000..76f3c0ed146 --- /dev/null +++ b/devel/hs-QuickAnnotate/distinfo @@ -0,0 +1,2 @@ +SHA256 (ghc/QuickAnnotate-0.6.tar.gz) = a7fhg2ff9gP6CZrVP8NO/OO4ktulrNDq0a4/o3Kk8HY= +SIZE (ghc/QuickAnnotate-0.6.tar.gz) = 3111 diff --git a/devel/hs-QuickAnnotate/pkg/DESCR b/devel/hs-QuickAnnotate/pkg/DESCR new file mode 100644 index 00000000000..5801fde87fc --- /dev/null +++ b/devel/hs-QuickAnnotate/pkg/DESCR @@ -0,0 +1,4 @@ +A framework introducing annotations by preprocessing. For using it, +it is enough to derive 'QuickAnnotate.Annotatable' and then use the +preprocessor (qapp). The package contains an example demonstrating +this procedure. diff --git a/devel/hs-QuickAnnotate/pkg/PLIST b/devel/hs-QuickAnnotate/pkg/PLIST new file mode 100644 index 00000000000..d22ebb67638 --- /dev/null +++ b/devel/hs-QuickAnnotate/pkg/PLIST @@ -0,0 +1,28 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2012/10/31 19:13:29 kili Exp $ +@bin bin/qapp +lib/ghc/${DISTNAME}/ +lib/ghc/${DISTNAME}/HS${DISTNAME}.o +lib/ghc/${DISTNAME}/QuickAnnotate.hi +lib/ghc/${DISTNAME}/libHS${DISTNAME}.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/QuickAnnotate.haddock +share/doc/hs-${DISTNAME}/html/QuickAnnotate.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/hslogo-16.png +share/doc/hs-${DISTNAME}/html/index-frames.html +share/doc/hs-${DISTNAME}/html/index.html +share/doc/hs-${DISTNAME}/html/mini_QuickAnnotate.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 +share/examples/hs-QuickAnnotate/ +share/examples/hs-QuickAnnotate/TestPP.hs +@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