pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/gemtext2html
Module Name: pkgsrc
Committed By: js
Date: Thu Jun 18 22:03:18 UTC 2026
Added Files:
pkgsrc/textproc/gemtext2html: DESCR Makefile PLIST buildlink3.mk
distinfo
Log Message:
Add textproc/gemtext2html
Gemtext2HTML is a simple ObjC library with a C interface and a command line
utility that translates Gemtext to HTML.
The command line utitlity acts as a filter, meaning it reads Gemtext from stdin
and outputs HTML to stdout. This can be used to render Gemtext in Forgejo,
including a "README.gmi" file.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/gemtext2html/DESCR \
pkgsrc/textproc/gemtext2html/Makefile pkgsrc/textproc/gemtext2html/PLIST \
pkgsrc/textproc/gemtext2html/buildlink3.mk \
pkgsrc/textproc/gemtext2html/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/textproc/gemtext2html/DESCR
diff -u /dev/null pkgsrc/textproc/gemtext2html/DESCR:1.1
--- /dev/null Thu Jun 18 22:03:18 2026
+++ pkgsrc/textproc/gemtext2html/DESCR Thu Jun 18 22:03:18 2026
@@ -0,0 +1,6 @@
+Gemtext2HTML is a simple ObjC library with a C interface and a command line
+utility that translates Gemtext to HTML.
+
+The command line utitlity acts as a filter, meaning it reads Gemtext from stdin
+and outputs HTML to stdout. This can be used to render Gemtext in Forgejo,
+including a "README.gmi" file.
Index: pkgsrc/textproc/gemtext2html/Makefile
diff -u /dev/null pkgsrc/textproc/gemtext2html/Makefile:1.1
--- /dev/null Thu Jun 18 22:03:18 2026
+++ pkgsrc/textproc/gemtext2html/Makefile Thu Jun 18 22:03:18 2026
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2026/06/18 22:03:18 js Exp $
+
+PKGNAME= gemtext2html-0.1
+DISTNAME= v${PKGVERSION_NOREV}
+CATEGORIES= textproc
+MASTER_SITES= https://git.nil.im/js/Gemtext2HTML/archive/
+DIST_SUBDIR= gemtext2html
+
+MAINTAINER= js%NetBSD.org@localhost
+HOMEPAGE= gemini://nil.im/gemtext2html
+COMMENT= Simple library and command line utility to translate Gemtext to HTML
+LICENSE= gnu-lgpl-v3
+
+WRKSRC= ${WRKDIR}/gemtext2html
+USE_LANGUAGES= objc
+USE_TOOLS+= pkg-config
+PKGSRC_COMPILER= clang # Needs to be the same as devel/objfw
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Darwin"
+TOOL_DEPENDS+= clang>=3.2:../../lang/clang
+.endif
+
+.include "../../devel/objfw/buildlink3.mk"
+.include "../../devel/meson/build.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/gemtext2html/PLIST
diff -u /dev/null pkgsrc/textproc/gemtext2html/PLIST:1.1
--- /dev/null Thu Jun 18 22:03:18 2026
+++ pkgsrc/textproc/gemtext2html/PLIST Thu Jun 18 22:03:18 2026
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2026/06/18 22:03:18 js Exp $
+bin/gemtext2html
+include/Gemtext2HTML/G2HConverter.h
+include/Gemtext2HTML/Gemtext2HTML.h
+lib/libgemtext2html.so
+lib/libgemtext2html.so.${PKGVERSION}.0
+lib/objfw-config/Gemtext2HTML.oc
Index: pkgsrc/textproc/gemtext2html/buildlink3.mk
diff -u /dev/null pkgsrc/textproc/gemtext2html/buildlink3.mk:1.1
--- /dev/null Thu Jun 18 22:03:18 2026
+++ pkgsrc/textproc/gemtext2html/buildlink3.mk Thu Jun 18 22:03:18 2026
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2026/06/18 22:03:18 js Exp $
+
+BUILDLINK_TREE+= gemtext2html
+
+.if !defined(GEMTEXT2HTML_BUILDLINK3_MK)
+GEMTEXT2HTML_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.gemtext2html+= gemtext2html>=0.1
+BUILDLINK_ABI_DEPENDS.gemtext2html+= gemtext2html>=0.1
+BUILDLINK_PKGSRCDIR.gemtext2html?= ../../textproc/gemtext2html
+.endif
+
+BUILDLINK_TREE+= -gemtext2html
Index: pkgsrc/textproc/gemtext2html/distinfo
diff -u /dev/null pkgsrc/textproc/gemtext2html/distinfo:1.1
--- /dev/null Thu Jun 18 22:03:18 2026
+++ pkgsrc/textproc/gemtext2html/distinfo Thu Jun 18 22:03:18 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/06/18 22:03:18 js Exp $
+
+BLAKE2s (gemtext2html/v0.1.tar.gz) = b6b31ddd67b2214a7381e611b3e9ec789bbc7e5cb078088c11efe51a4b7a03e2
+SHA512 (gemtext2html/v0.1.tar.gz) = d65641e125c413808a7348fd10cbad62dab8608279078b6e770cee8867f545d2156a533a214aa738ea758e423e8aa846553cbddccf26d0b0d37fc6bf6bac1743
+Size (gemtext2html/v0.1.tar.gz) = 18576 bytes
Home |
Main Index |
Thread Index |
Old Index