Makefile revision 782
5cd4555ad444fd391002ae32450572054369fd42Rob Austein# CDDL HEADER START
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# The contents of this file are subject to the terms of the
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User# Common Development and Distribution License (the "License").
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# You may not use this file except in compliance with the License.
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# or http://www.opensolaris.org/os/licensing.
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# See the License for the specific language governing permissions
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# CDDL HEADER END
b5ad6dfea4cc3e7d1d322ac99f1e5a31096837c4Mark Andrews# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonCOMPONENT_PROJECT_URL= http://www.gnu.org/software/gzip/
6ed53e5949d9fcd9715b440015b56e5a896d63dfDavid HankinsCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonCOMPONENT_ARCHIVE_HASH= sha1:1d398dac6a7920a7de6e2685fe472a840eb2ce6e
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonCOMPONENT_ARCHIVE_URL= ftp://ftp.gnu.org/gnu/gzip/$(COMPONENT_ARCHIVE)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
3398334b3acda24b086957286288ca9852662b12Automatic Updater# Fix references to Solaris renamed programs (z*->gz*) in man pages, info
39844d471080b2de4f8bb9d81f7e136ef80f0ae2Automatic Updater# pages and in wrapper scripts.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein $(GSED) -f $(COMPONENT_DIR)/renaming.sed $$file.tmp > $$file ; \
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Rename installed programs and man pages in proto dir (z*->gz*).
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein (for dir in $(PROTOUSRBINDIR)/$(MACH64) $(PROTOUSRSHAREMAN1DIR) ; do \
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington# Provide missing man pages.
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonGZGREP_MAN_VARIANTS+=$(PROTOUSRSHAREMAN1DIR)/gzegrep.1
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonGZGREP_MAN_VARIANTS+=$(PROTOUSRSHAREMAN1DIR)/gzfgrep.1