commit | author | age
|
273e1b
|
1 |
# |
SA |
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. |
|
5 |
# |
|
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. |
|
9 |
# |
|
10 |
|
|
11 |
# |
|
12 |
# Copyright (c) 2016 Sergey Avseyev |
b5d850
|
13 |
# Copyright (c) 2018, Michal Nowak |
00e070
|
14 |
# Copyright (c) 2023, Klaus Ziegler |
273e1b
|
15 |
# |
b5d850
|
16 |
|
273e1b
|
17 |
include ../../../make-rules/shared-macros.mk |
SA |
18 |
|
|
19 |
COMPONENT_NAME= tcllib |
2b8a9f
|
20 |
COMPONENT_VERSION= 1.21 |
00e070
|
21 |
COMPONENT_REVISION= 1 |
b5d850
|
22 |
COMPONENT_PROJECT_URL= https://core.tcl.tk/tcllib/doc/trunk/embedded/index.html |
273e1b
|
23 |
COMPONENT_SUMMARY= The standard Tcl library |
SA |
24 |
COMPONENT_FMRI= tcl/tcllib |
|
25 |
COMPONENT_CLASSIFICATION= Development/Other Languages |
|
26 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
b5d850
|
27 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz |
2b8a9f
|
28 |
COMPONENT_ARCHIVE_HASH= sha256:10c7749e30fdd6092251930e8a1aa289b193a3b7f1abf17fee1d4fa89814762f |
b5d850
|
29 |
COMPONENT_ARCHIVE_URL= https://core.tcl.tk/tcllib/uv/$(COMPONENT_ARCHIVE) |
273e1b
|
30 |
COMPONENT_LICENSE= TCL |
SA |
31 |
COMPONENT_LICENSE_FILE= license.terms |
|
32 |
|
03f212
|
33 |
include $(WS_MAKE_RULES)/common.mk |
273e1b
|
34 |
|
SA |
35 |
COMPONENT_PREP_ACTION = \ |
86f59e
|
36 |
(for i in $$(find $(SOURCE_DIR)/idoc/man -name '*.n') ; do \ |
273e1b
|
37 |
mandir="$$(dirname "$$i")"; \ |
SA |
38 |
manbase="$$(basename "$$i" .n)"; \ |
|
39 |
mv "$$i" "$${mandir}/$${manbase}.1t"; \ |
|
40 |
done) |
|
41 |
|
|
42 |
APPS = dtplite nns nnsd nnslog page pt tcldocstrip |
|
43 |
|
|
44 |
COMPONENT_POST_INSTALL_ACTION += \ |
|
45 |
(for app in $(APPS); do \ |
00e070
|
46 |
$(GSED) -i "s:/usr/bin/env tclsh:$(USRBINDIR)/tclsh:" $(PROTO_DIR)$(USRBINDIR)/$$app; \ |
731e6b
|
47 |
done); \ |
273e1b
|
48 |
|
b5d850
|
49 |
# Auto-generated dependencies |
86f59e
|
50 |
REQUIRED_PACKAGES += runtime/tcl-8 |
2b8a9f
|
51 |
REQUIRED_PACKAGES += shell/ksh93 |