mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
Quoting https://tcl.tk/doc/tea: "The Tcl Extension Architecture, or TEA, by John Ousterhout and others, is a set of guidelines and techniques for the distribution, configuration, compilation, and installation of Tcl extensions. TEA also provides a set of utilities that operate accordingly. Many Tcl extensions leverage the TEA utilities, which are designed to be easily customizable." To facilitate the porting of TEA-based extensions, I have added the new "tea" argument to USES=tcl. This argument prepares the autoconf environment by setting GNU_CONFIGURE and sets some commonly used CONFIGURE_ARGS. Also, it tries to figure out the correct extension name, sets TCL_PKG accordingly, and adds it to PLIST_SUB. I have modified a few ports to take advantage of this. More will come.
19 lines
756 B
Text
19 lines
756 B
Text
--- Makefile.in.orig 2010-12-10 21:24:41 UTC
|
|
+++ Makefile.in
|
|
@@ -237,7 +237,7 @@ install-doc: doc
|
|
@for i in $(DOC_NROFF); do \
|
|
echo "Installing $$i"; \
|
|
rm -f $(DESTDIR)$(mandir)/mann/`basename $$i`; \
|
|
- $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/mann ; \
|
|
+ $(INSTALL_DATA) doc/$$i $(DESTDIR)$(mandir)/mann ; \
|
|
done
|
|
|
|
test: binaries libraries
|
|
@@ -419,6 +419,7 @@ install-lib-binaries:
|
|
if test -f $$p; then \
|
|
echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(pkglibdir)/$$p"; \
|
|
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(pkglibdir)/$$p; \
|
|
+ chmod 755 $(DESTDIR)$(pkglibdir)/$$p; \
|
|
stub=`echo $$p|sed -e "s/.*\(stub\).*/\1/"`; \
|
|
if test "x$$stub" = "xstub"; then \
|
|
echo " $(RANLIB_STUB) $(DESTDIR)$(pkglibdir)/$$p"; \
|