aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2014-09-01 21:10:58 +0800
committergahr <gahr@FreeBSD.org>2014-09-01 21:10:58 +0800
commite7ca03378a0dde4a4f5a0bec334485e082adf554 (patch)
tree596d8d4cb91f1805d4efb55b30f100ed0158bf52 /lang
parent90c29cca255cfd1665d8132e185fa401329ad673 (diff)
downloadfreebsd-ports-gnome-e7ca03378a0dde4a4f5a0bec334485e082adf554.tar.gz
freebsd-ports-gnome-e7ca03378a0dde4a4f5a0bec334485e082adf554.tar.zst
freebsd-ports-gnome-e7ca03378a0dde4a4f5a0bec334485e082adf554.zip
- Fix packaging
- Bump PORTREVISION PR: 193216 Submitted by: Alex <iakrevetko@gmail.com>
Diffstat (limited to 'lang')
-rw-r--r--lang/tcl86/Makefile1
-rw-r--r--lang/tcl86/files/patch-unix-Makefile.in30
2 files changed, 24 insertions, 7 deletions
diff --git a/lang/tcl86/Makefile b/lang/tcl86/Makefile
index 91b7e95d4e55..8cca637df400 100644
--- a/lang/tcl86/Makefile
+++ b/lang/tcl86/Makefile
@@ -3,6 +3,7 @@
PORTNAME= tcl
PORTVERSION= 8.6.2
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= SF/tcl/Tcl/${PORTVERSION} \
${MASTER_SITE_TCLTK}
diff --git a/lang/tcl86/files/patch-unix-Makefile.in b/lang/tcl86/files/patch-unix-Makefile.in
index 19a56b176e27..8e3de303b313 100644
--- a/lang/tcl86/files/patch-unix-Makefile.in
+++ b/lang/tcl86/files/patch-unix-Makefile.in
@@ -1,5 +1,5 @@
--- Makefile.in.orig 2014-08-26 17:23:08.000000000 +0200
-+++ Makefile.in 2014-09-01 09:32:00.000000000 +0200
++++ Makefile.in 2014-09-01 15:03:50.000000000 +0200
@@ -54,6 +54,8 @@
# Directory in which to install the include file tcl.h:
@@ -76,7 +76,7 @@
@echo "Installing ${TCL_EXE} as $(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}"
@$(INSTALL_PROGRAM) ${TCL_EXE} "$(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}"
@echo "Installing tclConfig.sh to $(CONFIG_INSTALL_DIR)/"
-@@ -811,12 +824,12 @@
+@@ -811,12 +824,20 @@
@INSTALL_STUB_LIB@ ; \
fi
@EXTRA_INSTALL_BINARIES@
@@ -86,6 +86,14 @@
+ @echo "Installing pkg-config file to $(prefix)/libdata/pkgconfig"
+ @$(INSTALL_DATA_DIR) $(INSTALL_ROOT)$(prefix)/libdata/pkgconfig
+ @$(INSTALL_DATA) tcl.pc $(INSTALL_ROOT)$(prefix)/libdata/pkgconfig/tcl.pc
++ @for i in $(TOP_DIR)/library/*.tcl $(TOP_DIR)/library/tclIndex \
++ $(UNIX_DIR)/tclAppInit.c @LDAIX_SRC@ @DTRACE_SRC@; \
++ do \
++ $(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"; \
++ done;
++ @echo "Customizing tcl module path"; \
++ echo "::tcl::tm::path add {$(TCL_LIBRARY)}" >> \
++ "$(SCRIPT_INSTALL_DIR)"/tm.tcl;
install-libraries: libraries
- @for i in "$(SCRIPT_INSTALL_DIR)"; \
@@ -93,7 +101,7 @@
do \
if [ ! -d "$$i" ] ; then \
echo "Making directory $$i"; \
-@@ -824,7 +837,13 @@
+@@ -824,7 +845,13 @@
else true; \
fi; \
done;
@@ -108,7 +116,18 @@
do \
if [ ! -d "$(SCRIPT_INSTALL_DIR)"/$$i ] ; then \
echo "Making directory $(SCRIPT_INSTALL_DIR)/$$i"; \
-@@ -844,31 +863,23 @@
+@@ -833,42 +860,26 @@
+ fi; \
+ done;
+ @echo "Installing library files to $(SCRIPT_INSTALL_DIR)/";
+- @for i in $(TOP_DIR)/library/*.tcl $(TOP_DIR)/library/tclIndex \
+- $(UNIX_DIR)/tclAppInit.c @LDAIX_SRC@ @DTRACE_SRC@; \
+- do \
+- $(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"; \
+- done;
+ @echo "Installing package http1.0 files to $(SCRIPT_INSTALL_DIR)/http1.0/";
+ @for i in $(TOP_DIR)/library/http1.0/*.tcl ; \
+ do \
$(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"/http1.0; \
done;
@echo "Installing package http 2.8.8 as a Tcl Module";
@@ -142,9 +161,6 @@
- "$(SCRIPT_INSTALL_DIR)"/tm.tcl; \
- fi
+ @$(INSTALL_DATA) $(TOP_DIR)/library/platform/shell.tcl "$(SCRIPT_INSTALL_DIR)"/platform/shell-1.1.4.tm;
-+ @echo "Customizing tcl module path"; \
-+ echo "::tcl::tm::path add {$(TCL_LIBRARY)}" >> \
-+ "$(SCRIPT_INSTALL_DIR)"/tm.tcl;
install-tzdata:
@for i in tzdata; \