Makefile revision 5636
1304N/A#
1304N/A# CDDL HEADER START
1304N/A#
1304N/A# The contents of this file are subject to the terms of the
1304N/A# Common Development and Distribution License (the "License").
1304N/A# You may not use this file except in compliance with the License.
1304N/A#
1304N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1304N/A# or http://www.opensolaris.org/os/licensing.
1304N/A# See the License for the specific language governing permissions
1304N/A# and limitations under the License.
1304N/A#
1304N/A# When distributing Covered Code, include this CDDL HEADER in each
1304N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1304N/A# If applicable, add the following below this CDDL HEADER, with the
1304N/A# fields enclosed by brackets "[]" replaced with your own identifying
1304N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1304N/A#
1304N/A# CDDL HEADER END
1304N/A#
1304N/A
1304N/A#
5381N/A# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
1304N/A#
1304N/A
1304N/Ainclude ../../make-rules/shared-macros.mk
1304N/A
1304N/ACOMPONENT_NAME= parallel
5584N/ACOMPONENT_VERSION= 20160222
1304N/A# A leading "0." is included to make it easier to upgrade the package, should
1304N/A# the maintainers decide to go to a more standard version numbering system.
5584N/AIPS_COMPONENT_VERSION= 0.2016.2.22
1304N/ACOMPONENT_PROJECT_URL= http://www.gnu.org/software/parallel/
1304N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1304N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
1304N/ACOMPONENT_ARCHIVE_HASH= \
5584N/A sha256:8dfbe539036a6ff02f9f542751e8621f42d285b3c9a7d9245042a6cc6ddc55ea
1304N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
1326N/ACOMPONENT_BUGDB= utility/parallel
1304N/A
5584N/ATPNO= 27217
2899N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/configure.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
1304N/A
5381N/A# Set PATH to find the correct pod2man, so that the man pages can be
1304N/A# automatically generated
5381N/ACOMPONENT_BUILD_ENV += \
5381N/A PATH="/usr/bin:/usr/gnu/bin:/usr/perl5/$(PERL_VERSION)/bin"
5381N/A
5381N/A# Adjust the '#!/usr/bin/env perl' and '#!/usr/bin/perl' at the beginning of
5381N/A# the Perl scripts to use '#!/usr/perl5/$(PERL_VERSION)/bin/perl'
5381N/ACOMPONENT_POST_INSTALL_ACTION += \
5381N/A $(GSED) -i -e 's?/usr/bin/perl?/usr/perl5/$(PERL_VERSION)/bin/perl?' \
5381N/A $(PROTOUSRBINDIR64)/niceload;
5381N/ACOMPONENT_POST_INSTALL_ACTION += \
5381N/A $(GSED) -i -e \
5381N/A 's?/usr/bin/env perl?/usr/perl5/$(PERL_VERSION)/bin/perl?' \
5381N/A $(PROTOUSRBINDIR64)/parallel;
5381N/ACOMPONENT_POST_INSTALL_ACTION += \
5381N/A $(GSED) -i -e 's?/usr/bin/perl?/usr/perl5/$(PERL_VERSION)/bin/perl?' \
5381N/A $(PROTOUSRBINDIR64)/sql;
1304N/A
1938N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
1938N/A
3477N/Aconfigure: $(CONFIGURE_64)
3477N/A
2023N/Abuild: $(BUILD_64)
1304N/A
2023N/Ainstall: $(INSTALL_64)
1304N/A
1304N/Atest: $(NO_TESTS)
1304N/A
4337N/Asystem-test: $(NO_TESTS)
4337N/A
3817N/A
5636N/AREQUIRED_PACKAGES += $(PERL_PKG)
3817N/AREQUIRED_PACKAGES += shell/which
5381N/AREQUIRED_PACKAGES += system/core-os