pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/hs-magic



Module Name:    pkgsrc
Committed By:   pho
Date:           Thu Nov  2 02:10:03 UTC 2023

Added Files:
        pkgsrc/misc/hs-magic: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
misc/hs-magic: import hs-magic-1.1

This package provides a Haskell interface to the C libmagic library. With
it, you can determine the type of a file by examining its contents rather
than its name. The Haskell interface provides a full-featured binding.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/hs-magic/DESCR \
    pkgsrc/misc/hs-magic/Makefile pkgsrc/misc/hs-magic/PLIST \
    pkgsrc/misc/hs-magic/buildlink3.mk pkgsrc/misc/hs-magic/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/misc/hs-magic/DESCR
diff -u /dev/null pkgsrc/misc/hs-magic/DESCR:1.1
--- /dev/null   Thu Nov  2 02:10:03 2023
+++ pkgsrc/misc/hs-magic/DESCR  Thu Nov  2 02:10:03 2023
@@ -0,0 +1,3 @@
+This package provides a Haskell interface to the C libmagic library. With
+it, you can determine the type of a file by examining its contents rather
+than its name. The Haskell interface provides a full-featured binding.
Index: pkgsrc/misc/hs-magic/Makefile
diff -u /dev/null pkgsrc/misc/hs-magic/Makefile:1.1
--- /dev/null   Thu Nov  2 02:10:03 2023
+++ pkgsrc/misc/hs-magic/Makefile       Thu Nov  2 02:10:03 2023
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2023/11/02 02:10:03 pho Exp $
+
+DISTNAME=      magic-1.1
+CATEGORIES=    misc
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Interface to C file/magic library
+LICENSE=       modified-bsd
+
+.include "../../sysutils/file/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/misc/hs-magic/PLIST
diff -u /dev/null pkgsrc/misc/hs-magic/PLIST:1.1
--- /dev/null   Thu Nov  2 02:10:03 2023
+++ pkgsrc/misc/hs-magic/PLIST  Thu Nov  2 02:10:03 2023
@@ -0,0 +1,43 @@
+@comment $NetBSD: PLIST,v 1.1 2023/11/02 02:10:03 pho Exp $
+lib/magic-${PKGVERSION}/${HS_VERSION}/package-description
+lib/magic-${PKGVERSION}/${HS_VERSION}/package-id
+${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Magic.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Magic.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Magic.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Magic/Data.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Magic/Data.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Magic/Data.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Magic/Init.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Magic/Init.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Magic/Init.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Magic/Operations.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Magic/Operations.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Magic/Operations.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Magic/Types.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Magic/Types.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Magic/Types.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Magic/TypesLL.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Magic/TypesLL.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Magic/TypesLL.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Magic/Utils.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Magic/Utils.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Magic/Utils.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+share/doc/${HS_PLATFORM}/magic-${PKGVERSION}/COPYING
+${PLIST.doc}share/doc/${HS_PLATFORM}/magic-${PKGVERSION}/html/Magic-Data.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/magic-${PKGVERSION}/html/Magic-Init.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/magic-${PKGVERSION}/html/Magic-Operations.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/magic-${PKGVERSION}/html/Magic-Types.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/magic-${PKGVERSION}/html/Magic.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/magic-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/magic-${PKGVERSION}/html/doc-index.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/magic-${PKGVERSION}/html/haddock-bundle.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/magic-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/magic-${PKGVERSION}/html/linuwial.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/magic-${PKGVERSION}/html/magic.haddock
+${PLIST.doc}share/doc/${HS_PLATFORM}/magic-${PKGVERSION}/html/meta.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/magic-${PKGVERSION}/html/quick-jump.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/magic-${PKGVERSION}/html/quick-jump.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/magic-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/misc/hs-magic/buildlink3.mk
diff -u /dev/null pkgsrc/misc/hs-magic/buildlink3.mk:1.1
--- /dev/null   Thu Nov  2 02:10:03 2023
+++ pkgsrc/misc/hs-magic/buildlink3.mk  Thu Nov  2 02:10:03 2023
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2023/11/02 02:10:03 pho Exp $
+
+BUILDLINK_TREE+=       hs-magic
+
+.if !defined(HS_MAGIC_BUILDLINK3_MK)
+HS_MAGIC_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-magic+=       hs-magic>=1.1
+BUILDLINK_ABI_DEPENDS.hs-magic+=       hs-magic>=1.1
+BUILDLINK_PKGSRCDIR.hs-magic?=         ../../misc/hs-magic
+
+.include "../../sysutils/file/buildlink3.mk"
+.endif # HS_MAGIC_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-magic
Index: pkgsrc/misc/hs-magic/distinfo
diff -u /dev/null pkgsrc/misc/hs-magic/distinfo:1.1
--- /dev/null   Thu Nov  2 02:10:03 2023
+++ pkgsrc/misc/hs-magic/distinfo       Thu Nov  2 02:10:03 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/11/02 02:10:03 pho Exp $
+
+BLAKE2s (magic-1.1.tar.gz) = 28f40d56ff5e2078706ff8fa50ce85a881de7ca9c3c55976442c69c6b3cfb713
+SHA512 (magic-1.1.tar.gz) = f400396b0f82f9655376ac72e721badcf60c356c8594b4b67922890f55bac8e15b7aa856fdf61942c40b2622bdc231914994968af3b98d353bf50aed09ebbef5
+Size (magic-1.1.tar.gz) = 4318 bytes



Home | Main Index | Thread Index | Old Index