pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/hs-hslua Import hslua-1.0.3.2 from wip



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3ed105331a66
branches:  trunk
changeset: 421390:3ed105331a66
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Jan 15 12:40:38 2020 +0000

description:
Import hslua-1.0.3.2 from wip

HsLua provides bindings, wrappers, types, and helper functions to
bridge Haskell and Lua.

diffstat:

 lang/hs-hslua/DESCR                     |   2 ++
 lang/hs-hslua/Makefile                  |  19 +++++++++++++++++++
 lang/hs-hslua/buildlink3.mk             |  17 +++++++++++++++++
 lang/hs-hslua/distinfo                  |   7 +++++++
 lang/hs-hslua/patches/patch-hslua.cabal |  15 +++++++++++++++
 5 files changed, 60 insertions(+), 0 deletions(-)

diffs (80 lines):

diff -r 59d47c232c9e -r 3ed105331a66 lang/hs-hslua/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/hs-hslua/DESCR       Wed Jan 15 12:40:38 2020 +0000
@@ -0,0 +1,2 @@
+HsLua provides bindings, wrappers, types, and helper functions to
+bridge Haskell and Lua.
diff -r 59d47c232c9e -r 3ed105331a66 lang/hs-hslua/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/hs-hslua/Makefile    Wed Jan 15 12:40:38 2020 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2020/01/15 12:40:38 pho Exp $
+
+DISTNAME=      hslua-1.0.3.2
+CATEGORIES=    lang
+
+MAINTAINER=    szptvlfn%NetBSD.org@localhost
+COMMENT=       Bindings to Lua, an embeddable scripting language
+LICENSE=       mit
+
+USE_TOOLS+=            pkg-config
+CONFIGURE_ARGS+=       -fpkg-config
+
+.include "../../devel/hs-exceptions/buildlink3.mk"
+.include "../../devel/hs-fail/buildlink3.mk"
+# This package explicitly depends on Lua 5.3.x so including
+# ../../lang/lua/buildlink3.mk would be inappropriate.
+.include "../../lang/lua53/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 59d47c232c9e -r 3ed105331a66 lang/hs-hslua/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/hs-hslua/buildlink3.mk       Wed Jan 15 12:40:38 2020 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/15 12:40:38 pho Exp $
+
+BUILDLINK_TREE+=       hs-hslua
+
+.if !defined(HS_HSLUA_BUILDLINK3_MK)
+HS_HSLUA_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-hslua+=       hs-hslua>=1.0.3
+BUILDLINK_ABI_DEPENDS.hs-hslua+=       hs-hslua>=1.0.3.2
+BUILDLINK_PKGSRCDIR.hs-hslua?=         ../../lang/hs-hslua
+
+.include "../../devel/hs-exceptions/buildlink3.mk"
+.include "../../devel/hs-fail/buildlink3.mk"
+.include "../../lang/lua53/buildlink3.mk"
+.endif # HS_HSLUA_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-hslua
diff -r 59d47c232c9e -r 3ed105331a66 lang/hs-hslua/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/hs-hslua/distinfo    Wed Jan 15 12:40:38 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/01/15 12:40:38 pho Exp $
+
+SHA1 (hslua-1.0.3.2.tar.gz) = afbcc622c003b309b60045f7c082c036f7a2bd98
+RMD160 (hslua-1.0.3.2.tar.gz) = 6581567146bb688b1ab133ca671d19bdc81cc434
+SHA512 (hslua-1.0.3.2.tar.gz) = 2e047e32a55d0c9512388445ba318d7ceec85f467c89ad825cceb2c60b5b1dce10fa5f014009cb105f71d109fd66eca0c94b88d3a5e26a85ae0dc3e327606e38
+Size (hslua-1.0.3.2.tar.gz) = 237230 bytes
+SHA1 (patch-hslua.cabal) = 2785ac0294e90834f31e612440658976d1de8489
diff -r 59d47c232c9e -r 3ed105331a66 lang/hs-hslua/patches/patch-hslua.cabal
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/hs-hslua/patches/patch-hslua.cabal   Wed Jan 15 12:40:38 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-hslua.cabal,v 1.1 2020/01/15 12:40:38 pho Exp $
+
+Correct the pkg-config package name.
+
+--- hslua.cabal.orig   2020-01-15 12:38:03.950345594 +0000
++++ hslua.cabal
+@@ -123,7 +123,7 @@ library
+ 
+   if flag(system-lua) || flag(pkg-config)
+     if flag(pkg-config)
+-      pkgconfig-depends: lua5.3
++      pkgconfig-depends: lua-5.3
+     else
+       extra-libraries:   lua
+       includes:          lua.h



Home | Main Index | Thread Index | Old Index