aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Druzenko <vvd@FreeBSD.org>2024-03-05 20:49:06 +0000
committerVladimir Druzenko <vvd@FreeBSD.org>2024-03-05 23:35:42 +0000
commit726e07ec968a9424678d131a2b916b589b837725 (patch)
tree02efcfa40e352320e84cf9db0ee8d501f25929ab
parentaf9751dc83696137319e4c1c0600753c6fa47395 (diff)
downloadports-726e07ec968a9424678d131a2b916b589b837725.tar.gz
ports-726e07ec968a9424678d131a2b916b589b837725.zip
sysutils/fusefs-httpdirfs: Move man pages to share/man
Approved by: portmgr (blanket)
-rw-r--r--sysutils/fusefs-httpdirfs/Makefile3
-rw-r--r--sysutils/fusefs-httpdirfs/files/patch-Makefile13
2 files changed, 13 insertions, 3 deletions
diff --git a/sysutils/fusefs-httpdirfs/Makefile b/sysutils/fusefs-httpdirfs/Makefile
index 49493200010a..1b1d5d97ab59 100644
--- a/sysutils/fusefs-httpdirfs/Makefile
+++ b/sysutils/fusefs-httpdirfs/Makefile
@@ -1,5 +1,6 @@
PORTNAME= httpdirfs
DISTVERSION= 1.2.3
+PORTREVISION= 1
CATEGORIES= sysutils
PKGNAMEPREFIX= fusefs-
@@ -25,7 +26,7 @@ GH_ACCOUNT= fangfufu
MAKE_ENV= prefix=${PREFIX}
PLIST_FILES= bin/httpdirfs \
- man/man1/httpdirfs.1.gz
+ share/man/man1/httpdirfs.1.gz
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
diff --git a/sysutils/fusefs-httpdirfs/files/patch-Makefile b/sysutils/fusefs-httpdirfs/files/patch-Makefile
index 1658c327be30..9304cbac3dc6 100644
--- a/sysutils/fusefs-httpdirfs/files/patch-Makefile
+++ b/sysutils/fusefs-httpdirfs/files/patch-Makefile
@@ -1,10 +1,19 @@
---- Makefile.orig 2019-11-12 10:38:03 UTC
+--- Makefile.orig 2021-08-31 18:54:03 UTC
+++ Makefile
@@ -1,6 +1,6 @@
- VERSION=1.2.0
+ VERSION = 1.2.3
-CFLAGS += -O2 -Wall -Wextra -Wshadow -rdynamic -D_GNU_SOURCE\
+CFLAGS += -Wall -Wextra -Wshadow -D_GNU_SOURCE\
-D_FILE_OFFSET_BITS=64 -DVERSION=\"$(VERSION)\"\
`pkg-config --cflags-only-I gumbo libcurl fuse uuid expat`
LDFLAGS += `pkg-config --libs-only-L gumbo libcurl fuse uuid expat`
+@@ -44,7 +44,7 @@ ifeq ($(OS),FreeBSD)
+ $(DESTDIR)$(prefix)/bin/httpdirfs
+ gzip -f -k doc/man/httpdirfs.1
+ install -m 644 doc/man/httpdirfs.1.gz \
+- $(DESTDIR)$(prefix)/man/man1/httpdirfs.1.gz
++ $(DESTDIR)$(prefix)/share/man/man1/httpdirfs.1.gz
+ endif
+ ifeq ($(OS),Darwin)
+ install -d $(DESTDIR)$(prefix)/bin