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#
3996N/A# Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
44N/A#
75N/A
44N/Ainclude ../../make-rules/shared-macros.mk
44N/A
44N/ACOMPONENT_NAME= a2ps
491N/ACOMPONENT_VERSION= 4.14
44N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
618N/ACOMPONENT_PROJECT_URL= http://www.gnu.org/software/a2ps/
491N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:f3ae8d3d4564a41b6e2a21f237d2f2b104f48108591e8b83497500182a3ab3a4
44N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/a2ps/$(COMPONENT_ARCHIVE)
1273N/ACOMPONENT_BUGDB= utility/a2ps
44N/A
3661N/ATPNO= 4517
3661N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
44N/A
515N/A# don't use LD_Z_IGNORE: causes linker problems
515N/ALD_Z_IGNORE=
515N/A
44N/ACONFIGURE_OPTIONS += --enable-shared
44N/ACONFIGURE_OPTIONS += --disable-static
44N/ACONFIGURE_OPTIONS += --sysconfdir=/etc/gnu
58N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
44N/ACONFIGURE_OPTIONS += --with-medium=letter
61N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
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)
44N/ACOMPONENT_POST_CONFIGURE_ACTION = \
44N/A (cd $(@D)/doc ; \
59N/A ln -s $(SOURCE_DIR)/doc/make-authors.pl ; \
59N/A ln -s $(SOURCE_DIR)/doc/translators.txt) ; \
59N/A (cd $(@D)/sheets ; \
177N/A for sheet in $(SOURCE_DIR)/sheets/*.ssh ; do \
59N/A ln -s $$sheet ; \
59N/A done)
44N/A
44N/A# common targets
44N/Abuild: $(BUILD_32)
44N/A
181N/Ainstall: $(INSTALL_32)
44N/A
181N/Atest: $(TEST_32)
83N/A
44N/A
3996N/AREQUIRED_PACKAGES += runtime/perl-512
3996N/AREQUIRED_PACKAGES += shell/ksh93
3996N/AREQUIRED_PACKAGES += system/library
3996N/AREQUIRED_PACKAGES += system/library/math