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]
23 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
26 include ..
/..
/..
/make-rules
/shared-macros.mk
28 COMPONENT_NAME
= automake
29 COMPONENT_VERSION
= 1.10.3
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.bz2
35 COMPONENT_ARCHIVE_HASH
= \
36 sha256
:e98ab43bb839c31696a4202e5b6ff388b391659ef2387cf9365019fad17e1adc
37 COMPONENT_ARCHIVE_URL
= http
://ftp.gnu.org
/pub
/gnu
/automake
/$(COMPONENT_ARCHIVE
)
38 COMPONENT_FMRI
= developer
/build
/automake-110
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 hardlinks 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 ; \
56 # We do not want the info index file
57 COMPONENT_POST_INSTALL_ACTION
+= $(RM
) $(PROTOUSRSHAREDIR
)/info/dir ;
59 # Convert unversioned info files to versioned and create unversioned symlinks
60 COMPONENT_POST_INSTALL_ACTION
+= \
61 for f in automake.
info automake.info-1 automake.info-2
; do \
62 $(MV
) $(PROTOUSRSHAREDIR
)/info/$$f \
63 $(PROTOUSRSHAREDIR
)/info/$${f
%.
*}-$(COMPONENT_VERSION_MAJOR
).
$${f\
#\#*.} ; \
64 $(SYMLINK
) $${f
%.
*}-$(COMPONENT_VERSION_MAJOR
).
$${f\
#\#*.} $(PROTOUSRSHAREDIR)/info/$$f ; \
67 # Auto-generated dependencies
68 REQUIRED_PACKAGES
+= runtime
/perl
69 REQUIRED_PACKAGES
+= shell/ksh93