Andrzej Szeszo
2013-06-04 453bf5a3004107204e1858532a38b3e703e32995
commit | author | age
8a79c3 1 #
KC 2 # CDDL HEADER START
3 #
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.
7 #
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.
12 #
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]
18 #
19 # CDDL HEADER END
20 #
6f9d8e 21 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
8a79c3 22 #
KC 23 include ../../make-rules/shared-macros.mk
24
25 COMPONENT_NAME=        doxygen
a597fa 26 COMPONENT_VERSION=    1.7.6.1
60e6e0 27 COMPONENT_PROJECT_URL=    http://www.stack.nl/~dimitri/doxygen/index.html
8a79c3 28 COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
KC 29 COMPONENT_ARCHIVE=    $(COMPONENT_SRC).src.tar.gz
35e110 30 COMPONENT_ARCHIVE_HASH=    \
MS 31     sha256:0e60e794fb172d3fa4a9a9535f0b8e0eeb04e8366153f6b417569af0bcd61fcd
8a79c3 32 COMPONENT_ARCHIVE_URL=    http://ftp.stack.nl/pub/users/dimitri/$(COMPONENT_ARCHIVE)
3b89c9 33 COMPONENT_BUGDB=    utility/doxygen
a597fa 34
KC 35 # Download the manual so that we don't have to keep updating it in the gate.
36 COMPONENT_ARCHIVE_1 =    $(COMPONENT_NAME)_manual-$(COMPONENT_VERSION).pdf.zip
35e110 37 COMPONENT_ARCHIVE_HASH_1 =    \
MS 38     sha256:abe8ea7db00fe68632edeb2d6e44f94ad96a0dc798702b044afbc1752c7b2a61
a597fa 39 COMPONENT_ARCHIVE_URL_1 =    ftp://ftp.stack.nl/pub/users/dimitri/$(COMPONENT_ARCHIVE_1)
8a79c3 40
KC 41 include ../../make-rules/prep.mk
42 include ../../make-rules/configure.mk
43 include ../../make-rules/ips.mk
44
45 # Necessary to find CC during build
46 PATH=$(SPRO_VROOT)/bin:/usr/bin
47
48 # Missing files in build dir for configure without this.
49 COMPONENT_PRE_CONFIGURE_ACTION =    ($(CLONEY) $(SOURCE_DIR) $(@D))
50
51 # Need to override default options since configure doesn't
52 # understand CC, CXX, etc.
6f9d8e 53 CONFIGURE_OPTIONS =    --platform solaris-cc-64
8a79c3 54 CONFIGURE_OPTIONS +=    --prefix /usr
a597fa 55 CONFIGURE_OPTIONS +=    --enable-langs nl,sv,cz,fr,id,it,de,jp,je,es,fi,ru,hr,pl,pt,hu,kr,ke,ro,si,cn,no,br,dk,sk,ua,gr,tw,sr,ca,lt,za,ar,fa
8a79c3 56
6f9d8e 57 ASLR_MODE = $(ASLR_ENABLE)
8a79c3 58
6f9d8e 59 # common targets
BC 60 build:        $(BUILD_64)
61
62 install:    $(INSTALL_64)
a597fa 63     cd $(PROTO_DIR) ; $(UNPACK) ../../../$(COMPONENT_ARCHIVE_1) 
8a79c3 64
KC 65 test:    $(NO_TESTS)
66
67 BUILD_PKG_DEPENDENCIES =    $(BUILD_TOOLS)
68
69 include ../../make-rules/depend.mk