44N/A#
44N/A# CDDL HEADER START
44N/A#
44N/A# The contents of this file are subject to the terms of the
44N/A# Common Development and Distribution License (the "License").
44N/A# You may not use this file except in compliance with the License.
44N/A#
44N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
44N/A# or http://www.opensolaris.org/os/licensing.
44N/A# See the License for the specific language governing permissions
44N/A# and limitations under the License.
44N/A#
44N/A# When distributing Covered Code, include this CDDL HEADER in each
44N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
44N/A# If applicable, add the following below this CDDL HEADER, with the
44N/A# fields enclosed by brackets "[]" replaced with your own identifying
44N/A# information: Portions Copyright [yyyy] [name of copyright owner]
44N/A#
44N/A# CDDL HEADER END
44N/A#
75N/A
75N/A#
5636N/A# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
44N/A#
6895N/ACOMPILER= gcc
6895N/ABUILD_BITS= 64
44N/Ainclude ../../make-rules/shared-macros.mk
44N/A
44N/ACOMPONENT_NAME= a2ps
491N/ACOMPONENT_VERSION= 4.14
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:f3ae8d3d4564a41b6e2a21f237d2f2b104f48108591e8b83497500182a3ab3a4
44N/A
2899N/ATPNO= 4517
2899N/A
5680N/Ainclude $(WS_MAKE_RULES)/gnu-component.mk
44N/A
515N/A# don't use LD_Z_IGNORE: causes linker problems
515N/ALD_Z_IGNORE=
515N/A
6895N/A# Needed to get the tests to work.
6895N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
6895N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
6895N/A
44N/ACONFIGURE_OPTIONS += --enable-shared
44N/ACONFIGURE_OPTIONS += --disable-static
5680N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/gnu
58N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
44N/ACONFIGURE_OPTIONS += --with-medium=letter
44N/A
44N/A# because viewpathing isn't quite right in this version of a2ps
44N/ACOMPONENT_PREP_ACTION = \
59N/A (cd $(@D) ; ln -s $(SOURCE_DIR)/auxdir/mkinstalldirs)
6895N/A
6895N/ACOMPONENT_TEST_DIR = $(@D)/tests
6895N/ACOMPONENT_TEST_TRANSFORMS += \
6895N/A '-e "s|^make.*: Leaving directory.*$$|XXX_REMOVE_XXX|g" ' \
6895N/A '-e "s|^make.*: Entering directory.*$$|XXX_REMOVE_XXX|g" ' \
6895N/A '-e "/^XXX_REMOVE_XXX$$/d" '
44N/A
5795N/A# Adjust '#!/usr/bin/perl'
5795N/APERL_SCRIPTS = \
5795N/A $(PROTOUSRBINDIR)/composeglyphs \
5795N/A $(PROTOUSRBINDIR)/ogonkify
5795N/A
3817N/AREQUIRED_PACKAGES += developer/gperf
3817N/AREQUIRED_PACKAGES += editor/gnu-emacs
5795N/AREQUIRED_PACKAGES += $(PERL_PKG)
3817N/AREQUIRED_PACKAGES += shell/ksh93
3817N/AREQUIRED_PACKAGES += system/library/math