Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Feb 2024 11:02:36 GMT
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 941d3b158512 - main - textproc/texi2mdoc: move manpages to share/man
Message-ID:  <202402291102.41TB2aje081279@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=941d3b1585128ba43f566df5a0b86323d7e09519

commit 941d3b1585128ba43f566df5a0b86323d7e09519
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2024-02-29 11:02:08 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2024-02-29 11:02:36 +0000

    textproc/texi2mdoc: move manpages to share/man
    
    Reported by:    bofh
---
 textproc/texi2mdoc/Makefile             |  3 ++-
 textproc/texi2mdoc/files/patch-Makefile | 14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/textproc/texi2mdoc/Makefile b/textproc/texi2mdoc/Makefile
index b4ab18e28332..55d384bc892d 100644
--- a/textproc/texi2mdoc/Makefile
+++ b/textproc/texi2mdoc/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	texi2mdoc
 PORTVERSION=	0.1.2
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	http://mdocml.bsd.lv/texi2mdoc/snapshots/
 
@@ -12,7 +13,7 @@ LICENSE=	ISCL
 USES=		tar:tgz
 
 PLIST_FILES=	bin/${PORTNAME} \
-		man/man1/${PORTNAME}.1.gz
+		share/man/man1/${PORTNAME}.1.gz
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 
diff --git a/textproc/texi2mdoc/files/patch-Makefile b/textproc/texi2mdoc/files/patch-Makefile
new file mode 100644
index 000000000000..1230867ad8cb
--- /dev/null
+++ b/textproc/texi2mdoc/files/patch-Makefile
@@ -0,0 +1,14 @@
+--- Makefile.orig	2024-02-29 11:01:17 UTC
++++ Makefile
+@@ -17,9 +17,9 @@ install: all
+ 
+ install: all
+ 	mkdir -p $(DESTDIR)$(PREFIX)/bin
+-	mkdir -p $(DESTDIR)$(PREFIX)/man/man1
++	mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
+ 	install -m 0755 texi2mdoc $(DESTDIR)$(PREFIX)/bin
+-	install -m 0444 texi2mdoc.1 $(DESTDIR)$(PREFIX)/man/man1
++	install -m 0444 texi2mdoc.1 $(DESTDIR)$(PREFIX)/share/man/man1
+ 
+ installwww: www
+ 	mkdir -p $(PREFIX)/snapshots



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