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