git: 8755995929d4 - main - games/golddig: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 24 Feb 2024 07:08:35 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8755995929d4ed0c988c2f8086c9d7e675ef4cb7

commit 8755995929d4ed0c988c2f8086c9d7e675ef4cb7
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 06:54:18 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 07:08:07 +0000

    games/golddig: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 games/golddig/Makefile             |  2 +-
 games/golddig/files/patch-Makefile | 27 ++++++++++++++++++++++++---
 games/golddig/pkg-plist            |  4 ++--
 3 files changed, 27 insertions(+), 6 deletions(-)

diff --git a/games/golddig/Makefile b/games/golddig/Makefile
index 9307896f85fc..fe13a4386b36 100644
--- a/games/golddig/Makefile
+++ b/games/golddig/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	golddig
 PORTVERSION=	3.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	games
 MASTER_SITES=	http://www.NetBSD.org/~chuck/gz/
 DISTNAME=	${PORTNAME}C${PORTVERSION}
diff --git a/games/golddig/files/patch-Makefile b/games/golddig/files/patch-Makefile
index 33656264b813..4181ffd33bac 100644
--- a/games/golddig/files/patch-Makefile
+++ b/games/golddig/files/patch-Makefile
@@ -1,6 +1,27 @@
---- Makefile.orig	2008-11-25 00:26:32.000000000 +0300
-+++ Makefile	2014-05-26 13:44:10.000000000 +0400
-@@ -49,36 +49,29 @@
+--- Makefile.orig	2008-11-24 21:26:32 UTC
++++ Makefile
+@@ -1,7 +1,7 @@
+-# This program was written by Alexander Siegel in September of 1989   
+-# at Cornell University.  It may may copied freely for private use or 
+-# public dispersion provided that this comment is not removed.  This  
+-# program, any portion of this program, or any derivative of this     
++# This program was written by Alexander Siegel in September of 1989
++# at Cornell University.  It may may copied freely for private use or
++# public dispersion provided that this comment is not removed.  This
++# program, any portion of this program, or any derivative of this
+ # program may not be sold or traded for financial gain.
+ 
+ # Name of game executable
+@@ -15,7 +15,7 @@ MANEXT = 6
+ #LIB = levs
+ # Directory where manual pages are kept
+ MANEXT = 6
+-MAN = ${PREFIX}/man/man${MANEXT}
++MAN = ${PREFIX}/share/man/man${MANEXT}
+ # Add vms.c and vms.o to these lists if the operating system is VMS
+ SRCS = golddig.c shared.c badguy.c movement.c scores.c moveall.c
+ OBJS = golddig.o shared.o badguy.o movement.o scores.o moveall.o
+@@ -49,36 +49,29 @@ BSD_INSTALL_GAME_DIR?= \
  #
  #
  BSD_INSTALL_GAME_DIR?= \
diff --git a/games/golddig/pkg-plist b/games/golddig/pkg-plist
index 9e792cc20c0e..ff5949b47507 100644
--- a/games/golddig/pkg-plist
+++ b/games/golddig/pkg-plist
@@ -1,7 +1,7 @@
 bin/gdedit
 @(root,games,2555) bin/golddig
-man/man6/gdedit.6.gz
-man/man6/golddig.6.gz
+share/man/man6/gdedit.6.gz
+share/man/man6/golddig.6.gz
 %%DATADIR%%/default
 %%DATADIR%%/goldlev001
 %%DATADIR%%/goldlev002