python/hypothesis: update to 6.122.3
[oi-userland.git] / components / developer / automake-1.11 / Makefile
blob26d067f3255468aec844e2a3e106b8f1a37631b3
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
23 # Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
26 include ../../../make-rules/shared-macros.mk
28 COMPONENT_NAME= automake
29 COMPONENT_VERSION= 1.11.6
30 COMPONENT_REVISION= 2
31 COMPONENT_SUMMARY= A Makefile generator
32 COMPONENT_PROJECT_URL= http://www.gnu.org/software/automake/
33 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
34 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
35 COMPONENT_ARCHIVE_HASH= \
36 sha256:1ffbc6cc41f0ea6c864fbe9485b981679dc5e350f6c4bc6c3512f5a4226936b5
37 COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/pub/gnu/automake/$(COMPONENT_ARCHIVE)
38 COMPONENT_FMRI= developer/build/automake-111
39 COMPONENT_CLASSIFICATION=Development/GNU
40 COMPONENT_LICENSE= GPL-2.0-only
41 COMPONENT_LICENSE_FILE= COPYING
43 include $(WS_MAKE_RULES)/common.mk
45 COMPONENT_VERSION_MAJOR = $(subst $(space),.,$(wordlist 1,2,$(subst ., ,$(HUMAN_VERSION))))
47 CONFIGURE_OPTIONS += --docdir=$(USRSHAREDOCDIR)/automake-$(COMPONENT_VERSION_MAJOR)
49 # Convert unversioned binary hardlinks and man page files to symlinks
50 COMPONENT_POST_INSTALL_ACTION += \
51 for f in aclocal automake ; do \
52 $(RM) $(PROTOUSRBINDIR)/$$f ; \
53 $(SYMLINK) $$f-$(COMPONENT_VERSION_MAJOR) $(PROTOUSRBINDIR)/$$f ; \
54 $(RM) $(PROTOUSRSHAREMAN1DIR)/$$f.1 ; \
55 $(SYMLINK) $$f-$(COMPONENT_VERSION_MAJOR).1 $(PROTOUSRSHAREMAN1DIR)/$$f.1 ; \
56 done ;
58 # We do not want the info index file
59 COMPONENT_POST_INSTALL_ACTION += $(RM) $(PROTOUSRSHAREDIR)/info/dir ;
61 # Convert unversioned info files to versioned and create unversioned symlinks
62 COMPONENT_POST_INSTALL_ACTION += \
63 for f in automake.info automake.info-1 automake.info-2 automake.info-3 ; do \
64 $(MV) $(PROTOUSRSHAREDIR)/info/$$f \
65 $(PROTOUSRSHAREDIR)/info/$${f%.*}-$(COMPONENT_VERSION_MAJOR).$${f\#\#*.} ; \
66 $(SYMLINK) $${f%.*}-$(COMPONENT_VERSION_MAJOR).$${f\#\#*.} $(PROTOUSRSHAREDIR)/info/$$f ; \
67 done ;
69 # Auto-generated dependencies
70 REQUIRED_PACKAGES += runtime/perl
71 REQUIRED_PACKAGES += shell/ksh93