Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2024 10:53:10 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 96fb67aad0aa - main - archivers/lizard: move manpages to share/man
Message-ID:  <202401271053.40RArASG080754@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=96fb67aad0aa8e2474c06ac75e7e424a30ce8cb7

commit 96fb67aad0aa8e2474c06ac75e7e424a30ce8cb7
Author:     Hiroki Tagato <tagattie@gmail.com>
AuthorDate: 2024-01-24 05:30:23 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-01-27 10:52:27 +0000

    archivers/lizard: move manpages to share/man
    
    Approved by:    portmgr (blanket)
---
 archivers/lizard/Makefile                      |  1 +
 archivers/lizard/files/patch-programs_Makefile | 11 +++++++++++
 archivers/lizard/pkg-plist                     |  6 +++---
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401271053.40RArASG080754>