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, 2013, Oracle and/or its affiliates. All rights reserved.
26 include ..
/..
/..
/make-rules
/shared-macros.mk
29 COMPONENT_VERSION
= 6.20.00
30 IPS_COMPONENT_VERSION
= 6.20.0
31 COMPONENT_PROJECT_URL
= http
://www.tcsh.org
/
32 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
33 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
34 COMPONENT_ARCHIVE_HASH
= \
35 sha256
:b89de7064ab54dac454a266cfe5d8bf66940cb5ed048d0c30674ea62e7ecef9d
36 COMPONENT_ARCHIVE_URL
= ftp
://ftp.astron.com
/pub
/tcsh
/$(COMPONENT_ARCHIVE
)
37 COMPONENT_BUGDB
= utility
/tcsh
39 include $(WS_MAKE_RULES
)/prep.mk
40 include $(WS_MAKE_RULES
)/configure.mk
41 include $(WS_MAKE_RULES
)/ips.mk
43 COMPONENT_PRE_CONFIGURE_ACTION
= \
44 ($(CLONEY
) $(SOURCE_DIR
) $(@D
))
46 COMPONENT_PREP_ACTION
= \
47 (cd
$(@D
) ; autoconf
)
49 LOCALEDIR
=$(PROTO_DIR
)/$(CONFIGURE_LOCALEDIR
)
51 # Deliver 64-bit binary in /usr/bin
52 CONFIGURE_BINDIR
.64 = $(CONFIGURE_BINDIR
.32)
54 CONFIGURE_OPTIONS
+= --localedir
=$(CONFIGURE_LOCALEDIR
)
56 ASLR_MODE
= $(ASLR_ENABLE
)
58 COMPONENT_TEST_ENV
+= PATH
=$(GNUBIN
):$(USRBINDIR
)
59 COMPONENT_SYSTEM_TEST_TARGETS
= system-test
61 # Strip compilation lines from test output
62 COMPONENT_TEST_TRANSFORMS
+= \
63 '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
64 '-e "s|^.*$(CXX).*$$|XXX_CC_XXX|g" ' \
65 '-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
66 '-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
67 '-e "/^XXX_CC_XXX$$/d" '
72 install: $(INSTALL_64
)
76 REQUIRED_PACKAGES
+= system
/library
77 REQUIRED_PACKAGES
+= text
/locale