pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/hs-githash devel/hs-githash: import hs-githash-0...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9cac35c6af96
branches: trunk
changeset: 373660:9cac35c6af96
user: pho <pho%pkgsrc.org@localhost>
date: Sat Feb 12 07:52:15 2022 +0000
description:
devel/hs-githash: import hs-githash-0.1.6.2
Some handy Template Haskell splices for including the current git hash and
branch in the code of your project. Useful for including in panic messages,
--version output, or diagnostic info for more informative bug reports.
diffstat:
devel/hs-githash/DESCR | 3 +++
devel/hs-githash/Makefile | 12 ++++++++++++
devel/hs-githash/PLIST | 22 ++++++++++++++++++++++
devel/hs-githash/buildlink3.mk | 15 +++++++++++++++
devel/hs-githash/distinfo | 5 +++++
5 files changed, 57 insertions(+), 0 deletions(-)
diffs (77 lines):
diff -r 747f364af77d -r 9cac35c6af96 devel/hs-githash/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-githash/DESCR Sat Feb 12 07:52:15 2022 +0000
@@ -0,0 +1,3 @@
+Some handy Template Haskell splices for including the current git hash and
+branch in the code of your project. Useful for including in panic messages,
+--version output, or diagnostic info for more informative bug reports.
diff -r 747f364af77d -r 9cac35c6af96 devel/hs-githash/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-githash/Makefile Sat Feb 12 07:52:15 2022 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2022/02/12 07:52:15 pho Exp $
+
+DISTNAME= githash-0.1.6.2
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= Compile git revision info into Haskell projects
+LICENSE= modified-bsd
+
+.include "../../devel/hs-th-compat/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 747f364af77d -r 9cac35c6af96 devel/hs-githash/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-githash/PLIST Sat Feb 12 07:52:15 2022 +0000
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/12 07:52:15 pho Exp $
+lib/githash-${PKGVERSION}/${HS_VERSION}/package-description
+lib/githash-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/${HS_PKGID}/GitHash.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/GitHash.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/GitHash.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Paths_githash.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Paths_githash.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Paths_githash.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+share/doc/${HS_PLATFORM}/githash-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/githash-${PKGVERSION}/html/GitHash.html
+share/doc/${HS_PLATFORM}/githash-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/githash-${PKGVERSION}/html/githash.haddock
+share/doc/${HS_PLATFORM}/githash-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/githash-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/githash-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/githash-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/githash-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/githash-${PKGVERSION}/html/synopsis.png
diff -r 747f364af77d -r 9cac35c6af96 devel/hs-githash/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-githash/buildlink3.mk Sat Feb 12 07:52:15 2022 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/12 07:52:15 pho Exp $
+
+BUILDLINK_TREE+= hs-githash
+
+.if !defined(HS_GITHASH_BUILDLINK3_MK)
+HS_GITHASH_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-githash+= hs-githash>=0.1.6
+BUILDLINK_ABI_DEPENDS.hs-githash+= hs-githash>=0.1.6.2
+BUILDLINK_PKGSRCDIR.hs-githash?= ../../devel/hs-githash
+
+.include "../../devel/hs-th-compat/buildlink3.mk"
+.endif # HS_GITHASH_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-githash
diff -r 747f364af77d -r 9cac35c6af96 devel/hs-githash/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-githash/distinfo Sat Feb 12 07:52:15 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/02/12 07:52:15 pho Exp $
+
+BLAKE2s (githash-0.1.6.2.tar.gz) = 1a75fea165c99f574b02a646bfc68f6d82d001e0b6e03a38191a9124443272d2
+SHA512 (githash-0.1.6.2.tar.gz) = 14ae039e7dbf4f3bf42a3f60f98625921215b152996f32f06f45eab9945aa1d198cf21209ca5475788050e7a5210838cf1a8746544f48bf26d85636a1a08bfcc
+Size (githash-0.1.6.2.tar.gz) = 7569 bytes
Home |
Main Index |
Thread Index |
Old Index