ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / web / w3m / Makefile
blob1f420ff7fcfed13246bad888c402a0b7a8b0a221
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2017 Alexander Pyhalov
14 # Copyright 2023 Niklas Poslovski
17 OPENSSL_VERSION= 3.1
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= w3m
21 COMPONENT_VERSION= 0.5.3.20230121
22 HUMAN_VERSION= 0.5.3+git20230121
23 COMPONENT_REVISION= 1
24 COMPONENT_SUMMARY= A text-based web browser
25 COMPONENT_SRC= $(COMPONENT_NAME)-0.5.3-git20230121
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
27 COMPONENT_ARCHIVE_HASH= \
28 sha256:fdc7d55d3c0104db26aa9759db34f37e5eee03f44c868796e3bbfb8935c96e39
29 COMPONENT_ARCHIVE_URL= \
30 https://github.com/tats/w3m/archive/refs/tags/v$(HUMAN_VERSION).tar.gz
31 COMPONENT_PROJECT_URL= https://w3m.sourceforge.net/
32 COMPONENT_FMRI= web/browser/w3m
33 COMPONENT_CLASSIFICATION= Applications/Internet
34 COMPONENT_LICENSE= MIT
36 TEST_TARGET = $(NO_TESTS)
38 include $(WS_MAKE_RULES)/common.mk
40 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
42 CONFIGURE_OPTIONS+= --sysconfdir=/etc
43 CONFIGURE_OPTIONS+= --libexecdir=/usr/lib
44 CONFIGURE_OPTIONS+= --with-browser=/usr/bin/firefox
46 # Auto-generated dependencies
47 REQUIRED_PACKAGES += $(OPENSSL_PKG)
48 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
49 REQUIRED_PACKAGES += library/gc
50 REQUIRED_PACKAGES += library/glib2
51 REQUIRED_PACKAGES += library/zlib
52 REQUIRED_PACKAGES += runtime/perl
53 REQUIRED_PACKAGES += shell/ksh93
54 REQUIRED_PACKAGES += system/library
55 REQUIRED_PACKAGES += system/library/math
56 REQUIRED_PACKAGES += x11/library/libx11