remmina: update to 1.4.37
[oi-userland.git] / components / docbook / sgml-common / Makefile
blob89ae1f46ca97fc96101e16b4167464a05d91a6ba
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2014 Alexander Pyhalov. All rights reserved.
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= sgml-common
19 COMPONENT_VERSION= 0.6.3
20 COMPONENT_REVISION= 1
21 COMPONENT_SUMMARY= Common SGML catalog and DTD files
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:7dc418c1d361123ffc5e45d61f1b97257940a8eb35d0bfbbc493381cc5b1f959
26 COMPONENT_ARCHIVE_URL= \
27 https://sourceware.org/ftp/docbook-tools/new-trials/SOURCES/$(COMPONENT_ARCHIVE)
29 include $(WS_TOP)/make-rules/common.mk
31 XMLCATALOG=$(PROTO_DIR)/etc/xml/catalog
33 COMPONENT_PREP_ACTION +=(cd $(@D) && \
34 aclocal && \
35 autoconf &&\
36 automake --add-missing --copy );
38 # Missing files in build dir for configure without this.
39 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
40 CONFIGURE_OPTIONS += --disable-dependency-tracking
42 install: $(INSTALL_32)
43 cd $(PROTOUSRDIR); mv doc share
44 $(MKDIR) $(PROTO_DIR)/etc/xml $(PROTO_DIR)/usr/share/sgml/docbook
45 # Create an empty XML catalog.
46 /usr/bin/xmlcatalog --noout --create $(XMLCATALOG)
47 # Now put the common DocBook entries in it
48 /usr/bin/xmlcatalog --noout --add "delegatePublic" "-//OASIS//ENTITIES DocBook XML" "file:///usr/share/sgml/docbook/xmlcatalog" $(XMLCATALOG)
49 /usr/bin/xmlcatalog --noout --add "delegatePublic" "-//OASIS//DTD DocBook XML" "file:///usr/share/sgml/docbook/xmlcatalog" $(XMLCATALOG)
50 /usr/bin/xmlcatalog --noout --add "delegatePublic" "ISO 8879:1986" "file:///usr/share/sgml/docbook/xmlcatalog" $(XMLCATALOG)
51 /usr/bin/xmlcatalog --noout --add "delegateSystem" "http://www.oasis-open.org/docbook/" "file:///usr/share/sgml/docbook/xmlcatalog" $(XMLCATALOG)
52 /usr/bin/xmlcatalog --noout --add "delegateURI" "http://www.oasis-open.org/docbook/" "file:///usr/share/sgml/docbook/xmlcatalog" $(XMLCATALOG)
53 # Also create the common DocBook catalog
54 /usr/bin/xmlcatalog --noout --create $(PROTO_DIR)/usr/share/sgml/docbook/xmlcatalog
55 $(TOUCH) $(PROTO_DIR)/etc/sgml/catalog
56 # Auto-generated dependencies
57 REQUIRED_PACKAGES += shell/ksh93