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