mosquitto: fix build
[oi-userland.git] / components / tcl / tklib / Makefile
blobcdfa8f9a19248a6062874d5586dab828ef1d3c27
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= tklib
20 COMPONENT_VERSION= 0.8
21 COMPONENT_SUMMARY= Collection of widgets and other packages for Tk
22 COMPONENT_PROJECT_URL= https://core.tcl.tk/tklib/home
23 COMPONENT_FMRI= tcl/tklib
24 COMPONENT_CLASSIFICATION= Development/Other Languages
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
27 COMPONENT_ARCHIVE_HASH= sha256:8192087094fdb6c0fbea4c8f995d26631e8c0a230697179863ba817781c31da9
28 COMPONENT_ARCHIVE_URL= https://github.com/tcltk/tklib/archive/refs/tags/$(COMPONENT_ARCHIVE)
29 COMPONENT_LICENSE= TCL
30 COMPONENT_LICENSE_FILE= license.terms
32 include $(WS_MAKE_RULES)/common.mk
34 # The unpacked sources have an uncommon name tklib-tklib-0.7 which we need to rename:
35 COMPONENT_POST_UNPACK_ACTION += \
36 mv tklib-$(COMPONENT_SRC) $(COMPONENT_SRC)
38 COMPONENT_POST_INSTALL_ACTION = \
39 (for i in $$(find $(PROTO_DIR)$(USRSHAREMANDIR) -name '*.n') ; do \
40 mandir="$$(dirname "$$i")"; \
41 manbase="$$(basename "$$i" .n)"; \
42 mv "$$i" "$${mandir}/$${manbase}.1t"; \
43 done)
45 # Auto-generated dependencies
46 REQUIRED_PACKAGES += SUNWcs