summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-24 07:59:11 +0100
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-24 08:08:11 +0100
commit90b7f536a05adb680edcd511ccb5556cfcdc682a (patch)
tree1a024062ffd9bcb736e3eaa7f292f5cc6c7a5def
parent95f53411b77afd7bd3382249e3d6b0b0efce2051 (diff)
downloadfreebsd-ports-90b7f536a05adb680edcd511ccb5556cfcdc682a.zip
games/icebreaker: Moved man to share/man
Approved by: portmgr (blanket)
-rw-r--r--games/icebreaker/Makefile2
-rw-r--r--games/icebreaker/files/patch-Makefile21
-rw-r--r--games/icebreaker/pkg-plist2
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