pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
qman: add new package
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Mon Mar 2 14:40:10 2026 +0100
Changeset: bef7ee70277805a692197f9bf4d78a134a51c1a0
Modified Files:
Makefile
Added Files:
qman/DESCR
qman/Makefile
qman/PLIST
qman/distinfo
Log Message:
qman: add new package
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=bef7ee70277805a692197f9bf4d78a134a51c1a0
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
qman/DESCR | 11 +++++++++++
qman/Makefile | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
qman/PLIST | 18 ++++++++++++++++++
qman/distinfo | 5 +++++
5 files changed, 86 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index b0b85ae9d0..6d79b4841a 100644
--- a/Makefile
+++ b/Makefile
@@ -5098,6 +5098,7 @@ SUBDIR+= qimgv
SUBDIR+= qira
SUBDIR+= qlcplus
SUBDIR+= qlipper
+SUBDIR+= qman
SUBDIR+= qmc2
SUBDIR+= qmediamanager
SUBDIR+= qn-x11
diff --git a/qman/DESCR b/qman/DESCR
new file mode 100644
index 0000000000..ffd9f10ab3
--- /dev/null
+++ b/qman/DESCR
@@ -0,0 +1,11 @@
+Unix manual pages are lovely. They are concise, well-written,
+complete, and downright useful. However, the standard way of
+accessing them from the command-line hasn't changed since the early
+days.
+
+Qman aims to change that. It's a modern, full-featured manual page
+viewer featuring hyperlinks, web browser like navigation, a table
+of contents for each page, incremental search, on-line help, and
+more. It also strives to be fast and tiny, so that it can be used
+everywhere. For this reason, it's been written in plain C and has
+only minimal dependencies.
diff --git a/qman/Makefile b/qman/Makefile
new file mode 100644
index 0000000000..fe37af10cf
--- /dev/null
+++ b/qman/Makefile
@@ -0,0 +1,51 @@
+# $NetBSD$
+
+DISTNAME= qman-1.5.1
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=plp13/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/plp13/qman/
+COMMENT= Modern man page viewer
+LICENSE= modified-bsd
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-cogapp-[0-9]*:../../devel/py-cogapp
+
+USE_TOOLS+= pkg-config
+
+MESON_ARGS+= -Dtests=disabled
+MESON_ARGS+= -Dconfigdir=${PKG_SYSCONFDIR}
+
+EGDIR= share/examples/qman
+INSTALLATION_DIRS+= ${EGDIR} ${EGDIR}/themes
+
+OWN_DIRS+= ${PKG_SYSCONFDIR}/themes
+CONFIGS+= qman.conf
+CONFIGS+= themes/adwaita-light.conf
+CONFIGS+= themes/adwaita.conf
+CONFIGS+= themes/catppuccin_latte.conf
+CONFIGS+= themes/modernity-light.conf
+CONFIGS+= themes/modernity.conf
+.for f in ${CONFIGS}
+CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
+.endfor
+
+.include "../../mk/bsd.fast.prefs.mk"
+
+pre-configure:
+ ${LN} -s ${PREFIX}/bin/cog-${PYVERSSUFFIX} ${BUILDLINK_DIR}/bin/cog
+.if ${OPSYS} == NetBSD || ${OPSYS} == FreeBSD
+ ${ECHO} "[misc]" > ${WRKSRC}/config/qman.conf
+ ${ECHO} "system_type=freebsd" >> ${WRKSRC}/config/qman.conf
+.endif
+
+post-install:
+.for f in ${CONFIGS}
+ ${MV} ${DESTDIR}${PKG_SYSCONFDIR}/${f} ${DESTDIR}${PREFIX}/${EGDIR}/${f}
+.endfor
+
+.include "../../lang/python/pyversion.mk"
+.include "../../devel/meson/build.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/qman/PLIST b/qman/PLIST
new file mode 100644
index 0000000000..3a389cfe8b
--- /dev/null
+++ b/qman/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD$
+bin/qman
+man/man1/qman.1
+share/doc/qman/README.md
+share/doc/qman/config/README.md
+share/doc/qman/doc/BUILDING.md
+share/doc/qman/doc/CONTRIBUTING.md
+share/doc/qman/doc/DEBUGGING.md
+share/doc/qman/doc/OS_SPECIFIC.md
+share/doc/qman/doc/PACKAGES.md
+share/doc/qman/doc/TESTING.md
+share/doc/qman/doc/TROUBLESHOOTING.md
+share/examples/qman/qman.conf
+share/examples/qman/themes/adwaita-light.conf
+share/examples/qman/themes/adwaita.conf
+share/examples/qman/themes/catppuccin_latte.conf
+share/examples/qman/themes/modernity-light.conf
+share/examples/qman/themes/modernity.conf
diff --git a/qman/distinfo b/qman/distinfo
new file mode 100644
index 0000000000..c248356161
--- /dev/null
+++ b/qman/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (qman-1.5.1.tar.gz) = 77288acaa32ca215dc2642d42da687b3b1ce71d566a8e17af1b211452f16f08b
+SHA512 (qman-1.5.1.tar.gz) = b6eeb7f69fac7c08146fd0083a0f7e052d5bb5e01397330e1a4bb804832f0500254e564e9c6c63e8666cc6edfa0ac88b438fe4419af9a326f19d1edcc71ea3d2
+Size (qman-1.5.1.tar.gz) = 956756 bytes
Home |
Main Index |
Thread Index |
Old Index