16 # fields enclosed by brackets "[]" replaced with your own identifying |
16 # fields enclosed by brackets "[]" replaced with your own identifying |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 # Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. |
21 |
22 # |
22 # |
23 |
23 # Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. |
24 COMPILER = gcc |
24 # |
25 |
25 BUILD_BITS= 64 |
|
26 COMPILER= gcc |
26 include ../../make-rules/shared-macros.mk |
27 include ../../make-rules/shared-macros.mk |
27 |
28 |
28 COMPONENT_NAME= w3m |
29 COMPONENT_NAME= w3m |
29 COMPONENT_VERSION= 0.5.3 |
30 COMPONENT_VERSION= 0.5.3 |
30 COMPONENT_PROJECT_URL= http://w3m.sourceforge.net/ |
31 COMPONENT_PROJECT_URL= http://w3m.sourceforge.net/ |
31 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
33 COMPONENT_ARCHIVE_HASH= \ |
32 COMPONENT_ARCHIVE_HASH= \ |
34 sha256:e994d263f2fd2c22febfbe45103526e00145a7674a0fda79c822b97c2770a9e3 |
33 sha256:e994d263f2fd2c22febfbe45103526e00145a7674a0fda79c822b97c2770a9e3 |
35 COMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/$(COMPONENT_NAME)/files/$(COMPONENT_NAME)/$(COMPONENT_SRC)/$(COMPONENT_ARCHIVE)/download |
34 COMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/$(COMPONENT_NAME)/files/$(COMPONENT_NAME)/$(COMPONENT_SRC)/$(COMPONENT_ARCHIVE)/download |
36 COMPONENT_BUGDB= utility/w3m |
|
37 |
35 |
38 TPNO= 21998 |
36 TPNO= 21998 |
39 |
37 |
40 include $(WS_MAKE_RULES)/prep.mk |
38 SYSTEM_TEST_TARGET= $(SYSTEM_TEST_64) |
41 include $(WS_MAKE_RULES)/configure.mk |
39 include $(WS_MAKE_RULES)/common.mk |
42 include $(WS_MAKE_RULES)/ips.mk |
|
43 |
40 |
44 COMPONENT_PREP_ACTION = (cd $(@D) ; autoconf ; automake ; aclocal ; libtoolize ) |
41 COMPONENT_PREP_ACTION = (cd $(@D) ; autoconf ; automake ; aclocal ; libtoolize ) |
45 |
42 |
46 # install the bits in /usr/bin and /usr/lib |
43 # install the bits in /usr/bin and /usr/lib |
47 CONFIGURE_BINDIR.64 = $(CONFIGURE_BINDIR.32) |
44 CONFIGURE_LIBDIR.64= $(CONFIGURE_LIBDIR.32) |
48 CONFIGURE_LIBDIR.64 = $(CONFIGURE_LIBDIR.32) |
|
49 |
45 |
50 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
|
51 CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.32) |
46 CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.32) |
52 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR) |
47 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR) |
53 CONFIGURE_OPTIONS += --with-browser=/usr/bin/firefox |
48 CONFIGURE_OPTIONS += --with-browser=$(USRBINDIR)/firefox |
54 |
49 |
55 # Use the HTML and CSS styling external test suite as referenced at |
50 # Use the HTML and CSS styling external test suite as referenced at |
56 # http://www.w3.org/2005/MWI/Tests/ |
51 # http://www.w3.org/2005/MWI/Tests/ |
57 COMPONENT_TEST_CMD = $(@D)/w3m |
52 COMPONENT_TEST_CMD = $(@D)/w3m |
58 COMPONENT_TEST_ARGS = -dump \ |
53 COMPONENT_TEST_ARGS = -dump \ |
61 http://www.cameronmoll.com/mobile/mkp/pg3.html \ |
56 http://www.cameronmoll.com/mobile/mkp/pg3.html \ |
62 http://www.cameronmoll.com/mobile/mkp/pg4.html |
57 http://www.cameronmoll.com/mobile/mkp/pg4.html |
63 COMPONENT_TEST_TARGETS = |
58 COMPONENT_TEST_TARGETS = |
64 |
59 |
65 COMPONENT_SYSTEM_TEST_DIR = |
60 COMPONENT_SYSTEM_TEST_DIR = |
66 COMPONENT_SYSTEM_TEST_CMD = /usr/bin/w3m |
61 COMPONENT_SYSTEM_TEST_CMD = $(USRBINDIR)/w3m |
67 COMPONENT_SYSTEM_TEST_ARGS = -dump \ |
62 COMPONENT_SYSTEM_TEST_ARGS = -dump \ |
68 http://www.cameronmoll.com/mobile/mkp/pg1.html \ |
63 http://www.cameronmoll.com/mobile/mkp/pg1.html \ |
69 http://www.cameronmoll.com/mobile/mkp/pg2.html \ |
64 http://www.cameronmoll.com/mobile/mkp/pg2.html \ |
70 http://www.cameronmoll.com/mobile/mkp/pg3.html \ |
65 http://www.cameronmoll.com/mobile/mkp/pg3.html \ |
71 http://www.cameronmoll.com/mobile/mkp/pg4.html |
66 http://www.cameronmoll.com/mobile/mkp/pg4.html |
72 COMPONENT_SYSTEM_TEST_TARGETS = |
67 COMPONENT_SYSTEM_TEST_TARGETS = |
73 |
|
74 ASLR_MODE = $(ASLR_ENABLE) |
|
75 |
|
76 configure: $(CONFIGURE_64) |
|
77 |
|
78 build: $(BUILD_64) |
|
79 |
|
80 install: $(INSTALL_64) |
|
81 |
|
82 test: $(TEST_64) |
|
83 system-test: $(SYSTEM_TEST_64) |
|
84 |
68 |
85 # The desktop packages differ between S11 and S12; list both for normal |
69 # The desktop packages differ between S11 and S12; list both for normal |
86 # and BUILD_TYPE=evaluation builds. |
70 # and BUILD_TYPE=evaluation builds. |
87 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf |
71 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf |
88 REQUIRED_PACKAGES += library/desktop/gtk2 |
72 REQUIRED_PACKAGES += library/desktop/gtk2 |
90 REQUIRED_PACKAGES += library/glib2 |
74 REQUIRED_PACKAGES += library/glib2 |
91 REQUIRED_PACKAGES += library/security/openssl |
75 REQUIRED_PACKAGES += library/security/openssl |
92 REQUIRED_PACKAGES += library/security/openssl/openssl-fips-140 |
76 REQUIRED_PACKAGES += library/security/openssl/openssl-fips-140 |
93 REQUIRED_PACKAGES += library/zlib |
77 REQUIRED_PACKAGES += library/zlib |
94 REQUIRED_PACKAGES += runtime/perl-512 |
78 REQUIRED_PACKAGES += runtime/perl-512 |
95 REQUIRED_PACKAGES += system/library |
|
96 REQUIRED_PACKAGES += system/library/math |
79 REQUIRED_PACKAGES += system/library/math |
97 REQUIRED_PACKAGES += x11/library/libx11 |
80 REQUIRED_PACKAGES += x11/library/libx11 |