Makefile revision 3844
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# CDDL HEADER START
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# The contents of this file are subject to the terms of the
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# Common Development and Distribution License (the "License").
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# You may not use this file except in compliance with the License.
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# See the License for the specific language governing permissions
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# and limitations under the License.
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# If applicable, add the following below this CDDL HEADER, with the
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# CDDL HEADER END
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
4bb70681e055760f6ba342055dc945f6b73361dfMark AndrewsCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews sha256:09093168552119e962617f86f2713564cf6e3fe7fd32d6799aa0b87df28f1e89
4bb70681e055760f6ba342055dc945f6b73361dfMark AndrewsCOMPONENT_ARCHIVE_URL= http://download.berlios.de/fetchmail/$(COMPONENT_ARCHIVE)
4bb70681e055760f6ba342055dc945f6b73361dfMark AndrewsCOMPONENT_PROJECT_URL= http://fetchmail.berlios.de/
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# Change the shebang line to use Python 2.7 explicitly, and drop the
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# fixed file into /usr/bin, where our package manifest expects it.
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews $(GSED) -e "s|/usr/bin/env python|$(PYTHON.2.7.32)|" \
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews $(PROTO_DIR)/usr/lib/python2.7/site-packages/fetchmailconf.py > \
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews '-e "s|^.*$(CC).*$$|XXX_CC_XXX|"' \
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews '-e "/^XXX_CC_XXX$$/d"'