pkgsrc-WIP-changes archive

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

mount-zip-git: mount-zip package for tracking its git head



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Thu Dec 16 10:57:29 2021 +0100
Changeset:	fd474c438494426df2cb2a5a6664ec2938b2ab6a

Modified Files:
	Makefile
Added Files:
	mount-zip-git/DESCR
	mount-zip-git/Makefile
	mount-zip-git/PLIST
	mount-zip-git/TODO

Log Message:
mount-zip-git: mount-zip package for tracking its git head

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fd474c438494426df2cb2a5a6664ec2938b2ab6a

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

diffstat:
 Makefile               |  5 ++++-
 mount-zip-git/DESCR    |  4 ++++
 mount-zip-git/Makefile | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 mount-zip-git/PLIST    |  3 +++
 mount-zip-git/TODO     |  1 +
 5 files changed, 62 insertions(+), 1 deletion(-)

diffs:
diff --git a/Makefile b/Makefile
index 3b60e7e174..c31110f68a 100644
--- a/Makefile
+++ b/Makefile
@@ -1210,7 +1210,6 @@ SUBDIR+=	gnunet-gtk
 SUBDIR+=	gnupoc-makesis
 SUBDIR+=	gnurl
 SUBDIR+=	gnutls-guile
-SUBDIR+=	go118
 SUBDIR+=	go-amqp
 SUBDIR+=	go-ansi
 SUBDIR+=	go-ansicolor
@@ -1365,6 +1364,7 @@ SUBDIR+=	go-uuid-myesui
 SUBDIR+=	go-xid
 SUBDIR+=	go-zeroconf
 SUBDIR+=	go-zipexe
+SUBDIR+=	go118
 SUBDIR+=	goattracker
 SUBDIR+=	godura
 SUBDIR+=	goldendict
@@ -2435,6 +2435,7 @@ SUBDIR+=	mothur
 SUBDIR+=	motion
 SUBDIR+=	motti
 SUBDIR+=	mount-zip
+SUBDIR+=	mount-zip-git
 SUBDIR+=	mozart
 SUBDIR+=	mozjpeg
 SUBDIR+=	mozldap
@@ -4754,6 +4755,8 @@ SUBDIR+=	py-trio
 SUBDIR+=	py-trollius
 SUBDIR+=	py-trottersuzuki
 SUBDIR+=	py-trufflehog3
+SUBDIR+=	py-tryton
+SUBDIR+=	py-trytond
 SUBDIR+=	py-tsgeom
 SUBDIR+=	py-ttk
 SUBDIR+=	py-turbojson
diff --git a/mount-zip-git/DESCR b/mount-zip-git/DESCR
new file mode 100644
index 0000000000..1c3f14c354
--- /dev/null
+++ b/mount-zip-git/DESCR
@@ -0,0 +1,4 @@
+mount-zip is a tool allowing to open, explore and extract ZIP
+archives.
+
+mount-zip mounts a ZIP archive as a read-only.
diff --git a/mount-zip-git/Makefile b/mount-zip-git/Makefile
new file mode 100644
index 0000000000..0818b88db1
--- /dev/null
+++ b/mount-zip-git/Makefile
@@ -0,0 +1,50 @@
+# $NetBSD$
+
+DISTNAME=	mount-zip-1.0.3
+CATEGORIES=	filesystems
+MASTER_SITES=	${MASTER_SITE_GITHUB:=google/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/google/mount-zip/
+COMMENT=	Read-only FUSE file system for ZIP archives
+LICENSE=	gnu-gpl-v3
+
+GIT_REPO=	git://github.com/google/mount-zip.git
+
+USE_LANGUAGES=	c++20
+# GCC 8.4.0 is not good enough for this particular package. But pho@
+# doesn't know which one is the exact minimum. It's somewhere between
+# 8.4 < x <= 9.
+GCC_REQD+=	9
+USE_TOOLS+=	gmake pkg-config
+
+# TODO: mk/fuse.buildlink3.mk does this for CFLAGS.NetBSD, but it's
+# actually a preprocessor flag so pho@ thinks it's wrong. pho@ just
+# doesn't want to touch any mk/* in the pre-freeze phase.
+CPPFLAGS.NetBSD+=	-D_KERNTYPES
+# The underlying problem was that our <puffs.h> #include'd
+# <fs/puffs/puffs_msgif.h> and exposed kernel types, and thus
+# -D_KERNTYPES was required to use the header. This is no longer the
+# case as of HEAD@2021-12-03.
+
+# GCC < 10 doesn't support -std=c++20. Use c++2a instead.
+BUILDLINK_TRANSFORM+=	opt:-std=c++20:-std=c++2a
+
+# Required for generating a man page.
+# TODO: Pandoc is not portable enough, because GHC isn't. We should
+# probably put a pre-generated man page in ${FILESDIR}.
+BUILD_DEPENDS+=	pandoc-[0-9]*:../../converters/pandoc
+
+INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1
+INSTALL_MAKE_FLAGS+=	bindir=${PREFIX:Q}/bin
+INSTALL_MAKE_FLAGS+=	INSTALL_PROGRAM=${INSTALL_PROGRAM:Q}
+INSTALL_MAKE_FLAGS+=	INSTALL_DATA=${INSTALL_DATA:Q}
+INSTALL_MAKE_FLAGS+=	MANDIR=${PREFIX:Q}/${PKGMANDIR:Q}/man1
+
+.include "../../wip/mk/git-package.mk"
+.include "../../archivers/libzip/buildlink3.mk"
+.include "../../devel/boost-headers/buildlink3.mk"
+.include "../../textproc/icu/buildlink3.mk"
+.include "../../mk/fuse.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mount-zip-git/PLIST b/mount-zip-git/PLIST
new file mode 100644
index 0000000000..122411a7e2
--- /dev/null
+++ b/mount-zip-git/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/mount-zip
+man/man1/mount-zip.1
diff --git a/mount-zip-git/TODO b/mount-zip-git/TODO
new file mode 100644
index 0000000000..a515fc56a0
--- /dev/null
+++ b/mount-zip-git/TODO
@@ -0,0 +1 @@
+Eliminate BUILD_DEPENDS on pandoc (see Makefile).


Home | Main Index | Thread Index | Old Index