Makefile revision 1923
1923N/A#
1923N/A# CDDL HEADER START
1923N/A#
1923N/A# The contents of this file are subject to the terms of the
1923N/A# Common Development and Distribution License (the "License").
1923N/A# You may not use this file except in compliance with the License.
1923N/A#
1923N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1923N/A# or http://www.opensolaris.org/os/licensing.
1923N/A# See the License for the specific language governing permissions
1923N/A# and limitations under the License.
1923N/A#
1923N/A# When distributing Covered Code, include this CDDL HEADER in each
1923N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1923N/A# If applicable, add the following below this CDDL HEADER, with the
1923N/A# fields enclosed by brackets "[]" replaced with your own identifying
1923N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1923N/A#
1923N/A# CDDL HEADER END
1923N/A#
1923N/A
1923N/A#
3706N/A# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
1923N/A#
1923N/A
1923N/Ainclude ../../make-rules/shared-macros.mk
1923N/A
1923N/ACOMPONENT_NAME= groff
3706N/ACOMPONENT_VERSION= 1.19.2
1923N/ACOMPONENT_PROJECT_URL= http://www.gnu.org/software/groff/
1923N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1923N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
1923N/ACOMPONENT_ARCHIVE_HASH= \
3706N/A sha256:d864fbd0bf6dea24e4f71736da9902a1cae86d0a1a893b5fe17118927257ec3e
1923N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
1923N/ACOMPONENT_BUGDB= utility/groff
1923N/A
3706N/Ainclude ../../make-rules/prep.mk
3661N/Ainclude ../../make-rules/configure.mk
3996N/Ainclude ../../make-rules/ips.mk
3996N/A
3996N/ACOMPONENT_PREP_ACTION = \
1923N/A ( cd $(@D) ; \
1923N/A libtoolize -force ; \
1923N/A aclocal -I. ; \
1923N/A autoconf ; \
1923N/A autoheader )
1923N/A
3706N/A# The grog.sh script needs GNU awk not the Solaris one.
3706N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
3706N/A $(GSED) -i -e 's?awk?/usr/gnu/bin/awk?' \
3706N/A $(SOURCE_DIR)/src/roff/grog/grog.sh
3706N/A
3706N/ACONFIGURE_OPTIONS += \
3706N/A --with-appresdir=$(CONFIGURE_PREFIX)/X11/lib/X11/app-defaults
3706N/A
3706N/ACONFIGURE_OPTIONS += CXX="$(CXX)"
3706N/ACONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)"
3706N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
3706N/A
3706N/ACOMPONENT_INSTALL_ARGS += prefix=$(PROTOUSRDIR)
3706N/ACOMPONENT_INSTALL_ARGS += bindir=$(PROTOUSRBINDIR)
3706N/ACOMPONENT_INSTALL_ARGS += libdir=$(PROTOUSRLIBDIR)
3706N/ACOMPONENT_INSTALL_ARGS += mandir=$(PROTOUSRSHAREMANDIR)
1923N/ACOMPONENT_INSTALL_ARGS += legacyfontdir=$(PROTOUSRLIBDIR)/font
1923N/ACOMPONENT_INSTALL_ARGS += appresdir=$(PROTOUSRDIR)/X11/lib/X11/app-defaults
1923N/ACOMPONENT_INSTALL_ARGS += sys_tmac_prefix=$(PROTOUSRSHARELIBDIR)/tmac/
1923N/A
1923N/ACOMPONENT_PRE_INSTALL_ACTION = \
1923N/A ($(MKDIR) $(PROTOUSRBINDIR) )
1923N/A
3706N/A# common targets
3706N/Abuild: $(BUILD_64)
3706N/A
3706N/Ainstall: $(INSTALL_64)
3706N/A
3706N/A# groff tests use dejagnu which isn't currently included in Solaris.
3706N/Atest: $(NO_TESTS)
3706N/A
3706N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
3706N/A
3706N/Ainclude ../../make-rules/depend.mk
3706N/A