commit | author | age
|
762f99
|
1 |
# |
H |
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 2018 Harry Liebel |
e44eb1
|
13 |
# Copyright 2019 Michal Nowak |
06dc25
|
14 |
# Copyright 2021, 2022 Nona Hansel |
762f99
|
15 |
# |
H |
16 |
|
83e515
|
17 |
BUILD_BITS= 64 |
762f99
|
18 |
include ../../../make-rules/shared-macros.mk |
H |
19 |
|
|
20 |
COMPONENT_NAME= tig |
e65224
|
21 |
COMPONENT_VERSION= 2.5.9 |
762f99
|
22 |
COMPONENT_SUMMARY= Text-mode interface for git |
H |
23 |
COMPONENT_DESCRIPTION= Tig is an ncurses-based text-mode interface for git. It functions mainly as a Git repository browser, but can also assist in staging changes for commit at chunk level and act as a pager for output from various Git commands. |
35f36b
|
24 |
COMPONENT_PROJECT_URL= https://jonas.github.io/$(COMPONENT_NAME) |
762f99
|
25 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
H |
26 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
e65224
|
27 |
COMPONENT_ARCHIVE_HASH= sha256:0cb4d9e3de00dc92aaa7996e1517845bd9b9a0d4368f3206f618d813e8db8b39 |
762f99
|
28 |
COMPONENT_ARCHIVE_URL= https://github.com/jonas/$(COMPONENT_NAME)/releases/download/$(COMPONENT_SRC)/$(COMPONENT_ARCHIVE) |
35f36b
|
29 |
COMPONENT_FMRI= developer/versioning/tig |
AW |
30 |
COMPONENT_CLASSIFICATION= Development/Source Code Management |
762f99
|
31 |
COMPONENT_LICENSE= GPLv2 |
35f36b
|
32 |
COMPONENT_LICENSE_FILE= COPYING |
762f99
|
33 |
|
83e515
|
34 |
include $(WS_MAKE_RULES)/common.mk |
762f99
|
35 |
|
H |
36 |
# This runs configure but configure doesn't generate a Makefile. |
|
37 |
# Instead a Makefile comes with tig. |
|
38 |
# Use cloney to copy a set of files to build. |
|
39 |
# Same behaviour as the 'git' package |
|
40 |
COMPONENT_PRE_CONFIGURE_ACTION = \ |
|
41 |
($(CLONEY) $(SOURCE_DIR) $(@D)) |
|
42 |
|
|
43 |
# Place the config file in /etc |
|
44 |
CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR) |
|
45 |
|
35f36b
|
46 |
CFLAGS += -I/usr/include/ncurses |
762f99
|
47 |
|
H |
48 |
COMPONENT_INSTALL_TARGETS = install install-doc |
|
49 |
|
e44eb1
|
50 |
# GNU grep is expected |
MN |
51 |
COMPONENT_TEST_ENV += PATH=$(PATH.gnu) |
|
52 |
COMPONENT_TEST_TARGETS = test |
762f99
|
53 |
|
35f36b
|
54 |
# Manually added build dependencies |
e44eb1
|
55 |
REQUIRED_PACKAGES += text/asciidoc |
35f36b
|
56 |
|
e44eb1
|
57 |
# Auto-generated dependencies |
762f99
|
58 |
REQUIRED_PACKAGES += library/ncurses |
H |
59 |
REQUIRED_PACKAGES += library/readline |
|
60 |
REQUIRED_PACKAGES += system/library |