[119169] trunk/base/src/port
cal at macports.org
cal at macports.org
Fri Apr 18 14:38:45 PDT 2014
Revision: 119169
https://trac.macports.org/changeset/119169
Author: cal at macports.org
Date: 2014-04-18 14:38:45 -0700 (Fri, 18 Apr 2014)
Log Message:
-----------
base: make $bindir/port-tclsh a symlink rather than a script executing the correct tcl shell
Modified Paths:
--------------
trunk/base/src/port/Makefile.in
Removed Paths:
-------------
trunk/base/src/port/port-tclsh.in
Property Changed:
----------------
trunk/base/src/port/
Property changes on: trunk/base/src/port
___________________________________________________________________
Modified: svn:ignore
- Makefile
port
portall
portindex
portmirror
port-tclsh
+ Makefile
port
portall
portindex
portmirror
Modified: trunk/base/src/port/Makefile.in
===================================================================
--- trunk/base/src/port/Makefile.in 2014-04-18 21:25:53 UTC (rev 119168)
+++ trunk/base/src/port/Makefile.in 2014-04-18 21:38:45 UTC (rev 119169)
@@ -5,7 +5,7 @@
INSTALLDIR= ${DESTDIR}${prefix}
TOPSRCDIR= ../..
-SCRIPTS= portmirror portindex port port-tclsh
+SCRIPTS= portmirror portindex port
edit = sed -e 's, at TCLSH\@,$(TCLSH),g'
@@ -22,9 +22,6 @@
port: port.tcl ../../Mk/macports.autoconf.mk
${edit} $(srcdir)/port.tcl > $@
-port-tclsh: port-tclsh.in ../../Mk/macports.autoconf.mk
- ${edit} $(srcdir)/port-tclsh.in > $@
-
mkdirs:
< ../../doc/prefix.mtree $(MTREE) -U -d -e -p ${INSTALLDIR} > /dev/null
< ../../doc/base.mtree $(MTREE) -U -d -e -p ${INSTALLDIR} > /dev/null
@@ -40,6 +37,7 @@
install: all mkdirs
$(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${INSTALLDIR}/bin
$(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${INSTALLDIR}/var/macports
- $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 555 port portindex portmirror port-tclsh ${INSTALLDIR}/bin/
+ $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 555 port portindex portmirror ${INSTALLDIR}/bin/
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $(srcdir)/port-help.tcl ${INSTALLDIR}/var/macports/
cd ${INSTALLDIR}/bin && $(LN_S) -f port portf
+ cd ${INSTALLDIR}/bin && $(LN_S) -f ${TCLSH} port-tclsh
Deleted: trunk/base/src/port/port-tclsh.in
===================================================================
--- trunk/base/src/port/port-tclsh.in 2014-04-18 21:25:53 UTC (rev 119168)
+++ trunk/base/src/port/port-tclsh.in 2014-04-18 21:38:45 UTC (rev 119169)
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec @TCLSH@ "$@"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140418/f66d60cd/attachment.html>
More information about the macports-changes
mailing list