git: 90b7f536a05a - main - games/icebreaker: Moved man to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Feb 2024 07:08:41 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=90b7f536a05adb680edcd511ccb5556cfcdc682a
commit 90b7f536a05adb680edcd511ccb5556cfcdc682a
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 06:59:11 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 07:08:11 +0000
games/icebreaker: Moved man to share/man
Approved by: portmgr (blanket)
---
games/icebreaker/Makefile | 2 +-
games/icebreaker/files/patch-Makefile | 21 ++++++---------------
games/icebreaker/pkg-plist | 2 +-
3 files changed, 8 insertions(+), 17 deletions(-)
diff --git a/games/icebreaker/Makefile b/games/icebreaker/Makefile
index 64639c0bac5c..565ea99f4fe5 100644
--- a/games/icebreaker/Makefile
+++ b/games/icebreaker/Makefile
@@ -1,6 +1,6 @@
PORTNAME= icebreaker
PORTVERSION= 1.9.8
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://mattdm.org/icebreaker/1.9.x/ \
SF/nemysisfreebsdp/games/${PORTNAME}/:icons
diff --git a/games/icebreaker/files/patch-Makefile b/games/icebreaker/files/patch-Makefile
index 59095eaf5795..cb4ff94d17e9 100644
--- a/games/icebreaker/files/patch-Makefile
+++ b/games/icebreaker/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig 2003-02-25 19:31:32.000000000 +0300
-+++ Makefile 2014-11-29 04:34:05.000000000 +0300
+--- Makefile.orig 2003-02-25 16:31:32 UTC
++++ Makefile
@@ -1,9 +1,9 @@
-CC=gcc
+CC?=gcc
@@ -13,16 +13,7 @@
#prefix=/usr
endif
-@@ -12,7 +12,7 @@
- endif
-
- ifndef mandir
-- mandir=$(prefix)/share/man
-+ mandir=$(prefix)/man
- endif
-
- ifndef bindir
-@@ -21,12 +21,12 @@
+@@ -21,12 +21,12 @@ ifndef highscoredir
ifndef highscoredir
@@ -37,7 +28,7 @@
SRC=icebreaker.c cursor.c grid.c laundry.c line.c penguin.c sound.c \
level.c intro.c text.c status.c transition.c hiscore.c dialog.c \
-@@ -40,7 +40,7 @@
+@@ -40,7 +40,7 @@ VERSION := $(shell awk '/^\#define VERSION/ { print $$
SDL_CFLAGS := $(shell $(SDLCONFIG) --cflags)
SDL_LDFLAGS := $(shell $(SDLCONFIG) --libs)
VERSION := $(shell awk '/^\#define VERSION/ { print $$3 }' icebreaker.h)
@@ -46,7 +37,7 @@
CROSSTOOLSPATH=/usr/local/cross-tools
# note that you almost certainly want to set wine to use the tty driver instead
-@@ -177,7 +177,7 @@
+@@ -177,7 +177,7 @@ icebreaker: $(SRC:.c=.o)
[ -d win32.build ] && rm -rf win32.build || true
icebreaker: $(SRC:.c=.o)
@@ -55,7 +46,7 @@
man: icebreaker.6
-@@ -190,31 +190,25 @@
+@@ -190,31 +190,25 @@ install-mkdirs:
sed 's?\$$HIGHSCOREDIR?$(highscoredir)/?' > $@
install-mkdirs:
diff --git a/games/icebreaker/pkg-plist b/games/icebreaker/pkg-plist
index c3c352df56f3..006e127dc42e 100644
--- a/games/icebreaker/pkg-plist
+++ b/games/icebreaker/pkg-plist
@@ -1,5 +1,5 @@
@(,games,2555) bin/icebreaker
-man/man6/icebreaker.6.gz
+share/man/man6/icebreaker.6.gz
share/applications/icebreaker.desktop
%%DATADIR%%/atom.bmp
%%DATADIR%%/bgeveryone.wav