1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Rename bs and fish to avoid conflicts with games/bs and shells/fish.

While here, get on board with @dir.

PR:		195672
Submitted by:	nemysis
This commit is contained in:
Adam Weinberger 2014-12-06 19:55:13 +00:00
parent b0946a5a0f
commit f67753f362
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374144
2 changed files with 17 additions and 14 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= bsdgames
PORTVERSION= 3.8.2
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= games
# Fetched from git://git.dragonflybsd.org/dragonfly.git, v${PORTVERSION}, /games
@ -75,6 +76,12 @@ pre-install:
.endfor
post-install:
# avoid conflict with games/bs and shells/fish
.for prog in bs fish
${MV} ${STAGEDIR}${PREFIX}/bin/${prog} ${STAGEDIR}${PREFIX}/bin/${prog}-game
${MV} ${STAGEDIR}${MAN6PREFIX}/man/man6/${prog}.6.gz ${STAGEDIR}${MAN6PREFIX}/man/man6/${prog}-game.6.gz
.endfor
@${TOUCH} ${STAGEDIR}/var/games/atc_score
@${FIND} ${STAGEDIR}/var/games -type f -exec ${MV} {} {}.sample \;

View File

@ -3,11 +3,11 @@ bin/arithmetic
bin/atc
bin/backgammon
bin/battlestar
bin/bs
bin/bs-game
bin/canfield
bin/cfscores
bin/cribbage
bin/fish
bin/fish-game
bin/hack
bin/hangman
bin/hunt
@ -35,11 +35,11 @@ man/man6/arithmetic.6.gz
man/man6/atc.6.gz
man/man6/backgammon.6.gz
man/man6/battlestar.6.gz
man/man6/bs.6.gz
man/man6/bs-game.6.gz
man/man6/canfield.6.gz
man/man6/cfscores.6.gz
man/man6/cribbage.6.gz
man/man6/fish.6.gz
man/man6/fish-game.6.gz
man/man6/hack.6.gz
man/man6/hangman.6.gz
man/man6/hunt.6.gz
@ -106,10 +106,6 @@ share/games/quiz.db/ucc
share/games/cribbage.instr
share/games/fish.instr
share/games/wump.info
@dirrm share/games/atc
@dirrm share/games/larn
@dirrm share/games/quiz.db
@dirrm share/games
@group games
@mode 664
@sample /var/games/atc_score.sample
@ -138,13 +134,13 @@ share/games/wump.info
@sample /var/games/snakerawscores.sample
@sample /var/games/snake.log.sample
@mode 0775
@dirrmtry /var/games/phantasia
@dirrmtry /var/games/larn
@dir /var/games/phantasia
@dir /var/games/larn
@mode 0770
@dirrmtry /var/games/hackdir/save
@dir /var/games/hackdir/save
@mode 0775
@dirrmtry /var/games/hackdir
@dirrmtry /var/games/battlestar
@dirrmtry /var/games/atc
@dir /var/games/hackdir
@dir /var/games/battlestar
@dir /var/games/atc
@group wheel
@mode