mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
25872db3e6
PR: ports/78330 Submitted by: James kamlyn <jameskamlyn@gmail.com>
16 lines
384 B
Bash
16 lines
384 B
Bash
#!/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
|