remmina: update to 1.4.37
[oi-userland.git] / components / tcl / tcllib / Makefile
blobce577bf9ad5e2c89ec23ab7bd9e1111a2fbc120e
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright (c) 2016 Sergey Avseyev
13 # Copyright (c) 2018, Michal Nowak
14 # Copyright (c) 2023, Klaus Ziegler
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= tcllib
20 COMPONENT_VERSION= 1.21
21 COMPONENT_REVISION= 2
22 COMPONENT_PROJECT_URL= https://core.tcl.tk/tcllib/doc/trunk/embedded/index.html
23 COMPONENT_SUMMARY= The standard Tcl library
24 COMPONENT_FMRI= tcl/tcllib
25 COMPONENT_CLASSIFICATION= Development/Other Languages
26 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
27 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
28 COMPONENT_ARCHIVE_HASH= sha256:10c7749e30fdd6092251930e8a1aa289b193a3b7f1abf17fee1d4fa89814762f
29 COMPONENT_ARCHIVE_URL= https://core.tcl.tk/tcllib/uv/$(COMPONENT_ARCHIVE)
30 COMPONENT_LICENSE= TCL
31 COMPONENT_LICENSE_FILE= license.terms
33 include $(WS_MAKE_RULES)/common.mk
35 COMPONENT_PREP_ACTION = \
36 (for i in $$(find $(SOURCE_DIR)/idoc/man -name '*.n') ; do \
37 mandir="$$(dirname "$$i")"; \
38 manbase="$$(basename "$$i" .n)"; \
39 mv "$$i" "$${mandir}/$${manbase}.1t"; \
40 done)
42 APPS = dtplite nns nnsd nnslog page pt tcldocstrip
44 # Fix invocation in scripts and rename page to tclpage because of a name clash with a file from SUNWcs:
45 COMPONENT_POST_INSTALL_ACTION += \
46 (for app in $(APPS); do \
47 $(GSED) -i "s:/usr/bin/env tclsh:$(USRBINDIR)/tclsh:" $(PROTO_DIR)$(USRBINDIR)/$$app; \
48 done); \
49 $(MV) $(PROTO_DIR)$(USRBINDIR)/{,tcl}page
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES += runtime/tcl-8
53 REQUIRED_PACKAGES += shell/ksh93