mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
16 lines
384 B
Plaintext
16 lines
384 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
if [ "$2" != "PRE-INSTALL" ]; then
|
||
|
exit 0
|
||
|
fi
|
||
|
|
||
|
#
|
||
|
# "3dm2" looks for the config file in /etc/3dm2, which is lame. The file is
|
||
|
# placed in ${PREFIX}/etc/ (usually /usr/local/etc) and symlinked in /etc/3dm2
|
||
|
# so that the binary can find it.
|
||
|
#
|
||
|
mkdir /etc/3dm2
|
||
|
ln -s ${PKG_PREFIX}/etc/3dm2.conf /etc/3dm2/3dm2.conf
|
||
|
ln -s ${PKG_PREFIX}/etc/3dm2.pem /etc/3dm2/3dm2.pem
|
||
|
exit 0
|