4917N/A#
4917N/A# CDDL HEADER START
4917N/A#
4917N/A# The contents of this file are subject to the terms of the
4917N/A# Common Development and Distribution License (the "License").
4917N/A# You may not use this file except in compliance with the License.
4917N/A#
4917N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4917N/A# or http://www.opensolaris.org/os/licensing.
4917N/A# See the License for the specific language governing permissions
4917N/A# and limitations under the License.
4917N/A#
4917N/A# When distributing Covered Code, include this CDDL HEADER in each
4917N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4917N/A# If applicable, add the following below this CDDL HEADER, with the
4917N/A# fields enclosed by brackets "[]" replaced with your own identifying
4917N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4917N/A#
4917N/A# CDDL HEADER END
4917N/A#
5680N/A
5680N/A#
5341N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
4917N/A#
5680N/ABUILD_BITS= 64_and_32
5680N/ACOMPILER= gcc
4917N/Ainclude ../../make-rules/shared-macros.mk
4917N/A
4917N/ACOMPONENT_NAME= aspell
4917N/ACOMPONENT_VERSION= 0.60.6.1
4917N/ACOMPONENT_PROJECT_URL= http://aspell.net/
4917N/ACOMPONENT_ARCHIVE_HASH= \
4917N/A sha256:f52583a83a63633701c5f71db3dc40aab87b7f76b29723aeb27941eff42df6e1
4917N/A
4917N/ACOMPONENT_NAME_1= aspell6-en
4917N/ACOMPONENT_VERSION_1= 7.1-0
4917N/ACOMPONENT_SRC_1= $(COMPONENT_NAME_1)-$(COMPONENT_VERSION_1)
4917N/ACOMPONENT_ARCHIVE_1= $(COMPONENT_SRC_1).tar.bz2
4917N/ACOMPONENT_ARCHIVE_HASH_1= \
4917N/A sha256:ff9df3c2e8c5bb19c6a66078b36a0ef4c4dfb0fcb969e29f7b5345e26d748d0a
4917N/ACOMPONENT_ARCHIVE_URL_1= ftp://ftp.gnu.org/gnu/$(COMPONENT_NAME)/dict/en/$(COMPONENT_ARCHIVE_1)
4917N/ASOURCE_DIR_1= $(COMPONENT_DIR)/$(COMPONENT_SRC_1)
4917N/A
4917N/ATPNO= 23575
4917N/A
5680N/ATEST_TARGET= $(NO_TESTS)
5680N/Ainclude $(WS_MAKE_RULES)/gnu-component.mk
4917N/A
5680N/AASPELL_BIN_DIR.32 = $(PROTOUSRBINDIR)/$(MACH32)
5680N/AASPELL_BIN_DIR.64 = $(PROTOUSRBINDIR)
4917N/AASPELL_BIN_DIR = $(ASPELL_BIN_DIR.$(BITS))
4917N/A
4917N/AASPELL_LIB_DIR.32 = $(PROTOUSRLIBDIR)
4917N/AASPELL_LIB_DIR.64 = $(PROTOUSRLIBDIR64)
4917N/AASPELL_LIB_DIR = $(ASPELL_LIB_DIR.$(BITS))
4917N/A
4917N/A# Needed to successfully find .../gen/mk-dirs_h.pl
4917N/ACOMPONENT_PRE_CONFIGURE_ACTION += ($(CLONEY) $(SOURCE_DIR) $(@D));
4917N/A
4917N/A# Needed to configure, build and install the aspell English dictionary.
4917N/ACOMPONENT_POST_INSTALL_ACTION += \
4917N/A (cd $(SOURCE_DIR_1) ; \
4917N/A PATH="$(ASPELL_BIN_DIR):$(PATH)" \
4917N/A ./configure --vars \
4917N/A ASPELL_FLAGS=--data-dir=$(ASPELL_LIB_DIR)/aspell-0.60 \
4917N/A DESTDIR=$(PROTO_DIR));
4917N/ACOMPONENT_POST_INSTALL_ACTION += \
4917N/A (cd $(SOURCE_DIR_1) ; \
4917N/A export LD_LIBRARY_PATH=$(ASPELL_LIB_DIR); \
4917N/A PATH="$(ASPELL_BIN_DIR):$(PATH)" \
4917N/A $(GMAKE) install);
4917N/A
4917N/ACONFIGURE_ENV += LD_OPTIONS="$(LD_OPTIONS)"
4917N/A
4917N/ACLEAN_PATHS += $(SOURCE_DIR_1)
4917N/APKG_PROTO_DIRS += $(SOURCE_DIR_1)
4917N/A
4917N/AREQUIRED_PACKAGES += library/ncurses
5636N/AREQUIRED_PACKAGES += $(PERL_PKG)
4917N/AREQUIRED_PACKAGES += shell/ksh93
4917N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
4917N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
4917N/AREQUIRED_PACKAGES += system/library/math