git: 1535ced87224 - main - devel/exercisix: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Mon, 18 Mar 2024 10:25:52 UTC
The branch main has been updated by naddy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1535ced87224d733b4a9c4cf51f6dfecf608eba6

commit 1535ced87224d733b4a9c4cf51f6dfecf608eba6
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-18 09:36:20 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-18 10:25:39 +0000

    devel/exercisix: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 devel/exercisix/Makefile             |  1 +
 devel/exercisix/files/patch-Makefile | 15 ++++++++++++---
 devel/exercisix/pkg-plist            |  2 +-
 3 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/devel/exercisix/Makefile b/devel/exercisix/Makefile
index 992f1b15edb9..cf9db3e71ba9 100644
--- a/devel/exercisix/Makefile
+++ b/devel/exercisix/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	exercisix
 PORTVERSION=	1.2
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://alexanderchuranov.com/files/
 
diff --git a/devel/exercisix/files/patch-Makefile b/devel/exercisix/files/patch-Makefile
index 297b59717bb8..418ed9117166 100644
--- a/devel/exercisix/files/patch-Makefile
+++ b/devel/exercisix/files/patch-Makefile
@@ -1,6 +1,15 @@
---- ./Makefile.orig	2014-02-18 11:06:36.485355646 +0100
-+++ ./Makefile	2014-02-18 11:07:14.494356722 +0100
-@@ -22,12 +22,12 @@
+--- Makefile.orig	2009-05-15 15:11:40 UTC
++++ Makefile
+@@ -2,7 +2,7 @@ INCLUDEDIR=$(PREFIX)/include
+ PREFIX?=/usr/local
+ 
+ INCLUDEDIR=$(PREFIX)/include
+-MANDIR=$(PREFIX)/man/man
++MANDIR=$(PREFIX)/share/man/man
+ FILESDIR=$(PREFIX)/share/examples/exercisix
+ 
+ INCS=exercisix.hh
+@@ -22,12 +22,12 @@ install: all $(FILESDIR)
  .PHONY: clean
  
  install: all $(FILESDIR)
diff --git a/devel/exercisix/pkg-plist b/devel/exercisix/pkg-plist
index da6271902d88..708c0bf48f2a 100644
--- a/devel/exercisix/pkg-plist
+++ b/devel/exercisix/pkg-plist
@@ -1,4 +1,4 @@
 include/exercisix.hh
 share/examples/exercisix/BSDmakefile
 share/examples/exercisix/example.cc
-man/man3/exercisix.3.gz
+share/man/man3/exercisix.3.gz