diff --git a/lang/tcl-wrapper/Makefile b/lang/tcl-wrapper/Makefile index eaf1af787860..0bc8fb7ba8d3 100644 --- a/lang/tcl-wrapper/Makefile +++ b/lang/tcl-wrapper/Makefile @@ -3,7 +3,7 @@ PORTNAME= wrapper PORTVERSION= 1.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang tcl MASTER_SITES= # empty PKGNAMEPREFIX= ${TX_PORT}- diff --git a/lang/tcl-wrapper/files/wrapper.in b/lang/tcl-wrapper/files/wrapper.in index 45d8054b48c4..c628d93085f5 100644 --- a/lang/tcl-wrapper/files/wrapper.in +++ b/lang/tcl-wrapper/files/wrapper.in @@ -6,6 +6,10 @@ %%TX_SHELL_U%%= %%TX_SHELL_U%%_CONF=%%TX_CONF_FULL%% +if [ ! -f "${%%TX_SHELL_U%%_CONF}" ]; then + %%TX_SHELL_U%%_CONF=${%%TX_SHELL_U%%_CONF}.sample +fi + if [ -f "${%%TX_SHELL_U%%_CONF}" ]; then . ${%%TX_SHELL_U%%_CONF} if [ -n "${%%TX_SHELL_U%%}" ]; then