1339N/A#
1339N/A# CDDL HEADER START
1339N/A#
1339N/A# The contents of this file are subject to the terms of the
1339N/A# Common Development and Distribution License (the "License").
1339N/A# You may not use this file except in compliance with the License.
1339N/A#
1339N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1339N/A# or http://www.opensolaris.org/os/licensing.
1339N/A# See the License for the specific language governing permissions
1339N/A# and limitations under the License.
1339N/A#
1339N/A# When distributing Covered Code, include this CDDL HEADER in each
1339N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1339N/A# If applicable, add the following below this CDDL HEADER, with the
1339N/A# fields enclosed by brackets "[]" replaced with your own identifying
1339N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1339N/A#
1339N/A# CDDL HEADER END
1339N/A#
1339N/A
1339N/A#
5680N/A# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
1339N/A#
5680N/ABUILD_BITS= 64
1339N/Ainclude ../../make-rules/shared-macros.mk
1339N/A
1339N/ACOMPONENT_NAME= groff
6170N/ACOMPONENT_VERSION= 1.22.3
1339N/ACOMPONENT_ARCHIVE_HASH= \
6170N/A sha256:3a48a9d6c97750bfbd535feeb5be0111db6406ddb7bb79fc680809cda6d828a5
1339N/A
6170N/ATPNO= 28205
2899N/A
5680N/ATEST_TARGET= $(NO_TESTS)
5051N/A
5051N/A# Complex dependencies on ON only available in S12.
5051N/Aifeq ($(BUILD_TYPE), evaluation)
5051N/APUBLISH_STAMP=
5051N/Aendif
5051N/A
5680N/Ainclude $(WS_MAKE_RULES)/gnu-component.mk
1339N/A
5680N/A# Deliver scripts from 64-bit build to the 32-bit location.
5680N/ACONFIGURE_LIBDIR.64 = $(CONFIGURE_LIBDIR.32)
2037N/A
1339N/ACONFIGURE_OPTIONS += \
1339N/A --with-appresdir=$(CONFIGURE_PREFIX)/X11/lib/X11/app-defaults
1339N/A
2782N/A# Don't generate tmac wrappers for the Solaris troff macro packages.
2782N/A# Some man pages (such as groff.1) use long macro name definitions
2782N/A# which fail in compatibility mode. See:
2782N/A# http://osdir.com/ml/printing.groff.general/2003-07/msg00088.html
2782N/A# for more details.
2782N/ACOMPONENT_INSTALL_ARGS += tmac_wrap=""
2782N/A
1339N/ACOMPONENT_INSTALL_ARGS += legacyfontdir=$(PROTOUSRLIBDIR)/font
1339N/ACOMPONENT_INSTALL_ARGS += sys_tmac_prefix=$(PROTOUSRSHARELIBDIR)/tmac/
1339N/A
1339N/ACOMPONENT_PRE_INSTALL_ACTION = \
1339N/A ($(MKDIR) $(PROTOUSRBINDIR) )
1339N/A
5795N/A# Adjust '#!/usr/bin/perl'
6170N/APERL_SCRIPTS= \
6170N/A $(PROTOUSRSHAREDIR)/groff/$(COMPONENT_VERSION)/font/devpdf/util/BuildFoundries \
6170N/A $(PROTOUSRLIBDIR)/groff/grog/subs.pl \
6170N/A $(PROTOUSRLIBDIR)/groff/gpinyin/subs.pl \
6170N/A $(PROTOUSRLIBDIR)/groff/groffer/main_subs.pl \
6170N/A $(PROTOUSRLIBDIR)/groff/groffer/subs.pl \
6170N/A $(PROTOUSRLIBDIR)/groff/groffer/man.pl \
6170N/A $(PROTOUSRBINDIR)/chem \
6170N/A $(PROTOUSRBINDIR)/roff2pdf \
6170N/A $(PROTOUSRBINDIR)/roff2dvi \
6170N/A $(PROTOUSRBINDIR)/roff2text \
6170N/A $(PROTOUSRBINDIR)/roff2html \
6170N/A $(PROTOUSRBINDIR)/groffer \
6170N/A $(PROTOUSRBINDIR)/glilypond \
6170N/A $(PROTOUSRBINDIR)/gperl \
6170N/A $(PROTOUSRBINDIR)/roff2ps \
6170N/A $(PROTOUSRBINDIR)/gpinyin \
6170N/A $(PROTOUSRBINDIR)/roff2x \
6170N/A $(PROTOUSRBINDIR)/gropdf \
6170N/A $(PROTOUSRBINDIR)/grog \
6170N/A $(PROTOUSRBINDIR)/mmroff \
6170N/A $(PROTOUSRBINDIR)/afmtodit \
6170N/A $(PROTOUSRBINDIR)/pdfmom
5795N/A
5795N/AREQUIRED_PACKAGES += $(PERL_PKG)
3817N/AREQUIRED_PACKAGES += shell/ksh93
3817N/AREQUIRED_PACKAGES += system/core-os
3817N/AREQUIRED_PACKAGES += system/library/c++-runtime
3817N/AREQUIRED_PACKAGES += system/library/math
4941N/AREQUIRED_PACKAGES += text/doctools
3817N/AREQUIRED_PACKAGES += text/gawk
3817N/AREQUIRED_PACKAGES += x11/library/libx11
3817N/AREQUIRED_PACKAGES += x11/library/libxmu
3817N/AREQUIRED_PACKAGES += x11/library/toolkit/libxaw7
3817N/AREQUIRED_PACKAGES += x11/library/toolkit/libxt