mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
629892cbb9
PR: ports/82576 Submitted by: Travis Poppe <tlp@LiquidX.org>
27 lines
423 B
Bash
27 lines
423 B
Bash
#!/bin/sh
|
|
# gens - gens 2.12a wrapper script
|
|
#
|
|
# 2005 Travis Poppe
|
|
|
|
USERDIR=$HOME/.gens
|
|
|
|
if [ -d $USERDIR ]; then
|
|
echo "gens working directory appears to be $USERDIR/"
|
|
echo ""
|
|
|
|
cd $USERDIR
|
|
./gens $*
|
|
exit
|
|
fi
|
|
|
|
mkdir $USERDIR
|
|
mkdir $USERDIR/resource
|
|
ln -s %%PREFIX%%/share/gens/gens $USERDIR/gens
|
|
ln -s %%PREFIX%%/share/gens/resource/* $USERDIR/resource
|
|
|
|
echo "Installed gens to $USERDIR/"
|
|
echo ""
|
|
|
|
cd $USERDIR
|
|
./gens $*
|