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