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