Skip to content

Commit

Permalink
games/rockdodger: Move man pages to share/man
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
  • Loading branch information
nunotexbsd committed Mar 24, 2024
1 parent e9f593f commit 9152aa8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
1 change: 1 addition & 0 deletions 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/

Expand Down
14 changes: 6 additions & 8 deletions 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

Expand All @@ -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

Expand All @@ -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)
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion 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

0 comments on commit 9152aa8

Please sign in to comment.