Makefile revision 1273
45e9809aff7304721fddb95654901b32195c9c7avboxsync# CDDL HEADER START
45e9809aff7304721fddb95654901b32195c9c7avboxsync# The contents of this file are subject to the terms of the
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Common Development and Distribution License (the "License").
45e9809aff7304721fddb95654901b32195c9c7avboxsync# You may not use this file except in compliance with the License.
45e9809aff7304721fddb95654901b32195c9c7avboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
45e9809aff7304721fddb95654901b32195c9c7avboxsync# See the License for the specific language governing permissions
45e9809aff7304721fddb95654901b32195c9c7avboxsync# and limitations under the License.
45e9809aff7304721fddb95654901b32195c9c7avboxsync# When distributing Covered Code, include this CDDL HEADER in each
45e9809aff7304721fddb95654901b32195c9c7avboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
45e9809aff7304721fddb95654901b32195c9c7avboxsync# If applicable, add the following below this CDDL HEADER, with the
45e9809aff7304721fddb95654901b32195c9c7avboxsync# fields enclosed by brackets "[]" replaced with your own identifying
45e9809aff7304721fddb95654901b32195c9c7avboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
45e9809aff7304721fddb95654901b32195c9c7avboxsync# CDDL HEADER END
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
45e9809aff7304721fddb95654901b32195c9c7avboxsync sha256:bd7725fb80f305bf27666e3d26a9b7b79596e2248f2ae2d27e06bc15a501ac75
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_ARCHIVE_URL= http://git-core.googlecode.com/files/$(COMPONENT_ARCHIVE)
45e9809aff7304721fddb95654901b32195c9c7avboxsync# man pages are a separate archive
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_ARCHIVE_1 = $(COMPONENT_NAME)-manpages-$(COMPONENT_VERSION).tar.gz
45e9809aff7304721fddb95654901b32195c9c7avboxsync sha256:c653a3678bb5668c280a0d5ba584fdfb0e4272acbbd00901dc2363ea3f58eede
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_ARCHIVE_URL_1 = http://git-core.googlecode.com/files/$(COMPONENT_ARCHIVE_1)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_INSTALL_ENV+= PERL_LIB=$(shell $(PERL) -MConfig -e 'print "$$Config{installvendorarch}"')
45e9809aff7304721fddb95654901b32195c9c7avboxsync# This runs configure but configure doesn't generate a Makefile.
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Instead a Makefile comes with git.
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Anyways viewpathing doesn't work.
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Therefore we need cloney to copy a set of files to build.
45e9809aff7304721fddb95654901b32195c9c7avboxsync# There are some known issues around I18N.
45e9809aff7304721fddb95654901b32195c9c7avboxsync# These man pages come in a separate archive with no Makefile
45e9809aff7304721fddb95654901b32195c9c7avboxsync# and Solaris likes some of them moved around hence we'll just
45e9809aff7304721fddb95654901b32195c9c7avboxsync# do it manually here.
45e9809aff7304721fddb95654901b32195c9c7avboxsync cd $(BUILD_DIR) ; $(UNPACK) $(UNPACK_ARGS) ../$(COMPONENT_ARCHIVE_1)