- updated to 8.5a6
- added WITH(OUT)_TZDATA option (installs tcl timezone data, default off) Approved by: garga (mentor)
This commit is contained in:
parent
25d9fb4018
commit
c570411273
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=191199
10 changed files with 1294 additions and 1270 deletions
|
@ -6,8 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= tcl
|
||||
PORTVERSION= 8.5.a.5
|
||||
PORTREVISION= 5
|
||||
PORTVERSION= 8.5.a.6
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= tcl
|
||||
|
@ -19,10 +18,10 @@ COMMENT= Tool Command Language (development version)
|
|||
|
||||
PATCH_DIST_ARGS= -d ${WRKDIR}/${DISTNAME} -E ${PATCH_DIST_STRIP}
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.a./a/}/unix
|
||||
ALL_TARGET= all test
|
||||
ALL_TARGET= all
|
||||
USE_LDCONFIG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --enable-shared --includedir=${PREFIX}/include/tcl${TCL_VER}
|
||||
CONFIGURE_ARGS= --enable-shared --without-tzdata --includedir=${PREFIX}/include/tcl${TCL_VER}
|
||||
CONFIGURE_ENV= PORTSDIR=${PORTSDIR}
|
||||
TCL_VER= 8.5
|
||||
SHORT_TCL_VER= ${TCL_VER:S/8./8/}
|
||||
|
@ -32,7 +31,8 @@ PLIST_SUB= TCL_VER=${TCL_VER} SHORT_TCL_VER=${SHORT_TCL_VER}
|
|||
EXTRACT_AFTER_ARGS=|${TAR} -xpf - --exclude compat/
|
||||
|
||||
.if !defined(BUILDING_TCL_THREADS)
|
||||
OPTIONS= TCL85_MAN "Install tcl 8.5 manpages" off
|
||||
OPTIONS= TCL85_MAN "Install tcl 8.5 manpages" off \
|
||||
TZDATA "Install tcl timezone data" off
|
||||
.else
|
||||
USE_TCL= ${SHORT_TCL_VER}
|
||||
PLIST= ${PKGDIR}/pkg-plist.threads
|
||||
|
@ -41,6 +41,12 @@ THREADS_SUFFIX= -threads
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_TZDATA)
|
||||
PLIST_SUB+= TZDATA=""
|
||||
.else
|
||||
PLIST_SUB+= TZDATA="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(BUILDING_TCL_THREADS)
|
||||
. if (${ARCH} == "ia64")
|
||||
BROKEN= does not compile on ia64
|
||||
|
@ -96,9 +102,10 @@ MANN= Tcl.n after.n append.n apply.n array.n bgerror.n binary.n break.n \
|
|||
foreach.n format.n gets.n glob.n global.n history.n http.n if.n incr.n \
|
||||
info.n interp.n join.n lappend.n lassign.n library.n lindex.n \
|
||||
linsert.n list.n llength.n load.n lrange.n lrepeat.n lreplace.n \
|
||||
lsearch.n lset.n lsort.n mathfunc.n memory.n msgcat.n namespace.n \
|
||||
open.n package.n packagens.n pid.n pkgMkIndex.n proc.n puts.n pwd.n \
|
||||
re_syntax.n read.n refchan.n regexp.n registry.n regsub.n rename.n \
|
||||
lreverse.n lsearch.n lset.n lsort.n mathfunc.n mathop.n memory.n \
|
||||
msgcat.n namespace.n open.n package.n packagens.n pid.n pkgMkIndex.n \
|
||||
platform.n platform_shell.n proc.n puts.n pwd.n re_syntax.n read.n \
|
||||
refchan.n regexp.n registry.n regsub.n rename.n \
|
||||
return.n safe.n scan.n seek.n set.n socket.n source.n split.n string.n \
|
||||
subst.n switch.n tcltest.n tclvars.n tell.n time.n tm.n trace.n \
|
||||
unknown.n unload.n unset.n update.n uplevel.n upvar.n variable.n vwait.n \
|
||||
|
@ -735,6 +742,9 @@ do-install:
|
|||
@${LN} -s ${PREFIX}/lib/tcl${TCL_VER}/tclConfig${THREADS_SUFFIX}.sh ${PREFIX}/lib/tcl${TCL_VER}${THREADS_SUFFIX}/tclConfig.sh
|
||||
.else
|
||||
post-install:
|
||||
.if defined(WITH_TZDATA)
|
||||
@cd ${WRKSRC} && ${MAKE} -f Makefile install-tzdata ${MAKE_ENV}
|
||||
.endif
|
||||
.if !defined(NO_INSTALL_MANPAGES) && defined(WITH_TCL85_MAN)
|
||||
${MKDIR} ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/../doc/man.macros ${DATADIR}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (tcl8.5a5-src.tar.gz) = fe9e399c1f186f8c605de8d2e262881e
|
||||
SHA256 (tcl8.5a5-src.tar.gz) = b5f0a632f68e6c3bd11756878a617ddd16ee02a74fe0581427ed7d103319f2c2
|
||||
SIZE (tcl8.5a5-src.tar.gz) = 3997622
|
||||
MD5 (tcl8.5a6-src.tar.gz) = 2759f9517898e2928d3a4bf6831a7eaa
|
||||
SHA256 (tcl8.5a6-src.tar.gz) = 16f6d0c48f766560789e91ac79b07aa3c3adc2ef7159dd2fe7e4ceff370636ac
|
||||
SIZE (tcl8.5a6-src.tar.gz) = 4231357
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ../tests/fCmd.test.orig Wed Jan 17 13:13:58 2007
|
||||
+++ ../tests/fCmd.test Wed Jan 17 13:07:49 2007
|
||||
--- ../tests/fCmd.test.orig Mon Nov 13 20:46:35 2006
|
||||
+++ ../tests/fCmd.test Sun Apr 29 21:31:35 2007
|
||||
@@ -572,7 +572,7 @@
|
||||
set msg
|
||||
} {1 {error copying "td2" to "~/td1/td2": permission denied}}
|
||||
|
@ -13,8 +13,8 @@
|
|||
file attributes $td2name -permissions 0755
|
||||
file delete -force ~/td1
|
||||
set msg
|
||||
-} "1 {error copying \"~/td1\" to \"td1\": \"[file join [file dirname ~] [file tail ~] td1 td2]\": permission denied}"
|
||||
+} -result "1 {error copying \"~/td1\" to \"td1\": \".*[file join td1 td2]\": permission denied}"
|
||||
-} "1 {error copying \"~/td1\" to \"td1\": \"[file join $::env(HOME) td1 td2]\": permission denied}"
|
||||
+} -result "1 {error copying \"~/td1\" to \"td1\": \".*[file join $::env(HOME) td1 td2]\": permission denied}"
|
||||
test fCmd-6.27 {CopyRenameOneFile: TclpCopyDirectory failed} \
|
||||
{unix notRoot xdev} {
|
||||
cleanup /tmp
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- Makefile.in.orig Mon Oct 23 15:41:32 2006
|
||||
+++ Makefile.in Mon Mar 12 18:28:44 2007
|
||||
@@ -57,6 +57,8 @@
|
||||
--- Makefile.in.orig Thu Apr 26 19:33:51 2007
|
||||
+++ Makefile.in Sun Apr 29 22:33:58 2007
|
||||
@@ -54,6 +54,8 @@
|
||||
|
||||
# Directory in which to install the include file tcl.h:
|
||||
INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir)
|
||||
|
@ -9,7 +9,7 @@
|
|||
|
||||
# Path to the private tcl header dir:
|
||||
PRIVATE_INCLUDE_DIR = @PRIVATE_INCLUDE_DIR@
|
||||
@@ -102,7 +104,7 @@
|
||||
@@ -97,7 +99,7 @@
|
||||
#CFLAGS = $(CFLAGS_DEBUG)
|
||||
#CFLAGS = $(CFLAGS_OPTIMIZE)
|
||||
#CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE)
|
||||
|
@ -18,7 +18,7 @@
|
|||
|
||||
# Flags to pass to the linker
|
||||
LDFLAGS_DEBUG = @LDFLAGS_DEBUG@
|
||||
@@ -546,7 +548,8 @@
|
||||
@@ -540,7 +542,8 @@
|
||||
|
||||
all: binaries libraries doc
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
|||
|
||||
libraries:
|
||||
|
||||
@@ -557,6 +560,15 @@
|
||||
@@ -551,6 +554,15 @@
|
||||
${LIB_FILE}: ${OBJS} ${STUB_LIB_FILE}
|
||||
rm -f $@
|
||||
@MAKE_LIB@
|
||||
|
@ -44,8 +44,8 @@
|
|||
|
||||
${STUB_LIB_FILE}: ${STUB_LIB_OBJS}
|
||||
rm -f $@
|
||||
@@ -706,7 +718,7 @@
|
||||
dltest.marker:
|
||||
@@ -699,7 +711,7 @@
|
||||
dltest.marker: ${STUB_LIB_FILE}
|
||||
cd dltest ; $(MAKE)
|
||||
|
||||
-INSTALL_TARGETS = install-binaries install-libraries install-doc @EXTRA_INSTALL@
|
||||
|
@ -53,7 +53,7 @@
|
|||
|
||||
install: $(INSTALL_TARGETS)
|
||||
|
||||
@@ -735,6 +747,13 @@
|
||||
@@ -728,6 +740,13 @@
|
||||
@echo "Installing $(LIB_FILE) to $(LIB_INSTALL_DIR)/"
|
||||
@@INSTALL_LIB@
|
||||
@chmod 555 $(LIB_INSTALL_DIR)/$(LIB_FILE)
|
||||
|
@ -67,7 +67,7 @@
|
|||
@if test "$(TCL_BUILD_EXP_FILE)" != ""; then \
|
||||
echo "Installing $(TCL_EXP_FILE) to $(LIB_INSTALL_DIR)/"; \
|
||||
$(INSTALL_DATA) $(TCL_BUILD_EXP_FILE) \
|
||||
@@ -742,8 +761,9 @@
|
||||
@@ -735,8 +754,9 @@
|
||||
fi
|
||||
@echo "Installing tclsh as $(BIN_INSTALL_DIR)/tclsh$(VERSION)"
|
||||
@$(INSTALL_PROGRAM) tclsh $(BIN_INSTALL_DIR)/tclsh$(VERSION)
|
||||
|
@ -79,17 +79,17 @@
|
|||
@if test "$(STUB_LIB_FILE)" != "" ; then \
|
||||
echo "Installing $(STUB_LIB_FILE) to $(LIB_INSTALL_DIR)/"; \
|
||||
@INSTALL_STUB_LIB@ ; \
|
||||
@@ -751,7 +771,8 @@
|
||||
@@ -744,7 +764,8 @@
|
||||
@EXTRA_INSTALL_BINARIES@
|
||||
|
||||
install-libraries: libraries install-tzdata install-msgs
|
||||
install-libraries: libraries $(INSTALL_TZDATA) install-msgs
|
||||
- @for i in $(INCLUDE_INSTALL_DIR) $(SCRIPT_INSTALL_DIR); \
|
||||
+ @for i in $(GENERIC_INCLUDE_INSTALL_DIR) $(UNIX_INCLUDE_INSTALL_DIR) \
|
||||
+ $(SCRIPT_INSTALL_DIR); \
|
||||
do \
|
||||
if [ ! -d $$i ] ; then \
|
||||
echo "Making directory $$i"; \
|
||||
@@ -773,13 +794,17 @@
|
||||
@@ -766,13 +787,17 @@
|
||||
chmod +x $(SRC_DIR)/../unix/install-sh; \
|
||||
fi
|
||||
@echo "Installing header files";
|
||||
|
@ -98,47 +98,40 @@
|
|||
- $(GENERIC_DIR)/tclTomMath.h \
|
||||
- $(GENERIC_DIR)/tclTomMathDecls.h ; \
|
||||
+ @for i in $(GENERIC_DIR)/*.h ; \
|
||||
+ do \
|
||||
+ $(INSTALL_DATA) $$i $(GENERIC_INCLUDE_INSTALL_DIR); \
|
||||
+ done;
|
||||
+ @for i in $(UNIX_DIR)/*.h ; \
|
||||
do \
|
||||
- $(INSTALL_DATA) $$i $(INCLUDE_INSTALL_DIR); \
|
||||
+ $(INSTALL_DATA) $$i $(GENERIC_INCLUDE_INSTALL_DIR); \
|
||||
done;
|
||||
+ @for i in $(UNIX_DIR)/*.h ; \
|
||||
+ do \
|
||||
+ $(INSTALL_DATA) $$i $(UNIX_INCLUDE_INSTALL_DIR); \
|
||||
+ done;
|
||||
done;
|
||||
+ @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tcl.h $(INCLUDE_INSTALL_DIR)/tcl.h
|
||||
+ @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tclDecls.h $(INCLUDE_INSTALL_DIR)/tclDecls.h
|
||||
+ @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tclPlatDecls.h $(INCLUDE_INSTALL_DIR)/tclPlatDecls.h
|
||||
@echo "Installing library files to $(SCRIPT_INSTALL_DIR)";
|
||||
@for i in $(TOP_DIR)/library/*.tcl $(TOP_DIR)/library/tclIndex $(UNIX_DIR)/tclAppInit.c $(UNIX_DIR)/ldAix; \
|
||||
do \
|
||||
@@ -838,20 +863,23 @@
|
||||
else true; \
|
||||
fi; \
|
||||
@@ -839,18 +864,27 @@
|
||||
done;
|
||||
- @echo "Installing and cross-linking top-level (.1) docs";
|
||||
- @for i in $(TOP_DIR)/doc/*.1; do \
|
||||
@echo "Installing and cross-linking top-level (.1) docs";
|
||||
@for i in $(TOP_DIR)/doc/*.1; do \
|
||||
- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i $(MAN1_INSTALL_DIR); \
|
||||
- done
|
||||
-
|
||||
- @echo "Installing and cross-linking C API (.3) docs";
|
||||
- @for i in $(TOP_DIR)/doc/*.3; do \
|
||||
+ ${BSD_INSTALL_MAN} $$i $(MAN1_INSTALL_DIR); \
|
||||
done
|
||||
|
||||
@echo "Installing and cross-linking C API (.3) docs";
|
||||
@for i in $(TOP_DIR)/doc/*.3; do \
|
||||
- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i $(MAN3_INSTALL_DIR); \
|
||||
- done
|
||||
-
|
||||
- @echo "Installing and cross-linking command (.n) docs";
|
||||
- @for i in $(TOP_DIR)/doc/*.n; do \
|
||||
+ ${BSD_INSTALL_MAN} $$i $(MAN3_INSTALL_DIR); \
|
||||
done
|
||||
|
||||
@echo "Installing and cross-linking command (.n) docs";
|
||||
@for i in $(TOP_DIR)/doc/*.n; do \
|
||||
- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i $(MANN_INSTALL_DIR); \
|
||||
- done
|
||||
+ @echo "Installing top-level (.1) docs";
|
||||
+ ${BSD_INSTALL_MAN} $(TOP_DIR)/doc/*.1 $(MAN1_INSTALL_DIR)/
|
||||
+
|
||||
+ @echo "Installing C API (.3) docs";
|
||||
+ ${BSD_INSTALL_MAN} $(TOP_DIR)/doc/*.3 $(MAN3_INSTALL_DIR)/
|
||||
+
|
||||
+ @echo "Installing command (.n) docs";
|
||||
+ ${BSD_INSTALL_MAN} $(TOP_DIR)/doc/*.n $(MANN_INSTALL_DIR)/
|
||||
+
|
||||
+ ${BSD_INSTALL_MAN} $$i $(MANN_INSTALL_DIR); \
|
||||
done
|
||||
+
|
||||
+ @echo "**********"
|
||||
+ @echo "IMPORTANT:"
|
||||
+ @echo "**********"
|
||||
|
|
1167
lang/tcl85/pkg-plist
1167
lang/tcl85/pkg-plist
File diff suppressed because it is too large
Load diff
|
@ -6,8 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= tcl
|
||||
PORTVERSION= 8.5.a.5
|
||||
PORTREVISION= 5
|
||||
PORTVERSION= 8.5.a.6
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= tcl
|
||||
|
@ -19,10 +18,10 @@ COMMENT= Tool Command Language (development version)
|
|||
|
||||
PATCH_DIST_ARGS= -d ${WRKDIR}/${DISTNAME} -E ${PATCH_DIST_STRIP}
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.a./a/}/unix
|
||||
ALL_TARGET= all test
|
||||
ALL_TARGET= all
|
||||
USE_LDCONFIG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --enable-shared --includedir=${PREFIX}/include/tcl${TCL_VER}
|
||||
CONFIGURE_ARGS= --enable-shared --without-tzdata --includedir=${PREFIX}/include/tcl${TCL_VER}
|
||||
CONFIGURE_ENV= PORTSDIR=${PORTSDIR}
|
||||
TCL_VER= 8.5
|
||||
SHORT_TCL_VER= ${TCL_VER:S/8./8/}
|
||||
|
@ -32,7 +31,8 @@ PLIST_SUB= TCL_VER=${TCL_VER} SHORT_TCL_VER=${SHORT_TCL_VER}
|
|||
EXTRACT_AFTER_ARGS=|${TAR} -xpf - --exclude compat/
|
||||
|
||||
.if !defined(BUILDING_TCL_THREADS)
|
||||
OPTIONS= TCL85_MAN "Install tcl 8.5 manpages" off
|
||||
OPTIONS= TCL85_MAN "Install tcl 8.5 manpages" off \
|
||||
TZDATA "Install tcl timezone data" off
|
||||
.else
|
||||
USE_TCL= ${SHORT_TCL_VER}
|
||||
PLIST= ${PKGDIR}/pkg-plist.threads
|
||||
|
@ -41,6 +41,12 @@ THREADS_SUFFIX= -threads
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_TZDATA)
|
||||
PLIST_SUB+= TZDATA=""
|
||||
.else
|
||||
PLIST_SUB+= TZDATA="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(BUILDING_TCL_THREADS)
|
||||
. if (${ARCH} == "ia64")
|
||||
BROKEN= does not compile on ia64
|
||||
|
@ -96,9 +102,10 @@ MANN= Tcl.n after.n append.n apply.n array.n bgerror.n binary.n break.n \
|
|||
foreach.n format.n gets.n glob.n global.n history.n http.n if.n incr.n \
|
||||
info.n interp.n join.n lappend.n lassign.n library.n lindex.n \
|
||||
linsert.n list.n llength.n load.n lrange.n lrepeat.n lreplace.n \
|
||||
lsearch.n lset.n lsort.n mathfunc.n memory.n msgcat.n namespace.n \
|
||||
open.n package.n packagens.n pid.n pkgMkIndex.n proc.n puts.n pwd.n \
|
||||
re_syntax.n read.n refchan.n regexp.n registry.n regsub.n rename.n \
|
||||
lreverse.n lsearch.n lset.n lsort.n mathfunc.n mathop.n memory.n \
|
||||
msgcat.n namespace.n open.n package.n packagens.n pid.n pkgMkIndex.n \
|
||||
platform.n platform_shell.n proc.n puts.n pwd.n re_syntax.n read.n \
|
||||
refchan.n regexp.n registry.n regsub.n rename.n \
|
||||
return.n safe.n scan.n seek.n set.n socket.n source.n split.n string.n \
|
||||
subst.n switch.n tcltest.n tclvars.n tell.n time.n tm.n trace.n \
|
||||
unknown.n unload.n unset.n update.n uplevel.n upvar.n variable.n vwait.n \
|
||||
|
@ -735,6 +742,9 @@ do-install:
|
|||
@${LN} -s ${PREFIX}/lib/tcl${TCL_VER}/tclConfig${THREADS_SUFFIX}.sh ${PREFIX}/lib/tcl${TCL_VER}${THREADS_SUFFIX}/tclConfig.sh
|
||||
.else
|
||||
post-install:
|
||||
.if defined(WITH_TZDATA)
|
||||
@cd ${WRKSRC} && ${MAKE} -f Makefile install-tzdata ${MAKE_ENV}
|
||||
.endif
|
||||
.if !defined(NO_INSTALL_MANPAGES) && defined(WITH_TCL85_MAN)
|
||||
${MKDIR} ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/../doc/man.macros ${DATADIR}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (tcl8.5a5-src.tar.gz) = fe9e399c1f186f8c605de8d2e262881e
|
||||
SHA256 (tcl8.5a5-src.tar.gz) = b5f0a632f68e6c3bd11756878a617ddd16ee02a74fe0581427ed7d103319f2c2
|
||||
SIZE (tcl8.5a5-src.tar.gz) = 3997622
|
||||
MD5 (tcl8.5a6-src.tar.gz) = 2759f9517898e2928d3a4bf6831a7eaa
|
||||
SHA256 (tcl8.5a6-src.tar.gz) = 16f6d0c48f766560789e91ac79b07aa3c3adc2ef7159dd2fe7e4ceff370636ac
|
||||
SIZE (tcl8.5a6-src.tar.gz) = 4231357
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- ../tests/fCmd.test.orig Wed Jan 17 13:13:58 2007
|
||||
+++ ../tests/fCmd.test Wed Jan 17 13:07:49 2007
|
||||
--- ../tests/fCmd.test.orig Mon Nov 13 20:46:35 2006
|
||||
+++ ../tests/fCmd.test Sun Apr 29 21:31:35 2007
|
||||
@@ -572,7 +572,7 @@
|
||||
set msg
|
||||
} {1 {error copying "td2" to "~/td1/td2": permission denied}}
|
||||
|
@ -13,8 +13,8 @@
|
|||
file attributes $td2name -permissions 0755
|
||||
file delete -force ~/td1
|
||||
set msg
|
||||
-} "1 {error copying \"~/td1\" to \"td1\": \"[file join [file dirname ~] [file tail ~] td1 td2]\": permission denied}"
|
||||
+} -result "1 {error copying \"~/td1\" to \"td1\": \".*[file join td1 td2]\": permission denied}"
|
||||
-} "1 {error copying \"~/td1\" to \"td1\": \"[file join $::env(HOME) td1 td2]\": permission denied}"
|
||||
+} -result "1 {error copying \"~/td1\" to \"td1\": \".*[file join $::env(HOME) td1 td2]\": permission denied}"
|
||||
test fCmd-6.27 {CopyRenameOneFile: TclpCopyDirectory failed} \
|
||||
{unix notRoot xdev} {
|
||||
cleanup /tmp
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- Makefile.in.orig Mon Oct 23 15:41:32 2006
|
||||
+++ Makefile.in Mon Mar 12 18:28:44 2007
|
||||
@@ -57,6 +57,8 @@
|
||||
--- Makefile.in.orig Thu Apr 26 19:33:51 2007
|
||||
+++ Makefile.in Sun Apr 29 22:33:58 2007
|
||||
@@ -54,6 +54,8 @@
|
||||
|
||||
# Directory in which to install the include file tcl.h:
|
||||
INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir)
|
||||
|
@ -9,7 +9,7 @@
|
|||
|
||||
# Path to the private tcl header dir:
|
||||
PRIVATE_INCLUDE_DIR = @PRIVATE_INCLUDE_DIR@
|
||||
@@ -102,7 +104,7 @@
|
||||
@@ -97,7 +99,7 @@
|
||||
#CFLAGS = $(CFLAGS_DEBUG)
|
||||
#CFLAGS = $(CFLAGS_OPTIMIZE)
|
||||
#CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE)
|
||||
|
@ -18,7 +18,7 @@
|
|||
|
||||
# Flags to pass to the linker
|
||||
LDFLAGS_DEBUG = @LDFLAGS_DEBUG@
|
||||
@@ -546,7 +548,8 @@
|
||||
@@ -540,7 +542,8 @@
|
||||
|
||||
all: binaries libraries doc
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
|||
|
||||
libraries:
|
||||
|
||||
@@ -557,6 +560,15 @@
|
||||
@@ -551,6 +554,15 @@
|
||||
${LIB_FILE}: ${OBJS} ${STUB_LIB_FILE}
|
||||
rm -f $@
|
||||
@MAKE_LIB@
|
||||
|
@ -44,8 +44,8 @@
|
|||
|
||||
${STUB_LIB_FILE}: ${STUB_LIB_OBJS}
|
||||
rm -f $@
|
||||
@@ -706,7 +718,7 @@
|
||||
dltest.marker:
|
||||
@@ -699,7 +711,7 @@
|
||||
dltest.marker: ${STUB_LIB_FILE}
|
||||
cd dltest ; $(MAKE)
|
||||
|
||||
-INSTALL_TARGETS = install-binaries install-libraries install-doc @EXTRA_INSTALL@
|
||||
|
@ -53,7 +53,7 @@
|
|||
|
||||
install: $(INSTALL_TARGETS)
|
||||
|
||||
@@ -735,6 +747,13 @@
|
||||
@@ -728,6 +740,13 @@
|
||||
@echo "Installing $(LIB_FILE) to $(LIB_INSTALL_DIR)/"
|
||||
@@INSTALL_LIB@
|
||||
@chmod 555 $(LIB_INSTALL_DIR)/$(LIB_FILE)
|
||||
|
@ -67,7 +67,7 @@
|
|||
@if test "$(TCL_BUILD_EXP_FILE)" != ""; then \
|
||||
echo "Installing $(TCL_EXP_FILE) to $(LIB_INSTALL_DIR)/"; \
|
||||
$(INSTALL_DATA) $(TCL_BUILD_EXP_FILE) \
|
||||
@@ -742,8 +761,9 @@
|
||||
@@ -735,8 +754,9 @@
|
||||
fi
|
||||
@echo "Installing tclsh as $(BIN_INSTALL_DIR)/tclsh$(VERSION)"
|
||||
@$(INSTALL_PROGRAM) tclsh $(BIN_INSTALL_DIR)/tclsh$(VERSION)
|
||||
|
@ -79,17 +79,17 @@
|
|||
@if test "$(STUB_LIB_FILE)" != "" ; then \
|
||||
echo "Installing $(STUB_LIB_FILE) to $(LIB_INSTALL_DIR)/"; \
|
||||
@INSTALL_STUB_LIB@ ; \
|
||||
@@ -751,7 +771,8 @@
|
||||
@@ -744,7 +764,8 @@
|
||||
@EXTRA_INSTALL_BINARIES@
|
||||
|
||||
install-libraries: libraries install-tzdata install-msgs
|
||||
install-libraries: libraries $(INSTALL_TZDATA) install-msgs
|
||||
- @for i in $(INCLUDE_INSTALL_DIR) $(SCRIPT_INSTALL_DIR); \
|
||||
+ @for i in $(GENERIC_INCLUDE_INSTALL_DIR) $(UNIX_INCLUDE_INSTALL_DIR) \
|
||||
+ $(SCRIPT_INSTALL_DIR); \
|
||||
do \
|
||||
if [ ! -d $$i ] ; then \
|
||||
echo "Making directory $$i"; \
|
||||
@@ -773,13 +794,17 @@
|
||||
@@ -766,13 +787,17 @@
|
||||
chmod +x $(SRC_DIR)/../unix/install-sh; \
|
||||
fi
|
||||
@echo "Installing header files";
|
||||
|
@ -98,47 +98,40 @@
|
|||
- $(GENERIC_DIR)/tclTomMath.h \
|
||||
- $(GENERIC_DIR)/tclTomMathDecls.h ; \
|
||||
+ @for i in $(GENERIC_DIR)/*.h ; \
|
||||
+ do \
|
||||
+ $(INSTALL_DATA) $$i $(GENERIC_INCLUDE_INSTALL_DIR); \
|
||||
+ done;
|
||||
+ @for i in $(UNIX_DIR)/*.h ; \
|
||||
do \
|
||||
- $(INSTALL_DATA) $$i $(INCLUDE_INSTALL_DIR); \
|
||||
+ $(INSTALL_DATA) $$i $(GENERIC_INCLUDE_INSTALL_DIR); \
|
||||
done;
|
||||
+ @for i in $(UNIX_DIR)/*.h ; \
|
||||
+ do \
|
||||
+ $(INSTALL_DATA) $$i $(UNIX_INCLUDE_INSTALL_DIR); \
|
||||
+ done;
|
||||
done;
|
||||
+ @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tcl.h $(INCLUDE_INSTALL_DIR)/tcl.h
|
||||
+ @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tclDecls.h $(INCLUDE_INSTALL_DIR)/tclDecls.h
|
||||
+ @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tclPlatDecls.h $(INCLUDE_INSTALL_DIR)/tclPlatDecls.h
|
||||
@echo "Installing library files to $(SCRIPT_INSTALL_DIR)";
|
||||
@for i in $(TOP_DIR)/library/*.tcl $(TOP_DIR)/library/tclIndex $(UNIX_DIR)/tclAppInit.c $(UNIX_DIR)/ldAix; \
|
||||
do \
|
||||
@@ -838,20 +863,23 @@
|
||||
else true; \
|
||||
fi; \
|
||||
@@ -839,18 +864,27 @@
|
||||
done;
|
||||
- @echo "Installing and cross-linking top-level (.1) docs";
|
||||
- @for i in $(TOP_DIR)/doc/*.1; do \
|
||||
@echo "Installing and cross-linking top-level (.1) docs";
|
||||
@for i in $(TOP_DIR)/doc/*.1; do \
|
||||
- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i $(MAN1_INSTALL_DIR); \
|
||||
- done
|
||||
-
|
||||
- @echo "Installing and cross-linking C API (.3) docs";
|
||||
- @for i in $(TOP_DIR)/doc/*.3; do \
|
||||
+ ${BSD_INSTALL_MAN} $$i $(MAN1_INSTALL_DIR); \
|
||||
done
|
||||
|
||||
@echo "Installing and cross-linking C API (.3) docs";
|
||||
@for i in $(TOP_DIR)/doc/*.3; do \
|
||||
- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i $(MAN3_INSTALL_DIR); \
|
||||
- done
|
||||
-
|
||||
- @echo "Installing and cross-linking command (.n) docs";
|
||||
- @for i in $(TOP_DIR)/doc/*.n; do \
|
||||
+ ${BSD_INSTALL_MAN} $$i $(MAN3_INSTALL_DIR); \
|
||||
done
|
||||
|
||||
@echo "Installing and cross-linking command (.n) docs";
|
||||
@for i in $(TOP_DIR)/doc/*.n; do \
|
||||
- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i $(MANN_INSTALL_DIR); \
|
||||
- done
|
||||
+ @echo "Installing top-level (.1) docs";
|
||||
+ ${BSD_INSTALL_MAN} $(TOP_DIR)/doc/*.1 $(MAN1_INSTALL_DIR)/
|
||||
+
|
||||
+ @echo "Installing C API (.3) docs";
|
||||
+ ${BSD_INSTALL_MAN} $(TOP_DIR)/doc/*.3 $(MAN3_INSTALL_DIR)/
|
||||
+
|
||||
+ @echo "Installing command (.n) docs";
|
||||
+ ${BSD_INSTALL_MAN} $(TOP_DIR)/doc/*.n $(MANN_INSTALL_DIR)/
|
||||
+
|
||||
+ ${BSD_INSTALL_MAN} $$i $(MANN_INSTALL_DIR); \
|
||||
done
|
||||
+
|
||||
+ @echo "**********"
|
||||
+ @echo "IMPORTANT:"
|
||||
+ @echo "**********"
|
||||
|
|
1167
lang/tcl86/pkg-plist
1167
lang/tcl86/pkg-plist
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue