This website requires JavaScript.
Explore
Help
Sign In
mirror
/
freebsd-ports
Watch
1
Star
0
Fork
0
You've already forked freebsd-ports
mirror of
https://git.FreeBSD.org/ports.git
synced
2025-01-02 06:03:50 +00:00
Code
Issues
Releases
Activity
84291da55d
freebsd-ports
/
games
/
moon-buggy
/
pkg-plist
7 lines
80 B
Plaintext
Raw
Normal View
History
Unescape
Escape
games/moonbuggy: Fix touching $HOME during build It's not permissible for a port to touch $HOME during the build. The moon-buggy game does this during install to pre-create the high scores file $HOME/.mbscores. Moon-buggy creates two versions of high scores: One in $HOME and the other in /var/games/moon-buggy. This makes compliance tricky because the high scores at /var/games needs to persist after the package is uninstalled if the scores have changed. To handle this, I moved scores creation to pkg-install script and also created a "baseline" scores files so during pkg-deinstall it can be determined if new high scores exist. The complimentary pkg-deinstall script will compare the current high-score file with the baseline. If they are the same, both are removed along with /var/games/moon-buggy folder which makes poudriere happy. While here: * Remove the unnecessary NEED_ROOT * Remove the unnecessary setgid configure argument * use @owner, @group in pkg-plist instead * move CHMOD to post-install with BINMODE although @mode could have been used as well. This work is covered by the "Just fix it" blanklet.
2014-07-19 12:02:54 +00:00
@owner games
@group games
Stageify. Remove esound option which simplifies the port and nobody uses esound anyway.
2014-06-22 14:01:22 +00:00
bin/moon-buggy
games/moonbuggy: Fix touching $HOME during build It's not permissible for a port to touch $HOME during the build. The moon-buggy game does this during install to pre-create the high scores file $HOME/.mbscores. Moon-buggy creates two versions of high scores: One in $HOME and the other in /var/games/moon-buggy. This makes compliance tricky because the high scores at /var/games needs to persist after the package is uninstalled if the scores have changed. To handle this, I moved scores creation to pkg-install script and also created a "baseline" scores files so during pkg-deinstall it can be determined if new high scores exist. The complimentary pkg-deinstall script will compare the current high-score file with the baseline. If they are the same, both are removed along with /var/games/moon-buggy folder which makes poudriere happy. While here: * Remove the unnecessary NEED_ROOT * Remove the unnecessary setgid configure argument * use @owner, @group in pkg-plist instead * move CHMOD to post-install with BINMODE although @mode could have been used as well. This work is covered by the "Just fix it" blanklet.
2014-07-19 12:02:54 +00:00
@owner
@group
Stageify. Remove esound option which simplifies the port and nobody uses esound anyway.
2014-06-22 14:01:22 +00:00
man/man6/moon-buggy.6.gz
Reference in New Issue
Copy Permalink