mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
b9f21a8c3b
2. Does not respect ${CFLAGS} 3. Dependancy problem: This port has preference on db4 over db3.3, i.e. when both are present, it uses db4. So change the dependancy from db3.3 to db4. 4. The default installation does not create user settings, which causes write attempt to global settings and the consequent failure confuses users. 5. Locale zh_CN.EUC is not present on 5.x. Swith to zh_CN.eucCN. PR: ports/69251 Submitted by: Jie Gao <gaoj@cpsc.ucalgary.ca>
14 lines
365 B
Bash
14 lines
365 B
Bash
#!/bin/sh
|
|
|
|
# Install user settings directory if it does not exist
|
|
if [ ! -d ${HOME}/.xsim ]
|
|
then
|
|
mkdir ${HOME}/.xsim
|
|
cp %%PREFIX%%/share/xsim/dat/* ${HOME}/.xsim/
|
|
sed "/^DICT_LOCAL/s|%%PREFIX%%/share/xsim/dat|${HOME}/.xsim|g" \
|
|
%%PREFIX%%/etc/xsimrc > ${HOME}/.xsim/xsimrc
|
|
fi
|
|
|
|
# Start xsim
|
|
exec %%PREFIX%%/share/xsim/bin/xsim $*
|