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]
22 # Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
23 # Copyright (c) 2017, Aurelien Larcher
24 # Copyright (c) 2018, Michal Nowak
27 BUILD_STYLE
= configure
29 include ..
/..
/..
/make-rules
/shared-macros.mk
31 COMPONENT_NAME
= indent
32 COMPONENT_VERSION
= 2.2.13
33 COMPONENT_SUMMARY
= GNU indent
- a tool for improving C source code style
34 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
35 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
36 COMPONENT_PROJECT_URL
= https
://www.gnu.org
/software
/indent
/
37 COMPONENT_ARCHIVE_HASH
= sha256
:1b81ba4e9a006ca8e6eb5cbbe4cf4f75dfc1fc9301b459aa0d40393e85590a0b
38 COMPONENT_ARCHIVE_URL
= https
://ftp.gnu.org
/gnu
/$(COMPONENT_NAME
)/$(COMPONENT_ARCHIVE
)
39 COMPONENT_FMRI
= developer
/gnu-indent
40 COMPONENT_CLASSIFICATION
=Development
/GNU
41 COMPONENT_LICENSE
= GPLv3
42 COMPONENT_LICENSE_FILE
= COPYING
44 include $(WS_MAKE_RULES
)/common.mk
46 # Needed to get "gmake test" working.
47 COMPONENT_PRE_CONFIGURE_ACTION
= ($(CLONEY
) $(SOURCE_DIR
) $(@D
))
49 ASLR_MODE
= $(ASLR_ENABLE
)
51 COMPONENT_TEST_DIR
= $(@D
)/regression
53 # Test expects GNU diff
54 COMPONENT_TEST_ENV
+= PATH
=$(PATH.gnu
)
56 # Auto-generated dependencies
57 REQUIRED_PACKAGES
+= system
/library