pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/libhubbub
Module Name: pkgsrc
Committed By: pho
Date: Fri Feb 7 16:02:59 UTC 2025
Added Files:
pkgsrc/www/libhubbub: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
www/libhubbub: import libhubbub-0.3.8
Hubbub is an HTML5 compliant parsing library, written in C. It was
developed as part of the NetSurf project and is available for use by other
software under the MIT licence.
The HTML5 specification defines a parsing algorithm, based on the behaviour
of mainstream browsers, which provides instructions for how to parse all
markup, both valid and invalid. As a result, Hubbub parses web content
well.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/libhubbub/DESCR \
pkgsrc/www/libhubbub/Makefile pkgsrc/www/libhubbub/PLIST \
pkgsrc/www/libhubbub/buildlink3.mk pkgsrc/www/libhubbub/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/www/libhubbub/DESCR
diff -u /dev/null pkgsrc/www/libhubbub/DESCR:1.1
--- /dev/null Fri Feb 7 16:02:59 2025
+++ pkgsrc/www/libhubbub/DESCR Fri Feb 7 16:02:58 2025
@@ -0,0 +1,8 @@
+Hubbub is an HTML5 compliant parsing library, written in C. It was
+developed as part of the NetSurf project and is available for use by other
+software under the MIT licence.
+
+The HTML5 specification defines a parsing algorithm, based on the behaviour
+of mainstream browsers, which provides instructions for how to parse all
+markup, both valid and invalid. As a result, Hubbub parses web content
+well.
Index: pkgsrc/www/libhubbub/Makefile
diff -u /dev/null pkgsrc/www/libhubbub/Makefile:1.1
--- /dev/null Fri Feb 7 16:02:59 2025
+++ pkgsrc/www/libhubbub/Makefile Fri Feb 7 16:02:58 2025
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2025/02/07 16:02:58 pho Exp $
+
+DISTNAME= libhubbub-0.3.8-src
+PKGNAME= ${DISTNAME:S/-src$//}
+CATEGORIES= www
+MASTER_SITES= https://download.netsurf-browser.org/libs/releases/
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://www.netsurf-browser.org/projects/hubbub/
+COMMENT= HTML5 compliant parsing library
+LICENSE= mit
+
+USE_LANGUAGES= c
+USE_CC_FEATURES= c99
+USE_TOOLS+= gmake perl
+
+MAKE_ENV+= PREFIX=${PREFIX:Q}
+MAKE_ENV+= COMPONENT_TYPE=lib-shared
+MAKE_ENV+= PKGCONFIG=${TOOLS_CMD.pkg-config:Q}
+
+BUILDLINK_TRANSFORM+= rm:-Werror
+
+TOOL_DEPENDS+= netsurf-buildsystem-[0-9]*:../../devel/netsurf-buildsystem
+
+.include "../../textproc/libparserutils/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/libhubbub/PLIST
diff -u /dev/null pkgsrc/www/libhubbub/PLIST:1.1
--- /dev/null Fri Feb 7 16:02:59 2025
+++ pkgsrc/www/libhubbub/PLIST Fri Feb 7 16:02:58 2025
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2025/02/07 16:02:58 pho Exp $
+include/hubbub/errors.h
+include/hubbub/functypes.h
+include/hubbub/hubbub.h
+include/hubbub/parser.h
+include/hubbub/tree.h
+include/hubbub/types.h
+lib/libhubbub.so
+lib/libhubbub.so.0
+lib/libhubbub.so.${PKGVERSION}
+lib/pkgconfig/libhubbub.pc
Index: pkgsrc/www/libhubbub/buildlink3.mk
diff -u /dev/null pkgsrc/www/libhubbub/buildlink3.mk:1.1
--- /dev/null Fri Feb 7 16:02:59 2025
+++ pkgsrc/www/libhubbub/buildlink3.mk Fri Feb 7 16:02:59 2025
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2025/02/07 16:02:59 pho Exp $
+
+BUILDLINK_TREE+= libhubbub
+
+.if !defined(LIBHUBBUB_BUILDLINK3_MK)
+LIBHUBBUB_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libhubbub+= libhubbub>=0.3.8
+BUILDLINK_PKGSRCDIR.libhubbub?= ../../www/libhubbub
+
+.include "../../textproc/libparserutils/buildlink3.mk"
+.endif # LIBHUBBUB_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libhubbub
Index: pkgsrc/www/libhubbub/distinfo
diff -u /dev/null pkgsrc/www/libhubbub/distinfo:1.1
--- /dev/null Fri Feb 7 16:02:59 2025
+++ pkgsrc/www/libhubbub/distinfo Fri Feb 7 16:02:59 2025
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2025/02/07 16:02:59 pho Exp $
+
+BLAKE2s (libhubbub-0.3.8-src.tar.gz) = 5f77405b3de9a93b27ca69fa70026b2d7320893bacb7f8f99ca320cba7d2e81e
+SHA512 (libhubbub-0.3.8-src.tar.gz) = 7f0e4a2494a73a1a84e6d41f18deb9aa8c2f16da7b39bdf9cb96110567b17f50b6c65e0d3a91d5393829ae1b8651d153fb678085747f59664cad4209b6a1a96b
+Size (libhubbub-0.3.8-src.tar.gz) = 780549 bytes
Home |
Main Index |
Thread Index |
Old Index