|
1 # |
|
2 # CDDL HEADER START |
|
3 # |
|
4 # The contents of this file are subject to the terms of the |
|
5 # Common Development and Distribution License (the "License"). |
|
6 # You may not use this file except in compliance with the License. |
|
7 # |
|
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 # or http://www.opensolaris.org/os/licensing. |
|
10 # See the License for the specific language governing permissions |
|
11 # and limitations under the License. |
|
12 # |
|
13 # When distributing Covered Code, include this CDDL HEADER in each |
|
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 # If applicable, add the following below this CDDL HEADER, with the |
|
16 # fields enclosed by brackets "[]" replaced with your own identifying |
|
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 # |
|
19 # CDDL HEADER END |
|
20 # |
|
21 # Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
|
22 # |
|
23 include ../../make-rules/shared-macros.mk |
|
24 |
|
25 COMPONENT_NAME= w3m |
|
26 COMPONENT_VERSION= 0.5.2 |
|
27 COMPONENT_PROJECT_URL= http://w3m.sourceforge.net/ |
|
28 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
30 COMPONENT_ARCHIVE_HASH= \ |
|
31 sha256:5ff3e5a1f50a4a8e6ddbfdeefbe13d3a7f63538595a8e29f5da504ea46eda646 |
|
32 COMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/$(COMPONENT_NAME)/files/$(COMPONENT_NAME)/$(COMPONENT_SRC)/$(COMPONENT_ARCHIVE)/download |
|
33 COMPONENT_BUGDB= utility/w3m |
|
34 |
|
35 TPNO= 9364 |
|
36 |
|
37 include ../../make-rules/prep.mk |
|
38 include ../../make-rules/configure.mk |
|
39 include ../../make-rules/ips.mk |
|
40 |
|
41 COMPILER = gcc |
|
42 |
|
43 COMPONENT_PREP_ACTION = (cd $(@D) ; aclocal-1.11 ; autoconf) |
|
44 |
|
45 # install the bits in /usr/bin and /usr/lib |
|
46 CONFIGURE_BINDIR.64 = $(CONFIGURE_BINDIR.32) |
|
47 CONFIGURE_LIBDIR.64 = $(CONFIGURE_LIBDIR.32) |
|
48 |
|
49 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
|
50 CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.32) |
|
51 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR) |
|
52 CONFIGURE_OPTIONS += --with-browser=/usr/bin/firefox |
|
53 |
|
54 ASLR_MODE = $(ASLR_ENABLE) |
|
55 |
|
56 configure: $(CONFIGURE_64) |
|
57 |
|
58 build: $(BUILD_64) |
|
59 |
|
60 install: $(INSTALL_64) |
|
61 |
|
62 test: $(NO_TESTS) |
|
63 |
|
64 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
|
65 |
|
66 include ../../make-rules/depend.mk |