aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@gmail.com>2024-01-24 05:30:23 +0000
committerGleb Popov <arrowd@FreeBSD.org>2024-01-27 10:52:27 +0000
commit96fb67aad0aa8e2474c06ac75e7e424a30ce8cb7 (patch)
treee66ebc42562bf523148f261cf94895c3ea7d6cf5
parentbafc6672e6a6a74229b0d82809f6ef8e7c20778c (diff)
downloadports-96fb67aad0aa8e2474c06ac75e7e424a30ce8cb7.tar.gz
ports-96fb67aad0aa8e2474c06ac75e7e424a30ce8cb7.zip
archivers/lizard: move manpages to share/man
Approved by: portmgr (blanket)
-rw-r--r--archivers/lizard/Makefile1
-rw-r--r--archivers/lizard/files/patch-programs_Makefile11
-rw-r--r--archivers/lizard/pkg-plist6
3 files changed, 15 insertions, 3 deletions
diff --git a/archivers/lizard/Makefile b/archivers/lizard/Makefile
index e78de3026939..6703b5e74844 100644
--- a/archivers/lizard/Makefile
+++ b/archivers/lizard/Makefile
@@ -1,6 +1,7 @@
PORTNAME= lizard
DISTVERSIONPREFIX= v
DISTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= archivers
MAINTAINER= tagattie@FreeBSD.org
diff --git a/archivers/lizard/files/patch-programs_Makefile b/archivers/lizard/files/patch-programs_Makefile
new file mode 100644
index 000000000000..b59f4fdb8799
--- /dev/null
+++ b/archivers/lizard/files/patch-programs_Makefile
@@ -0,0 +1,11 @@
+--- programs/Makefile.orig 2024-01-24 05:25:28 UTC
++++ programs/Makefile
+@@ -117,7 +117,7 @@ BINDIR ?= $(PREFIX)/bin
+ DESTDIR ?=
+ BINDIR ?= $(PREFIX)/bin
+
+-ifneq (,$(filter $(shell uname),OpenBSD FreeBSD NetBSD DragonFly SunOS))
++ifneq (,$(filter $(shell uname),OpenBSD NetBSD DragonFly SunOS))
+ MANDIR ?= $(PREFIX)/man/man1
+ else
+ MANDIR ?= $(PREFIX)/share/man/man1
diff --git a/archivers/lizard/pkg-plist b/archivers/lizard/pkg-plist
index df125082d16f..861efd21a5d2 100644
--- a/archivers/lizard/pkg-plist
+++ b/archivers/lizard/pkg-plist
@@ -9,6 +9,6 @@ lib/liblizard.so
lib/liblizard.so.1
lib/liblizard.so.1.0.0
libdata/pkgconfig/liblizard.pc
-man/man1/lizard.1.gz
-man/man1/lizardcat.1.gz
-man/man1/unlizard.1.gz
+share/man/man1/lizard.1.gz
+share/man/man1/lizardcat.1.gz
+share/man/man1/unlizard.1.gz