Makefile revision 5425
246N/A#
246N/A# CDDL HEADER START
246N/A#
246N/A# The contents of this file are subject to the terms of the
246N/A# Common Development and Distribution License (the "License").
246N/A# You may not use this file except in compliance with the License.
246N/A#
246N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
246N/A# or http://www.opensolaris.org/os/licensing.
246N/A# See the License for the specific language governing permissions
246N/A# and limitations under the License.
246N/A#
246N/A# When distributing Covered Code, include this CDDL HEADER in each
246N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
246N/A# If applicable, add the following below this CDDL HEADER, with the
246N/A# fields enclosed by brackets "[]" replaced with your own identifying
246N/A# information: Portions Copyright [yyyy] [name of copyright owner]
246N/A#
246N/A# CDDL HEADER END
246N/A#
723N/A
246N/A#
246N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
246N/A#
246N/A
246N/Ainclude ../../make-rules/shared-macros.mk
618N/A
246N/ACOMPONENT_NAME= fetchmail
246N/ACOMPONENT_VERSION= 6.3.22
246N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
246N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
313N/ACOMPONENT_ARCHIVE_HASH= \
246N/A sha256:09093168552119e962617f86f2713564cf6e3fe7fd32d6799aa0b87df28f1e89
246N/ACOMPONENT_ARCHIVE_URL= http://download.berlios.de/fetchmail/$(COMPONENT_ARCHIVE)
246N/ACOMPONENT_PROJECT_URL= http://fetchmail.berlios.de/
246N/ACOMPONENT_BUGDB= utility/fetchmail
246N/A
246N/ATPNO= 8416
246N/A
246N/Ainclude $(WS_MAKE_RULES)/prep.mk
246N/Ainclude $(WS_MAKE_RULES)/configure.mk
246N/Ainclude $(WS_MAKE_RULES)/ips.mk
246N/A
246N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
246N/ACONFIGURE_OPTIONS += PYTHON="$(PYTHON.2.7.32)"
246N/ACONFIGURE_OPTIONS += --with-kerberos5
246N/ACONFIGURE_OPTIONS += --with-ssl
246N/ACONFIGURE_OPTIONS += --enable-NTLM
392N/A
392N/AASLR_MODE = $(ASLR_ENABLE)
392N/A
246N/A# Change the shebang line to use Python 2.7 explicitly, and drop the
246N/A# fixed file into /usr/bin, where our package manifest expects it.
246N/ACOMPONENT_POST_INSTALL_ACTION = \
246N/A $(GSED) -e "s|/usr/bin/env python|$(PYTHON.2.7.32)|" \
246N/A $(PROTO_DIR)/usr/lib/python2.7/site-packages/fetchmailconf.py > \
246N/A $(PROTO_DIR)$(USRBIN.32)/fetchmailconf
246N/A
246N/ACOMPONENT_TEST_TRANSFORMS += \
246N/A '-e "s|^.*$(CC).*$$|XXX_CC_XXX|"' \
246N/A '-e "/^XXX_CC_XXX$$/d"'
246N/A
723N/Aconfigure: $(CONFIGURE_64)
246N/A
246N/Abuild: $(BUILD_64)
246N/A
246N/Ainstall: $(INSTALL_64)
246N/A
246N/Atest: $(TEST_64)
246N/A
246N/Asystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
249N/A
246N/AREQUIRED_PACKAGES += library/python/tkinter-27
246N/AREQUIRED_PACKAGES += library/security/openssl
246N/AREQUIRED_PACKAGES += runtime/python-27
246N/AREQUIRED_PACKAGES += service/security/kerberos-5
246N/AREQUIRED_PACKAGES += shell/ksh93
378N/AREQUIRED_PACKAGES += system/library
378N/A