329d477c09
- Split music download to separate port - Give maintainership to submitter Submitted by: J. R. Olroyd <jr@opal.com>
15 lines
390 B
Bash
15 lines
390 B
Bash
#!/bin/sh
|
|
# /usr/local/bin/daimonin
|
|
# FreeBSD wrapper to start daimonin
|
|
|
|
PORTVERSION=%%PORTVERSION%%
|
|
VERSION=${PORTVERSION%.*}
|
|
|
|
# create home dir in ~/.daimonin/$VERSION and create logs subdir
|
|
# to avoid errors from daimonin's own PhysFS code
|
|
if [ ! -d ~/.daimonin/$VERSION/logs ]; then
|
|
mkdir -p ~/.daimonin/$VERSION/logs
|
|
fi
|
|
|
|
# start game
|
|
exec %%PREFIX%%/share/daimonin/daimonin ${@+"$@"}
|