228N/A#
228N/A# CDDL HEADER START
228N/A#
228N/A# The contents of this file are subject to the terms of the
228N/A# Common Development and Distribution License (the "License").
228N/A# You may not use this file except in compliance with the License.
228N/A#
228N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
228N/A# or http://www.opensolaris.org/os/licensing.
228N/A# See the License for the specific language governing permissions
228N/A# and limitations under the License.
228N/A#
228N/A# When distributing Covered Code, include this CDDL HEADER in each
228N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
228N/A# If applicable, add the following below this CDDL HEADER, with the
228N/A# fields enclosed by brackets "[]" replaced with your own identifying
228N/A# information: Portions Copyright [yyyy] [name of copyright owner]
228N/A#
228N/A# CDDL HEADER END
228N/A#
228N/A
228N/A#
3691N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
228N/A#
228N/A
228N/Ainclude ../../make-rules/shared-macros.mk
228N/A
228N/ACOMPONENT_NAME= mc
3691N/ACOMPONENT_VERSION= 4.8.13
618N/ACOMPONENT_PROJECT_URL= http://www.midnight-commander.org/
228N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1777N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
844N/ACOMPONENT_ARCHIVE_HASH= \
3691N/A sha256:22e1b809edba957eb9a392138bf87fea3877f7ca0b7463b7cc2eb94afa6f3e49
618N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)downloads/$(COMPONENT_ARCHIVE)
1273N/ACOMPONENT_BUGDB= utility/mc
228N/A
3691N/ATPNO= 20604
3661N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
228N/A
228N/A
228N/ACONFIGURE_OPTIONS += --sysconfdir=/usr/share
228N/ACONFIGURE_OPTIONS += --libexecdir=/usr/share
228N/ACONFIGURE_OPTIONS += --with-samba
228N/ACONFIGURE_OPTIONS += --with-x
228N/ACONFIGURE_OPTIONS += --enable-charset
228N/ACONFIGURE_OPTIONS += --without-ext2undel
228N/ACONFIGURE_OPTIONS += --with-screen=slang
924N/ACONFIGURE_OPTIONS += "mc_cv_nroff_tascii="
228N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
228N/A
228N/A# common targets
3691N/Aconfigure: $(CONFIGURE_64)
3691N/A
1777N/Abuild: $(BUILD_64)
228N/A
1777N/Ainstall: $(INSTALL_64)
228N/A
228N/Atest: $(NO_TESTS)
228N/A
228N/A
3996N/AREQUIRED_PACKAGES += library/glib2
3996N/AREQUIRED_PACKAGES += library/slang
3996N/AREQUIRED_PACKAGES += runtime/perl-512
3996N/AREQUIRED_PACKAGES += shell/ksh93
3996N/AREQUIRED_PACKAGES += system/library