python/pymongo: update to 4.11
[oi-userland.git] / components / text / hunspell-hu / Makefile
blob3bc178a098321a36995aa33acd9c48c37c4d9fa7
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 (c) 2016 Alexander Pyhalov
15 include ../../../make-rules/shared-macros.mk
17 COMPONENT_NAME= hunspell-hu
18 COMPONENT_VERSION= 1.6.1
19 # Version was bumped in JDS
20 IPS_COMPONENT_VERSION= 2.30.1
21 COMPONENT_PROJECT_URL= http://magyarispell.sourceforge.net/
22 COMPONENT_SUMMARY= Myspell and Hunspell spell dictionary files for Hungarian
23 COMPONENT_LICENSE= LGPLv2
24 COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license
25 COMPONENT_FMRI= library/myspell/dictionary/hu
26 COMPONENT_CLASSIFICATION = System/Localizations
28 COMPONENT_SRC= hu_HU-$(COMPONENT_VERSION)
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
30 COMPONENT_ARCHIVE_HASH= \
31 sha256:0a1ab4672bf75acc1c29c4b3fbcab5d10b7883ba1e7fc25e8054d2209f0352c2
32 COMPONENT_ARCHIVE_URL= https://sourceforge.net/projects/magyarispell/files/Magyar%20Ispell/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
34 include $(WS_TOP)/make-rules/prep.mk
35 include $(WS_TOP)/make-rules/ips.mk
37 DESTDIR=/usr/share/spell/hunspell
38 LINKDIR=/usr/share/spell/myspell
39 FFDIR=/usr/lib/firefox/dictionaries
40 TBDIR=/usr/lib/thunderbird/dictionaries
42 $(SOURCE_DIR)/.installed: $(SOURCE_DIR)/.prep
43 [ -d $(PROTO_DIR)$(DESTDIR) ] || mkdir -p $(PROTO_DIR)$(DESTDIR)
44 [ -d $(PROTO_DIR)$(LINKDIR) ] || mkdir -p $(PROTO_DIR)$(LINKDIR)
45 [ -d $(PROTO_DIR)$(FFDIR) ] || mkdir -p $(PROTO_DIR)$(FFDIR)
46 [ -d $(PROTO_DIR)$(TBDIR) ] || mkdir -p $(PROTO_DIR)$(TBDIR)
47 cp $(COMPONENT_SRC)/hu_HU.{aff,dic} $(PROTO_DIR)$(DESTDIR)/
48 for file in `cd $(PROTO_DIR)/$(DESTDIR)/; ls`; do\
49 ln -fs ../../../..$(DESTDIR)/$$file $(PROTO_DIR)$(LINKDIR)/$$file; \
50 ln -fs ../../../..$(DESTDIR)/$$file $(PROTO_DIR)$(FFDIR)/$$file; \
51 ln -fs ../../../..$(DESTDIR)/$$file $(PROTO_DIR)$(TBDIR)/$$file; \
52 done
53 $(TOUCH) $@
55 build: $(SOURCE_DIR)/.prep
57 install: $(SOURCE_DIR)/.installed
59 clean::
60 $(RM) -r $(BUILD_DIR) $(PROTO_DIR)