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]
21 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
22 # Copyright (c) 2020, 2021, Andreas Wacknitz
26 USE_DEFAULT_TEST_TRANSFORMS
= yes
27 include ..
/..
/..
/make-rules
/shared-macros.mk
29 COMPONENT_NAME
= doxygen
30 COMPONENT_VERSION
= 1.12.0
31 COMPONENT_VERSION_
= $(subst .
,_
,$(COMPONENT_VERSION
))
32 COMPONENT_SUMMARY
= Doxygen
- Source Code Documentation Tool
33 COMPONENT_PROJECT_URL
= https
://www.doxygen.nl
34 COMPONENT_FILE
= Release_
$(COMPONENT_VERSION_
)
35 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_FILE
)
36 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).src.
tar.gz
37 COMPONENT_ARCHIVE_HASH
= sha256
:5ca35e1258020df5fe8b21c3656aed156c317def4a81b7fe52f452edc9f35768
38 COMPONENT_ARCHIVE_URL
= https
://github.com
/doxygen
/doxygen
/archive
/$(COMPONENT_FILE
).
tar.gz
39 COMPONENT_FMRI
= developer
/documentation-tool
/doxygen
40 COMPONENT_CLASSIFICATION
= Development
/Distribution Tools
41 COMPONENT_LICENSE
= GPLv2
42 COMPONENT_LICENSE_FILE
= LICENSE
44 # Download the manual so that we don't have to keep updating it in the gate.
45 COMPONENT_ARCHIVE_1
= $(COMPONENT_NAME
)_manual-
$(COMPONENT_VERSION
).pdf.zip
46 COMPONENT_ARCHIVE_HASH_1
= sha256
:656af62eba2104389bd2bc268c0e372baf46dbb15ca958c397e88a716c7e9400
47 COMPONENT_ARCHIVE_URL_1
= https
://doxygen.nl
/files
/$(COMPONENT_ARCHIVE_1
)
49 include $(WS_MAKE_RULES
)/common.mk
53 # Missing files in build dir for configure without this.
54 COMPONENT_PRE_CONFIGURE_ACTION
= ($(CLONEY
) $(SOURCE_DIR
) $(@D
))
56 CMAKE_OPTIONS
+= -G
"Unix Makefiles"
57 CMAKE_OPTIONS
+= -DCMAKE_BUILD_TYPE
=Release
59 ASLR_MODE
= $(ASLR_ENABLE
)
61 # Test 12 is a known failure (we don't have bibtex in Solaris).
62 COMPONENT_TEST_ENV
= PATH
="$(PROTO_DIR)/usr/bin:$(PATH)"
63 COMPONENT_TEST_DIR
= $(BUILD_DIR_64
)/testing
64 COMPONENT_TEST_TARGETS
= tests
67 install: $(INSTALL_64
)
68 $(UNPACK
) $(USERLAND_ARCHIVES
)$(COMPONENT_ARCHIVE_1
)
69 [ -f
$(PROTO_DIR
)/doxygen_manual-
$(IPS_COMPONENT_VERSION
).pdf
] || \
70 $(MV
) doxygen_manual-
$(IPS_COMPONENT_VERSION
).pdf
$(PROTO_DIR
)
71 $(INSTALL
) -d
$(PROTOUSRSHAREMAN1DIR
)
72 $(INSTALL
) -vm644
$(SOURCE_DIR
)/doc
/*.1 $(PROTOUSRSHAREMAN1DIR
)
75 REQUIRED_PACKAGES
+= developer
/lexer
/flex
77 # Auto-generated dependencies
78 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
79 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
80 REQUIRED_PACKAGES
+= system
/library
81 REQUIRED_PACKAGES
+= system
/library
/math