git: 9152aa8f982e - main - games/rockdodger: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sun, 24 Mar 2024 13:43:34 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9152aa8f982ef1972dab9843347209b0a98796ec

commit 9152aa8f982ef1972dab9843347209b0a98796ec
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-24 13:25:42 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-24 13:43:20 +0000

    games/rockdodger: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 games/rockdodger/Makefile             |  1 +
 games/rockdodger/files/patch-Makefile | 14 ++++++--------
 games/rockdodger/pkg-plist            |  2 +-
 3 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/games/rockdodger/Makefile b/games/rockdodger/Makefile
index 5afb3e0f420f..5702b1e0a991 100644
--- a/games/rockdodger/Makefile
+++ b/games/rockdodger/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	rockdodger
 PORTVERSION=	1.1.4
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	https://bitbucket.org/rpkrawczyk/rockdodger/downloads/
 
diff --git a/games/rockdodger/files/patch-Makefile b/games/rockdodger/files/patch-Makefile
index 905f9d57d86e..e8ca6c9bdeeb 100644
--- a/games/rockdodger/files/patch-Makefile
+++ b/games/rockdodger/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig	2018-07-28 08:20:48 UTC
+--- Makefile.orig	2020-07-24 19:19:35 UTC
 +++ Makefile
-@@ -25,7 +25,7 @@ VRELEASE=3
+@@ -25,7 +25,7 @@ PACKAGENAME=rockdodger
  VERSION=$(VMAJOR).$(VMINOR).$(VRELEASE)
  PACKAGENAME=rockdodger
  
@@ -9,13 +9,11 @@
  INSTALL=/usr/bin/install
  TMP=/tmp
  
-@@ -34,14 +34,14 @@ datarootdir = $(prefix)/share
- datadir = $(datarootdir)
+@@ -35,13 +35,13 @@ mandir = $(datarootdir)/man
  bindir = $(exec_prefix)/bin
  docdir = $(datarootdir)/doc/$(PACKAGENAME)
--mandir = $(datarootdir)/man
+ mandir = $(datarootdir)/man
 -localstatedir = $(prefix)/var
-+mandir = $(prefix)/man
 +localstatedir = /var
  gamesdir = $(localstatedir)/games
  
@@ -27,7 +25,7 @@
  EXENAME=rockdodger
  
  SOUNDLIBRARIES=-lSDL_mixer
-@@ -60,14 +60,9 @@ ifeq ($(profile),1)
+@@ -60,14 +60,9 @@ ifeq ($(debug),0)
  	OPTIONS+=-pg
  endif
  ifeq ($(debug),0)
@@ -43,7 +41,7 @@
  
  all:	$(EXENAME) config.h
  
-@@ -98,16 +93,16 @@ pkg:	$(EXENAME)
+@@ -98,16 +93,16 @@ install:	all
  	tar -C $$DTEMP -cvzf $(TARPKGNAME) . && rm -r $$DTEMP)
  
  install:	all
diff --git a/games/rockdodger/pkg-plist b/games/rockdodger/pkg-plist
index 390302e88874..9fac57a954bd 100644
--- a/games/rockdodger/pkg-plist
+++ b/games/rockdodger/pkg-plist
@@ -1,5 +1,5 @@
 @(,games,2555) bin/rockdodger
-man/man6/rockdodger.6.gz
 share/applications/rockdodger.desktop
+share/man/man6/rockdodger.6.gz
 share/pixmaps/rockdodger.xpm
 @sample(,games,664) /var/games/rockdodger.scores.sample