diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2014-05-05 13:57:35 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2014-05-05 13:57:35 +0000 |
commit | 474f608c9d9924e6a1865845226d4cdb08c8ba08 (patch) | |
tree | b8733a6fc60501436a89c96a9bc297425d1b13fb /lang/tcl-wrapper | |
parent | 1604951b3093e548a7245a9a4de33403f76ba72f (diff) | |
download | ports-474f608c9d9924e6a1865845226d4cdb08c8ba08.tar.gz ports-474f608c9d9924e6a1865845226d4cdb08c8ba08.zip |
Notes
Diffstat (limited to 'lang/tcl-wrapper')
-rw-r--r-- | lang/tcl-wrapper/Makefile | 2 | ||||
-rw-r--r-- | lang/tcl-wrapper/files/wrapper.in | 4 |
2 files changed, 5 insertions, 1 deletions
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 |