mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
ddebd27959
- Update to version 26.6, the latest for the i386 binary - Do not mangle version with `0.0.'-prefix, use official one - Add missing LIB_DEPENDS against `misc/compat9x' - Define DOCS option and use target helper target to install - Make installation commands vocal (unmute them) - Update and tidy up port description text while here - Drop deprecated @dirrm entry from pkg-plist TIMESTAMP (mprime266-FreeBSD.tar.gz) = 1302303090
24 lines
492 B
Bash
24 lines
492 B
Bash
#!/bin/sh
|
|
|
|
PREFIX="%%PREFIX%%"
|
|
PROGRAM="${0}"
|
|
DIRNAME=${HOME}/.mprime
|
|
|
|
if [ ! -d ${DIRNAME} ]
|
|
then
|
|
mkdir -p ${DIRNAME}
|
|
fi
|
|
|
|
if [ ! -h ${DIRNAME}/${PROGRAM##*/} ]
|
|
then
|
|
ln -sf ${PREFIX}/bin/${PROGRAM##*/}-real ${DIRNAME}/${PROGRAM##*/}
|
|
fi
|
|
|
|
echo " ${*} " | grep " \-createdironly " ||
|
|
{
|
|
cd ${DIRNAME} &&
|
|
echo Running under ${DIRNAME} &&
|
|
exec ./${PROGRAM##*/} "${@}" ||
|
|
echo PROBLEM. Cannot create directory ${DIRNAME}, make sure you have the proper permissions to create it and try again
|
|
}
|