Makefile revision 5680
6185db853e024a486ff8837e6784dd290d866112dougm#
6185db853e024a486ff8837e6784dd290d866112dougm# CDDL HEADER START
6185db853e024a486ff8837e6784dd290d866112dougm#
6185db853e024a486ff8837e6784dd290d866112dougm# The contents of this file are subject to the terms of the
6185db853e024a486ff8837e6784dd290d866112dougm# Common Development and Distribution License (the "License").
6185db853e024a486ff8837e6784dd290d866112dougm# You may not use this file except in compliance with the License.
6185db853e024a486ff8837e6784dd290d866112dougm#
6185db853e024a486ff8837e6784dd290d866112dougm# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6185db853e024a486ff8837e6784dd290d866112dougm# or http://www.opensolaris.org/os/licensing.
6185db853e024a486ff8837e6784dd290d866112dougm# See the License for the specific language governing permissions
6185db853e024a486ff8837e6784dd290d866112dougm# and limitations under the License.
6185db853e024a486ff8837e6784dd290d866112dougm#
6185db853e024a486ff8837e6784dd290d866112dougm# When distributing Covered Code, include this CDDL HEADER in each
6185db853e024a486ff8837e6784dd290d866112dougm# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6185db853e024a486ff8837e6784dd290d866112dougm# If applicable, add the following below this CDDL HEADER, with the
6185db853e024a486ff8837e6784dd290d866112dougm# fields enclosed by brackets "[]" replaced with your own identifying
6185db853e024a486ff8837e6784dd290d866112dougm# information: Portions Copyright [yyyy] [name of copyright owner]
6185db853e024a486ff8837e6784dd290d866112dougm#
6185db853e024a486ff8837e6784dd290d866112dougm# CDDL HEADER END
6185db853e024a486ff8837e6784dd290d866112dougm#
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougm#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
6185db853e024a486ff8837e6784dd290d866112dougm#
6185db853e024a486ff8837e6784dd290d866112dougmBUILD_BITS= 64
6185db853e024a486ff8837e6784dd290d866112dougminclude ../../make-rules/shared-macros.mk
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougmCOMPONENT_NAME= fetchmail
6185db853e024a486ff8837e6784dd290d866112dougmCOMPONENT_VERSION= 6.3.22
6185db853e024a486ff8837e6784dd290d866112dougmCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
6185db853e024a486ff8837e6784dd290d866112dougmCOMPONENT_ARCHIVE_HASH= \
6185db853e024a486ff8837e6784dd290d866112dougm sha256:09093168552119e962617f86f2713564cf6e3fe7fd32d6799aa0b87df28f1e89
6185db853e024a486ff8837e6784dd290d866112dougmCOMPONENT_ARCHIVE_URL= http://download.berlios.de/fetchmail/$(COMPONENT_ARCHIVE)
6185db853e024a486ff8837e6784dd290d866112dougmCOMPONENT_PROJECT_URL= http://fetchmail.berlios.de/
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougmTPNO= 8416
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougminclude $(WS_MAKE_RULES)/common.mk
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougmCONFIGURE_OPTIONS += PYTHON="$(PYTHON.2.7.32)"
549ec3fff108310966327d1dc9004551b63210b7dougmCONFIGURE_OPTIONS += --with-kerberos5
c5f58477f1b190d049c5f4fedeed36e5cc22a1c7dougmCONFIGURE_OPTIONS += --with-ssl
c5f58477f1b190d049c5f4fedeed36e5cc22a1c7dougmCONFIGURE_OPTIONS += --enable-NTLM
549ec3fff108310966327d1dc9004551b63210b7dougm
549ec3fff108310966327d1dc9004551b63210b7dougm# Change the shebang line to use Python 2.7 explicitly, and drop the
6185db853e024a486ff8837e6784dd290d866112dougm# fixed file into /usr/bin, where our package manifest expects it.
6185db853e024a486ff8837e6784dd290d866112dougmCOMPONENT_POST_INSTALL_ACTION = \
6185db853e024a486ff8837e6784dd290d866112dougm $(GSED) -e "s|/usr/bin/env python|$(PYTHON.2.7.32)|" \
6185db853e024a486ff8837e6784dd290d866112dougm $(PROTO_DIR)/usr/lib/python2.7/site-packages/fetchmailconf.py > \
6185db853e024a486ff8837e6784dd290d866112dougm $(PROTO_DIR)$(USRBIN.32)/fetchmailconf
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougmCOMPONENT_TEST_TRANSFORMS += \
6185db853e024a486ff8837e6784dd290d866112dougm '-e "s|^.*$(CC).*$$|XXX_CC_XXX|"' \
6185db853e024a486ff8837e6784dd290d866112dougm '-e "/^XXX_CC_XXX$$/d"'
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougmREQUIRED_PACKAGES += library/python/tkinter-27
6185db853e024a486ff8837e6784dd290d866112dougmREQUIRED_PACKAGES += library/security/openssl
6185db853e024a486ff8837e6784dd290d866112dougmREQUIRED_PACKAGES += runtime/python-27
6185db853e024a486ff8837e6784dd290d866112dougmREQUIRED_PACKAGES += service/security/kerberos-5
6185db853e024a486ff8837e6784dd290d866112dougmREQUIRED_PACKAGES += shell/ksh93
6185db853e024a486ff8837e6784dd290d866112dougm