3830N/A#
3830N/A# CDDL HEADER START
3830N/A#
3830N/A# The contents of this file are subject to the terms of the
3830N/A# Common Development and Distribution License (the "License").
3830N/A# You may not use this file except in compliance with the License.
3830N/A#
3830N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3830N/A# or http://www.opensolaris.org/os/licensing.
3830N/A# See the License for the specific language governing permissions
3830N/A# and limitations under the License.
3830N/A#
3830N/A# When distributing Covered Code, include this CDDL HEADER in each
3830N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3830N/A# If applicable, add the following below this CDDL HEADER, with the
3830N/A# fields enclosed by brackets "[]" replaced with your own identifying
3830N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3830N/A#
3830N/A# CDDL HEADER END
3830N/A#
3996N/A# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
3830N/A#
3996N/ACOMPILER = gcc
3996N/A
3830N/Ainclude ../../make-rules/shared-macros.mk
3830N/A
3830N/ACOMPONENT_NAME= w3m
3830N/ACOMPONENT_VERSION= 0.5.2
3830N/ACOMPONENT_PROJECT_URL= http://w3m.sourceforge.net/
3830N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3830N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
3830N/ACOMPONENT_ARCHIVE_HASH= \
3830N/A sha256:5ff3e5a1f50a4a8e6ddbfdeefbe13d3a7f63538595a8e29f5da504ea46eda646
3830N/ACOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/$(COMPONENT_NAME)/files/$(COMPONENT_NAME)/$(COMPONENT_SRC)/$(COMPONENT_ARCHIVE)/download
3830N/ACOMPONENT_BUGDB= utility/w3m
3830N/A
3830N/ATPNO= 9364
3830N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
3830N/A
3830N/ACOMPONENT_PREP_ACTION = (cd $(@D) ; aclocal-1.11 ; autoconf)
3830N/A
3830N/A# install the bits in /usr/bin and /usr/lib
3830N/ACONFIGURE_BINDIR.64 = $(CONFIGURE_BINDIR.32)
3830N/ACONFIGURE_LIBDIR.64 = $(CONFIGURE_LIBDIR.32)
3830N/A
3830N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
3830N/ACONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.32)
3830N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
3830N/ACONFIGURE_OPTIONS += --with-browser=/usr/bin/firefox
3830N/A
3830N/AASLR_MODE = $(ASLR_ENABLE)
3830N/A
3830N/Aconfigure: $(CONFIGURE_64)
3830N/A
3830N/Abuild: $(BUILD_64)
3830N/A
3830N/Ainstall: $(INSTALL_64)
3830N/A
3830N/Atest: $(NO_TESTS)
3830N/A
3830N/A
3996N/AREQUIRED_PACKAGES += library/desktop/gtk2
3996N/AREQUIRED_PACKAGES += library/gc
3996N/AREQUIRED_PACKAGES += library/glib2
3996N/AREQUIRED_PACKAGES += library/security/openssl
3996N/AREQUIRED_PACKAGES += library/security/openssl/openssl-fips-140
3996N/AREQUIRED_PACKAGES += library/zlib
3996N/AREQUIRED_PACKAGES += runtime/perl-512
3996N/AREQUIRED_PACKAGES += system/library
3996N/AREQUIRED_PACKAGES += system/library/math
3996N/AREQUIRED_PACKAGES += system/linker
3996N/AREQUIRED_PACKAGES += x11/library/libx11