components/texinfo/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Wed, 05 Dec 2012 06:00:20 -0800
branchs11-update
changeset 2446 aabe313bb2a2
parent 2434 6c9bb5cf5610
child 1522 b74fd0949e89
child 2825 cb999e84659c
permissions -rw-r--r--
15959414 Several Userland components are using the wrong BugDB cat/subcat.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
221
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     1
#
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     3
#
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     7
#
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    12
#
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    18
#
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    20
#
663
2a5f723e7a09 7121463 text/texinfo doesn't deliver a file, but manifests it
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    21
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
221
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    22
#
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    23
include ../../make-rules/shared-macros.mk
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    24
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    25
COMPONENT_NAME=		texinfo
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    26
COMPONENT_VERSION=	4.7
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 221
diff changeset
    27
COMPONENT_PROJECT_URL=	http://www.gnu.org/software/texinfo/
221
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    28
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    29
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 663
diff changeset
    30
COMPONENT_ARCHIVE_HASH=	\
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 663
diff changeset
    31
    sha256:080a48f49bdad8797de0e1c18ba436b5fb030f24bd606bfd334ebf2dd91aeb62
221
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_URL=	http://ftp.gnu.org/gnu/texinfo/$(COMPONENT_ARCHIVE)
2446
aabe313bb2a2 15959414 Several Userland components are using the wrong BugDB cat/subcat.
Rich Burridge <rich.burridge@oracle.com>
parents: 2434
diff changeset
    33
COMPONENT_BUGDB=	utility/texinfo
221
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    34
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    35
include ../../make-rules/prep.mk
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    36
include ../../make-rules/configure.mk
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    37
include ../../make-rules/ips.mk
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    38
663
2a5f723e7a09 7121463 text/texinfo doesn't deliver a file, but manifests it
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    39
INFOPATH := /usr/share/info
2a5f723e7a09 7121463 text/texinfo doesn't deliver a file, but manifests it
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    40
INFOPATH := $(INFOPATH):/usr/sfw/share/info
2a5f723e7a09 7121463 text/texinfo doesn't deliver a file, but manifests it
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    41
INFOPATH := $(INFOPATH):/usr/gnu/share/info
2a5f723e7a09 7121463 text/texinfo doesn't deliver a file, but manifests it
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    42
INFOPATH := $(INFOPATH):/usr/local/share/info
2a5f723e7a09 7121463 text/texinfo doesn't deliver a file, but manifests it
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    43
INFOPATH := $(INFOPATH):.
2a5f723e7a09 7121463 text/texinfo doesn't deliver a file, but manifests it
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    44
2a5f723e7a09 7121463 text/texinfo doesn't deliver a file, but manifests it
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    45
CPPFLAGS += -DDEFAULT_INFOPATH=\\\"$(INFOPATH)\\\"
2a5f723e7a09 7121463 text/texinfo doesn't deliver a file, but manifests it
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    46
221
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    47
CONFIGURE_OPTIONS  +=		--infodir=$(CONFIGURE_INFODIR)
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    48
CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
663
2a5f723e7a09 7121463 text/texinfo doesn't deliver a file, but manifests it
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    49
CONFIGURE_OPTIONS  +=		CPPFLAGS="$(CPPFLAGS)"
221
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    50
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    51
# common targets
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    52
build:		$(BUILD_32)
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    53
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    54
install:	$(INSTALL_32)
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    55
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    56
test:		$(NO_TESTS)
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    57
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    58
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    59
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    60
include ../../make-rules/depend.mk