2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2021 Gary Mills
13 # Copyright 2016 Alexander Pyhalov
17 USE_DEFAULT_TEST_TRANSFORMS
= yes
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= gtk-doc
24 COMPONENT_SUMMARY
= GTK
+ DocBook Documentation Generator
25 COMPONENT_ARCHIVE_HASH
= sha256
:b20b72b32a80bc18c7f975c9d4c16460c2276566a0b50f87d6852dff3aa7861c
26 COMPONENT_FMRI
= developer
/documentation-tool
/gtk-doc
27 COMPONENT_CLASSIFICATION
= Desktop
(GNOME
)/Libraries
28 COMPONENT_LICENSE
= GPL-2.0
-only AND GFDL-1.1
-only
30 include $(WS_MAKE_RULES
)/gnome.mk
31 include $(WS_MAKE_RULES
)/common.mk
34 update-license-file
: patch
36 printf
'\n--- COPYING ---------------------------------------------------------------\n\n' ; \
37 $(CAT
) $(SOURCE_DIR
)/COPYING
; \
38 printf
'\n--- COPYING-DOCS ----------------------------------------------------------\n\n' ; \
39 $(CAT
) $(SOURCE_DIR
)/COPYING-DOCS \
40 ) > $(COMPONENT_DIR
)/$(COMPONENT_LICENSE_FILE
)
42 # GNU msgfmt is expected
45 PYTHON_SCRIPTS
+= usr
/bin
/gtkdoc-check
46 PYTHON_SCRIPTS
+= usr
/bin
/gtkdoc-fixxref
47 PYTHON_SCRIPTS
+= usr
/bin
/gtkdoc-depscan
48 PYTHON_SCRIPTS
+= usr
/bin
/gtkdoc-mkdb
49 PYTHON_SCRIPTS
+= usr
/bin
/gtkdoc-mkhtml
50 PYTHON_SCRIPTS
+= usr
/bin
/gtkdoc-mkhtml2
51 PYTHON_SCRIPTS
+= usr
/bin
/gtkdoc-mkman
52 PYTHON_SCRIPTS
+= usr
/bin
/gtkdoc-mkpdf
53 PYTHON_SCRIPTS
+= usr
/bin
/gtkdoc-scan
54 PYTHON_SCRIPTS
+= usr
/bin
/gtkdoc-rebase
55 PYTHON_SCRIPTS
+= usr
/bin
/gtkdoc-scangobj
57 # Manually added build and runtime dependencies
58 REQUIRED_PACKAGES
+= text
/itstool
59 PYTHON_REQUIRED_PACKAGES
+= library
/python
/pygments
61 # Auto-generated dependencies
62 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
63 REQUIRED_PACKAGES
+= shell/ksh93