pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/hs-jira-wiki-markup Import jira-wiki-markup-1...
details: https://anonhg.NetBSD.org/pkgsrc/rev/78182d2ad011
branches: trunk
changeset: 421557:78182d2ad011
user: pho <pho%pkgsrc.org@localhost>
date: Thu Jan 16 15:02:50 2020 +0000
description:
Import jira-wiki-markup-1.0.0
Parse jira wiki text into an abstract syntax tree for easy
transformation to other formats.
diffstat:
textproc/hs-jira-wiki-markup/DESCR | 2 +
textproc/hs-jira-wiki-markup/Makefile | 14 ++++++
textproc/hs-jira-wiki-markup/buildlink3.mk | 13 +++++
textproc/hs-jira-wiki-markup/distinfo | 7 +++
textproc/hs-jira-wiki-markup/files/Setup.hs | 2 +
textproc/hs-jira-wiki-markup/patches/patch-jira-wiki-markup.cabal | 22 ++++++++++
6 files changed, 60 insertions(+), 0 deletions(-)
diffs (84 lines):
diff -r 9f30073a3427 -r 78182d2ad011 textproc/hs-jira-wiki-markup/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-jira-wiki-markup/DESCR Thu Jan 16 15:02:50 2020 +0000
@@ -0,0 +1,2 @@
+Parse jira wiki text into an abstract syntax tree for easy
+transformation to other formats.
diff -r 9f30073a3427 -r 78182d2ad011 textproc/hs-jira-wiki-markup/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-jira-wiki-markup/Makefile Thu Jan 16 15:02:50 2020 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2020/01/16 15:02:50 pho Exp $
+
+DISTNAME= jira-wiki-markup-1.0.0
+CATEGORIES= textproc
+
+MAINTAINER= pho%cielonegro.org@localhost
+COMMENT= Handle Jira wiki markup
+LICENSE= mit
+
+post-patch:
+ ${RUN}${CP} -f ${FILESDIR}/Setup.hs ${WRKSRC}/
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9f30073a3427 -r 78182d2ad011 textproc/hs-jira-wiki-markup/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-jira-wiki-markup/buildlink3.mk Thu Jan 16 15:02:50 2020 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/16 15:02:50 pho Exp $
+
+BUILDLINK_TREE+= hs-jira-wiki-markup
+
+.if !defined(HS_JIRA_WIKI_MARKUP_BUILDLINK3_MK)
+HS_JIRA_WIKI_MARKUP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-jira-wiki-markup+= hs-jira-wiki-markup>=1.0.0
+BUILDLINK_ABI_DEPENDS.hs-jira-wiki-markup+= hs-jira-wiki-markup>=1.0.0
+BUILDLINK_PKGSRCDIR.hs-jira-wiki-markup?= ../../textproc/hs-jira-wiki-markup
+.endif # HS_JIRA_WIKI_MARKUP_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-jira-wiki-markup
diff -r 9f30073a3427 -r 78182d2ad011 textproc/hs-jira-wiki-markup/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-jira-wiki-markup/distinfo Thu Jan 16 15:02:50 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/01/16 15:02:50 pho Exp $
+
+SHA1 (jira-wiki-markup-1.0.0.tar.gz) = 19b3c5167068fc246ea859049ada5e53a75fb218
+RMD160 (jira-wiki-markup-1.0.0.tar.gz) = b63323772e72c60ae071c767b2b399890df519ac
+SHA512 (jira-wiki-markup-1.0.0.tar.gz) = 74df439b64939ebad80ecdc2888829d78a8ae030a855de8e50a8b0076e036c79e5a96eb07a943fc211645c8a89bf508c170b2af0c923ca8f53f4b5cd401a7549
+Size (jira-wiki-markup-1.0.0.tar.gz) = 18697 bytes
+SHA1 (patch-jira-wiki-markup.cabal) = 49620ff15fe210880e5941d878b9e58f1bb33a27
diff -r 9f30073a3427 -r 78182d2ad011 textproc/hs-jira-wiki-markup/files/Setup.hs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-jira-wiki-markup/files/Setup.hs Thu Jan 16 15:02:50 2020 +0000
@@ -0,0 +1,2 @@
+import Distribution.Simple
+main = defaultMain
diff -r 9f30073a3427 -r 78182d2ad011 textproc/hs-jira-wiki-markup/patches/patch-jira-wiki-markup.cabal
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-jira-wiki-markup/patches/patch-jira-wiki-markup.cabal Thu Jan 16 15:02:50 2020 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-jira-wiki-markup.cabal,v 1.1 2020/01/16 15:02:50 pho Exp $
+
+Don't build the executable "jira-wiki-markup". This package defines
+both a library and an executable, and the executable depends on the
+library. In this setup, either Cabal or GHC mistakenly embeds rpath to
+the ${WRKDIR}, not the final installation path of the library.
+
+The corresponding ticket has been closed without an actual fix, and
+its authors have suggested using --enable-relocatable, even though the
+option is supported only on Linux and MacOS X:
+https://github.com/haskell/cabal/issues/1568
+
+--- jira-wiki-markup.cabal.orig 2020-01-16 14:38:48.485995170 +0000
++++ jira-wiki-markup.cabal
+@@ -52,6 +52,7 @@ library
+ default-extensions: OverloadedStrings
+
+ executable jira-wiki-markup
++ buildable: False
+ hs-source-dirs: app
+ main-is: Main.hs
+
Home |
Main Index |
Thread Index |
Old Index