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
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 2013 Alexander Pyhalov. All rights reserved.
16 include ..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_VERSION
= 0.5.3
22 COMPONENT_SUMMARY
= A text-based web browser
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
25 COMPONENT_ARCHIVE_HASH
= \
26 sha256
:e994d263f2fd2c22febfbe45103526e00145a7674a0fda79c822b97c2770a9e3
27 COMPONENT_ARCHIVE_URL
= \
28 http
://sourceforge.net
/projects
/w3m
/files
/w3m
/$(COMPONENT_NAME
)-$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)/download
29 COMPONENT_PROJECT_URL
= http
://w3m.sourceforge.net
/
31 include ..
/..
/make-rules
/prep.mk
32 include ..
/..
/make-rules
/configure.mk
33 include ..
/..
/make-rules
/ips.mk
35 COMPONENT_PRE_CONFIGURE_ACTION
= ($(CLONEY
) $(SOURCE_DIR
) $(@D
))
37 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
38 CONFIGURE_OPTIONS
+= --libexecdir
=/usr
/lib
39 CONFIGURE_OPTIONS
+= --with-browser
=/usr
/bin
/firefox
43 install: $(INSTALL_32
)