Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2024 11:38:36 GMT
From:      Christian Weisgerber <naddy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6d15aa127e2a - main - games/xtrojka: Move man pages to share/man
Message-ID:  <202403181138.42IBcaq8061092@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=6d15aa127e2a26d72d1ba24b02932493c5892e6c

commit 6d15aa127e2a26d72d1ba24b02932493c5892e6c
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-18 11:32:26 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-18 11:38:14 +0000

    games/xtrojka: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 games/xtrojka/Makefile             |  2 +-
 games/xtrojka/files/patch-Makefile | 22 +++++++++++++---------
 games/xtrojka/pkg-plist            |  2 +-
 3 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/games/xtrojka/Makefile b/games/xtrojka/Makefile
index 282c055f3f3f..6fb36be4ccb2 100644
--- a/games/xtrojka/Makefile
+++ b/games/xtrojka/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xtrojka
 PORTVERSION=	1.2.3
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	games
 MASTER_SITES=	SUNSITE/games/arcade/tetris
 DISTNAME=	${PORTNAME}${PORTVERSION:C/\.//g}
diff --git a/games/xtrojka/files/patch-Makefile b/games/xtrojka/files/patch-Makefile
index 89c3d61786bd..9c6c9c1b35ed 100644
--- a/games/xtrojka/files/patch-Makefile
+++ b/games/xtrojka/files/patch-Makefile
@@ -1,6 +1,6 @@
 --- Makefile.orig	1996-07-27 18:05:03 UTC
 +++ Makefile
-@@ -10,15 +10,15 @@ PROGS= xtrojka
+@@ -10,15 +10,15 @@ VERSION=123
  #					xtrojka version (do not change!)
  VERSION=123
  #					where to put the binary
@@ -8,7 +8,7 @@
 +TARGET_DIR=${PREFIX}/bin
  #					where to put the manpage
 -MANDIR=/usr/local/man/man6
-+MANDIR=${PREFIX}/man/man6
++MANDIR=${PREFIX}/share/man/man6
  #					the location of the highscorefile
 -HSFILE=/fill_in_your_scorefile
 +HSFILE=${PREFIX}/share/xtrojka/xtrojka.scores
@@ -29,22 +29,26 @@
  #					doesn't work too well on all systems
  #LCK=-DLOCKING
  #					add debug info
-@@ -75,7 +75,13 @@ XPMLIB=-lXpm
+@@ -75,11 +75,17 @@ XPMLIB=-lXpm
  #
  # Linux
  #
 -SYS=-DLINUX
 +#SYS=-DLINUX
-+
-+#
+ 
+ #
 +# FreeBSD
-+#
+ #
 +XDIR=-I${LOCALBASE}/include
 +LIBS=-lm
- 
- #
++
  #
-@@ -105,11 +111,14 @@ tar:
++#
++#
+ CFLAGS= $(XDIR) $(DBG) $(XPM) $(SYS) $(OPT) $(HSF) $(LCK) $(LIBPATH) 
+ 
+ ###########################################################################
+@@ -105,11 +111,14 @@ install:
  	rm -rf xtrojka$(VERSION);
  
  install:
diff --git a/games/xtrojka/pkg-plist b/games/xtrojka/pkg-plist
index ca4c5737a62e..902077cc6c16 100644
--- a/games/xtrojka/pkg-plist
+++ b/games/xtrojka/pkg-plist
@@ -1,3 +1,3 @@
 @(,games,2755) bin/xtrojka
 @(,games,) share/xtrojka/xtrojka.scores
-man/man6/xtrojka.6.gz
+share/man/man6/xtrojka.6.gz



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