4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
23 # Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
24 # Copyright (c) 2019, Michal Nowak
27 USE_DEFAULT_TEST_TRANSFORMS
= yes
28 include ..
/..
/..
/make-rules
/shared-macros.mk
31 COMPONENT_VERSION
= 1.23.0
33 COMPONENT_SUMMARY
= GNU troff Text Formatting
34 COMPONENT_PROJECT_URL
= https
://www.gnu.org
/software
/groff
/
35 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
36 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
37 COMPONENT_ARCHIVE_HASH
= sha256
:6b9757f592b7518b4902eb6af7e54570bdccba37a871fddb2d30ae3863511c13
38 COMPONENT_ARCHIVE_URL
= https
://ftp.gnu.org
/gnu
/$(COMPONENT_NAME
)/$(COMPONENT_ARCHIVE
)
39 COMPONENT_FMRI
= text
/groff
40 COMPONENT_CLASSIFICATION
= System
/Text Tools
41 COMPONENT_LICENSE
= GPL-3.0
-only
42 COMPONENT_LICENSE_FILE
= COPYING
44 COMPONENT_FMRI.groff-core
= $(COMPONENT_FMRI
)/groff-core
45 COMPONENT_SUMMARY.groff-core
= $(COMPONENT_SUMMARY
) (core system components
)
47 include $(WS_TOP
)/make-rules
/common.mk
49 CONFIGURE_OPTIONS
+= --with-x
50 CONFIGURE_OPTIONS
+= --with-appdefdir
=$(CONFIGURE_PREFIX
)/X11
/lib
/X11
/app-defaults
51 CONFIGURE_OPTIONS
+= --with-urw-fonts-dir
=/usr
/share
/ghostscript
/fonts
53 COMPONENT_INSTALL_ARGS
+= legacyfontdir
=/usr
/share
/ghostscript
/fonts
54 COMPONENT_INSTALL_ARGS
+= appdefdir
=/usr
/X11
/lib
/X11
/app-defaults
55 COMPONENT_INSTALL_ARGS
+= sys_tmac_prefix
=/usr
/share
/lib
/tmac
/
57 # Manually added build dependencies
58 REQUIRED_PACKAGES
+= developer
/test/dejagnu
59 REQUIRED_PACKAGES
+= text
/doctools
61 # Manually added dependencies
63 REQUIRED_PACKAGES
+= print/filter/ghostscript
/fonts
/gnu-gs-fonts-std
64 # 'pnmcrop', 'pnmcut', 'pnmtopng', and 'pnmtops':
65 REQUIRED_PACKAGES
+= library
/netpbm
67 # Auto-generated dependencies
68 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
69 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
70 REQUIRED_PACKAGES
+= SUNWcs
71 REQUIRED_PACKAGES
+= library
/uchardet
72 REQUIRED_PACKAGES
+= runtime
/perl
73 REQUIRED_PACKAGES
+= shell/bash
74 REQUIRED_PACKAGES
+= shell/ksh93
75 REQUIRED_PACKAGES
+= system
/library
76 REQUIRED_PACKAGES
+= system
/library
/math
77 REQUIRED_PACKAGES
+= text
/gawk
78 REQUIRED_PACKAGES
+= x11
/library
/libx11
79 REQUIRED_PACKAGES
+= x11
/library
/libxmu
80 REQUIRED_PACKAGES
+= x11
/library
/toolkit
/libxaw7
81 REQUIRED_PACKAGES
+= x11
/library
/toolkit
/libxt