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.
24 # Copyright (c) 2018, Michal Nowak
27 BUILD_STYLE
= justmake
29 include ..
/..
/..
/make-rules
/shared-macros.mk
31 COMPONENT_NAME
= convmv
33 COMPONENT_VERSION
= 2.5
34 COMPONENT_REVISION
= 1
35 COMPONENT_SUMMARY
= Filename Encoding Conversion Tool
36 COMPONENT_DESCRIPTION
= Convmv helps convert a single filename
,\
37 a directory tree and the contained files or a whole filesystem\
38 into a different encoding.
39 COMPONENT_PROJECT_URL
= http
://www.j3e.de
/linux
/convmv
/
40 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(HUMAN_VERSION
)
41 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
42 COMPONENT_ARCHIVE_HASH
= \
43 sha256
:53b6ac8ae4f9beaee5bc5628f6a5382bfd14f42a5bed3d881b829d7b52d81ca6
44 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)$(COMPONENT_ARCHIVE
)
45 COMPONENT_FMRI
= text
/convmv
46 COMPONENT_CLASSIFICATION
= Applications
/System Utilities
47 COMPONENT_LICENSE
= GPLv2
48 COMPONENT_LICENSE_FILE
= GPL2
50 include $(WS_MAKE_RULES
)/common.mk
54 COMPONENT_TEST_TARGETS
= test
55 COMPONENT_TEST_TRANSFORMS
+= '-e "/^make\[/d"' # delete make logs
56 COMPONENT_TEST_TRANSFORMS
+= '-e "/^unimplemented function:/d"' # delete lines changing with every run
57 COMPONENT_TEST_TRANSFORMS
+= '-e "s/ in [0-9]* seconds//g"' # delete timing info
59 # Auto-generated dependencies
60 REQUIRED_PACKAGES
+= runtime
/perl