libsoup3: update to 3.6.0; fix GTK2/3 app startup
[oi-userland.git] / components / developer / opensp / Makefile
blob9b24841843da67c5034f8a33f260024622e43be0
2 # CDDL HEADER START
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]
19 # CDDL HEADER END
23 # Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
26 USE_DEFAULT_TEST_TRANSFORMS= yes
27 include ../../../make-rules/shared-macros.mk
29 COMPONENT_NAME= opensp
30 COMPONENT_VERSION= 1.5.2
31 COMPONENT_REVISION= 1
32 COMPONENT_SUMMARY= The OpenJade group's SGML and XML parsing tools
33 COMPONENT_PROJECT_URL= https://openjade.sourceforge.net/
34 COMPONENT_SRC= OpenSP-$(COMPONENT_VERSION)
35 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
36 COMPONENT_ARCHIVE_HASH= \
37 sha256:57f4898498a368918b0d49c826aa434bb5b703d2c3b169beb348016ab25617ce
38 COMPONENT_ARCHIVE_URL= https://prdownloads.sourceforge.net/openjade/$(COMPONENT_ARCHIVE)
39 COMPONENT_FMRI= developer/documentation-tool/opensp
40 COMPONENT_CLASSIFICATION= System/Text Tools
41 COMPONENT_LICENSE= MIT
42 COMPONENT_LICENSE_FILE= COPYING
44 include $(WS_MAKE_RULES)/common.mk
46 PATH= $(PATH.gnu)
48 COMPONENT_PREP_ACTION += ( cd $(@D); PATH="$(PATH)" autoreconf -fiv )
50 CONFIGURE_OPTIONS += --disable-http
51 CONFIGURE_OPTIONS += --disable-nls
52 CONFIGURE_OPTIONS += --disable-static
53 CONFIGURE_OPTIONS += --enable-default-catalog="CATALOG:$(ETCDIR)/sgml/catalog:$(USRSHAREDIR)/sgml/CATALOG"
55 # Custom modifications
56 COMPONENT_POST_INSTALL_ACTION += \
57 $(INSTALL) -d $(PROTOUSRSHAREDIR)/sgml/opensp ; \
58 $(MV) \
59 $(PROTOUSRSHAREDIR)/OpenSP/japan.dcl \
60 $(PROTOUSRSHAREDIR)/OpenSP/opensp-implied.dcl \
61 $(PROTOUSRSHAREDIR)/OpenSP/xml.dcl \
62 $(PROTOUSRSHAREDIR)/OpenSP/xml.soc \
63 $(PROTOUSRSHAREDIR)/sgml/opensp ; \
64 $(RM) -r $(PROTOUSRSHAREDIR)/OpenSP ; \
65 $(INSTALL) -d $(PROTOVARDIR)/lib/sgml ; \
66 $(INSTALL) $(COMPONENT_DIR)/files/CATALOG.opensp $(PROTOVARDIR)/lib/sgml ; \
67 $(SYMLINK) ../../../..$(VARDIR)/lib/sgml/CATALOG.opensp $(PROTOUSRSHAREDIR)/sgml/CATALOG.opensp ;
69 # Create compatibility symlinks for binaries
70 COMPONENT_POST_INSTALL_ACTION += $(SYMLINK) onsgmls $(PROTOUSRBINDIR)/nsgmls ;
71 COMPONENT_POST_INSTALL_ACTION += $(SYMLINK) osx $(PROTOUSRBINDIR)/osgml2xml ;
72 COMPONENT_POST_INSTALL_ACTION += $(SYMLINK) osx $(PROTOUSRBINDIR)/s2x ;
73 COMPONENT_POST_INSTALL_ACTION += $(SYMLINK) osx $(PROTOUSRBINDIR)/sgml2xml ;
74 COMPONENT_POST_INSTALL_ACTION += $(SYMLINK) osgmlnorm $(PROTOUSRBINDIR)/sgmlnorm ;
75 COMPONENT_POST_INSTALL_ACTION += $(SYMLINK) ospam $(PROTOUSRBINDIR)/spam ;
76 COMPONENT_POST_INSTALL_ACTION += $(SYMLINK) ospcat $(PROTOUSRBINDIR)/spcat ;
77 COMPONENT_POST_INSTALL_ACTION += $(SYMLINK) ospent $(PROTOUSRBINDIR)/spent ;
78 # Create compatibility symlinks for man pages
79 COMPONENT_POST_INSTALL_ACTION += $(SYMLINK) onsgmls.1 $(PROTOUSRSHAREMAN1DIR)/nsgmls.1 ;
80 COMPONENT_POST_INSTALL_ACTION += $(SYMLINK) osx.1 $(PROTOUSRSHAREMAN1DIR)/osgml2xml.1 ;
81 COMPONENT_POST_INSTALL_ACTION += $(SYMLINK) osx.1 $(PROTOUSRSHAREMAN1DIR)/s2x.1 ;
82 COMPONENT_POST_INSTALL_ACTION += $(SYMLINK) osx.1 $(PROTOUSRSHAREMAN1DIR)/sgml2xml.1 ;
83 COMPONENT_POST_INSTALL_ACTION += $(SYMLINK) osgmlnorm.1 $(PROTOUSRSHAREMAN1DIR)/sgmlnorm.1 ;
84 COMPONENT_POST_INSTALL_ACTION += $(SYMLINK) ospam.1 $(PROTOUSRSHAREMAN1DIR)/spam.1 ;
85 COMPONENT_POST_INSTALL_ACTION += $(SYMLINK) ospcat.1 $(PROTOUSRSHAREMAN1DIR)/spcat.1 ;
86 COMPONENT_POST_INSTALL_ACTION += $(SYMLINK) ospent.1 $(PROTOUSRSHAREMAN1DIR)/spent.1 ;
88 # Auto-generated dependencies
89 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
90 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
91 REQUIRED_PACKAGES += system/library