pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/hs-open-browser www/hs-open-browser: import hs-ope...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bae3653e3dd5
branches:  trunk
changeset: 374606:bae3653e3dd5
user:      pho <pho%pkgsrc.org@localhost>
date:      Thu Feb 24 00:59:49 2022 +0000

description:
www/hs-open-browser: import hs-open-browser-0.2.1.0

Open a web browser from Haskell. Currently BSD, Linux, OS X and Windows are
supported.

diffstat:

 www/hs-open-browser/DESCR                            |   2 +
 www/hs-open-browser/Makefile                         |  11 ++++++++
 www/hs-open-browser/PLIST                            |  25 ++++++++++++++++++++
 www/hs-open-browser/buildlink3.mk                    |  13 ++++++++++
 www/hs-open-browser/distinfo                         |   6 ++++
 www/hs-open-browser/patches/patch-open-browser.cabal |  14 +++++++++++
 6 files changed, 71 insertions(+), 0 deletions(-)

diffs (95 lines):

diff -r 212db591362b -r bae3653e3dd5 www/hs-open-browser/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/hs-open-browser/DESCR Thu Feb 24 00:59:49 2022 +0000
@@ -0,0 +1,2 @@
+Open a web browser from Haskell. Currently BSD, Linux, OS X and Windows are
+supported.
diff -r 212db591362b -r bae3653e3dd5 www/hs-open-browser/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/hs-open-browser/Makefile      Thu Feb 24 00:59:49 2022 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2022/02/24 00:59:49 pho Exp $
+
+DISTNAME=      open-browser-0.2.1.0
+CATEGORIES=    www
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Open a web browser from Haskell
+LICENSE=       modified-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 212db591362b -r bae3653e3dd5 www/hs-open-browser/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/hs-open-browser/PLIST Thu Feb 24 00:59:49 2022 +0000
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/24 00:59:49 pho Exp $
+lib/open-browser-${PKGVERSION}/${HS_VERSION}/package-description
+lib/open-browser-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Web/Browser.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Web/Browser.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Web/Browser.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Web/Browser/Linux.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Web/Browser/Linux.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Web/Browser/Linux.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Web/Browser/OSX.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Web/Browser/OSX.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Web/Browser/OSX.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+share/doc/${HS_PLATFORM}/open-browser-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/open-browser-${PKGVERSION}/html/Web-Browser.html
+share/doc/${HS_PLATFORM}/open-browser-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/open-browser-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/open-browser-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/open-browser-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/open-browser-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/open-browser-${PKGVERSION}/html/open-browser.haddock
+share/doc/${HS_PLATFORM}/open-browser-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/open-browser-${PKGVERSION}/html/synopsis.png
diff -r 212db591362b -r bae3653e3dd5 www/hs-open-browser/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/hs-open-browser/buildlink3.mk Thu Feb 24 00:59:49 2022 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/24 00:59:49 pho Exp $
+
+BUILDLINK_TREE+=       hs-open-browser
+
+.if !defined(HS_OPEN_BROWSER_BUILDLINK3_MK)
+HS_OPEN_BROWSER_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-open-browser+=        hs-open-browser>=0.2.1
+BUILDLINK_ABI_DEPENDS.hs-open-browser+=        hs-open-browser>=0.2.1.0
+BUILDLINK_PKGSRCDIR.hs-open-browser?=  ../../www/hs-open-browser
+.endif # HS_OPEN_BROWSER_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-open-browser
diff -r 212db591362b -r bae3653e3dd5 www/hs-open-browser/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/hs-open-browser/distinfo      Thu Feb 24 00:59:49 2022 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/02/24 00:59:49 pho Exp $
+
+BLAKE2s (open-browser-0.2.1.0.tar.gz) = 417691745051fc2383571f0a2a20f75c78abf870c508b7befa2a31172b0f1233
+SHA512 (open-browser-0.2.1.0.tar.gz) = 94ba71597c270b518742534b1b9b9a7ca0ede2eeb08a030b03cca6dbe6e5a2de363dc443bae907ca5c90b126aeb7dc5f5dd1eada95ca78a0ba1a8d472df4ada1
+Size (open-browser-0.2.1.0.tar.gz) = 2629 bytes
+SHA1 (patch-open-browser.cabal) = 210d93308d7de548fbb9ddb9a332ae2d4706aa51
diff -r 212db591362b -r bae3653e3dd5 www/hs-open-browser/patches/patch-open-browser.cabal
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/hs-open-browser/patches/patch-open-browser.cabal      Thu Feb 24 00:59:49 2022 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-open-browser.cabal,v 1.1 2022/02/24 00:59:49 pho Exp $
+
+Don't build the example executable.
+
+--- open-browser.cabal.orig    2022-02-20 04:36:19.916280376 +0000
++++ open-browser.cabal
+@@ -35,6 +35,7 @@ library
+         cpp-options:        "-DWINDOWS_CCONV=ccall"
+ 
+ executable example
++    buildable:              false
+     main-is:                Main.hs
+     hs-source-dirs:         example
+     default-language:       Haskell2010



Home | Main Index | Thread Index | Old Index