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]
21 # Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
22 # Copyright (c) 2020, Michal Nowak
25 # disable CONFIGURE_DEFAULT_DIRS, because --localedir is not supported
26 CONFIGURE_DEFAULT_DIRS
=no
27 USE_COMMON_TEST_MASTER
= yes
28 include ..
/..
/..
/make-rules
/shared-macros.mk
30 COMPONENT_NAME
= diffstat
31 COMPONENT_VERSION
= 1.67
32 COMPONENT_SUMMARY
= A utility which provides statistics based on the output of diff
33 COMPONENT_PROJECT_URL
= https
://invisible-island.net
/diffstat
/
34 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
35 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).tgz
36 COMPONENT_ARCHIVE_HASH
= sha256
:760ed0c99c6d643238d41b80e60278cf1683ffb94a283954ac7ef168c852766a
37 COMPONENT_ARCHIVE_URL
= https
://invisible-mirror.net
/archives
/diffstat
/$(COMPONENT_ARCHIVE
)
38 COMPONENT_FMRI
= text
/diffstat
39 COMPONENT_CLASSIFICATION
= System
/Text Tools
40 COMPONENT_LICENSE
= MIT
41 COMPONENT_LICENSE_FILE
= COPYING
43 include $(WS_MAKE_RULES
)/common.mk
47 CFLAGS
+= $(CPP_LARGEFILES
)
48 CPPFLAGS
+= $(CPP_LARGEFILES
)
52 COMPONENT_TEST_DIR
= $(SOURCE_DIR
)
53 COMPONENT_TEST_ENV
= PATH
=$(@D
):$(SOURCE_DIR
):$(PATH
)
54 COMPONENT_TEST_CMD
= .
/testing
/run_test.sh
55 COMPONENT_TEST_ARGS
= .
/testing
/case
*.pat
56 COMPONENT_TEST_TARGETS
=
57 COMPONENT_TEST_TRANSFORMS
= \
60 # Auto-generated dependencies
61 REQUIRED_PACKAGES
+= system
/library