Makefile revision 787
ac436908582fe08c85c886b200664816b11fded6Mark Andrews# CDDL HEADER START
19ae9cbb28abf57c2605cbedaa6a7201a0cb6572Mark Andrews# The contents of this file are subject to the terms of the
19ae9cbb28abf57c2605cbedaa6a7201a0cb6572Mark Andrews# Common Development and Distribution License (the "License").
5584cbf427d85488e3fbed682ea3f2406bdb8b4fEvan Hunt# You may not use this file except in compliance with the License.
ca45c0bc34042b3821be46a6a95e71edd4c32c8dEvan Hunt# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3fb5bccf59abe5a0b545b4979181df0b17adee3bMark Andrews# See the License for the specific language governing permissions
3fb5bccf59abe5a0b545b4979181df0b17adee3bMark Andrews# and limitations under the License.
3fb5bccf59abe5a0b545b4979181df0b17adee3bMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
3fb5bccf59abe5a0b545b4979181df0b17adee3bMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
90a354ab367f420147a498e026305f59bf58a72bEvan Hunt# If applicable, add the following below this CDDL HEADER, with the
8899393ccd9fcbfcc6c027e9cb3bfd05fae29cabEvan Hunt# fields enclosed by brackets "[]" replaced with your own identifying
90a354ab367f420147a498e026305f59bf58a72bEvan Hunt# information: Portions Copyright [yyyy] [name of copyright owner]
25845da41a621f35e76dc8560ca40de6859e0a11Evan Hunt# CDDL HEADER END
25845da41a621f35e76dc8560ca40de6859e0a11Evan Hunt# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
f550b4b104d2859539b2ec287600f1dd2215d9fbEvan HuntCOMPONENT_PROJECT_URL= http://www.gnu.org/software/gzip/
6150d3cb666a58d5e3a15275562c9fc5c5b6b2d8Evan HuntCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
6150d3cb666a58d5e3a15275562c9fc5c5b6b2d8Evan HuntCOMPONENT_ARCHIVE_HASH= sha1:1d398dac6a7920a7de6e2685fe472a840eb2ce6e
fd0cb187615695ddc84ec25c88710c6c4e7cf096Evan HuntCOMPONENT_ARCHIVE_URL= ftp://ftp.gnu.org/gnu/gzip/$(COMPONENT_ARCHIVE)
1c1879b7efe32e6fe95de0ba923249925e3a320cEvan Hunt# To get correct @bindir@ substitution in the various gz<whatever> scripts.
7f2a245b96f3fb2fd7c644316c426b1edaa57984Evan HuntCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
0c25a44aac24a452a41240c45d35320ce054427dEvan Hunt# Fix references to Solaris renamed programs (z*->gz*) in man pages, info
0c25a44aac24a452a41240c45d35320ce054427dEvan Hunt# pages and in wrapper scripts.
146057d7e755d646283adfe5d813f756b0538095Mark Andrews $(GSED) -f $(COMPONENT_DIR)/renaming.sed $$file.tmp > $$file ; \
fe3472c80b76b6fed0ae674fd63471d02477a03aMark Andrews# Rename installed programs and man pages in proto dir (z*->gz*).
3975f627fe9c0d3aa02ed135070e3253357daad9Mark Andrews (for dir in $(PROTOUSRBINDIR) $(PROTOUSRSHAREMAN1DIR) ; do \
5caf26b168332b69c9071aac6b72ef0f50436a14Evan Hunt# Provide missing man pages.
36e97eb661df71069df2d75f5fd3b5bb0dcf1efeMark AndrewsGZGREP_MAN_VARIANTS+=$(PROTOUSRSHAREMAN1DIR)/gzegrep.1