diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-11-19 10:46:25 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-11-19 10:46:25 +0000 |
commit | 0709fc843972a36a92949bcae62fd38c6a9316a9 (patch) | |
tree | 6fb2e91e635c92951fb3a566697eee0cfc2ba707 /hungarian | |
parent | 98fced1f1f3dcafa4d47d91e1789efa4725885dd (diff) | |
download | ports-0709fc843972a36a92949bcae62fd38c6a9316a9.tar.gz ports-0709fc843972a36a92949bcae62fd38c6a9316a9.zip |
Notes
Diffstat (limited to 'hungarian')
-rw-r--r-- | hungarian/Makefile | 2 | ||||
-rw-r--r-- | hungarian/ispell/Makefile | 30 | ||||
-rw-r--r-- | hungarian/ispell/distinfo | 1 | ||||
-rw-r--r-- | hungarian/ispell/files/ispell-hu.sh | 3 | ||||
-rw-r--r-- | hungarian/ispell/files/patch-Makefile | 77 | ||||
-rw-r--r-- | hungarian/ispell/pkg-comment | 1 | ||||
-rw-r--r-- | hungarian/ispell/pkg-descr | 6 | ||||
-rw-r--r-- | hungarian/ispell/pkg-plist | 7 |
8 files changed, 126 insertions, 1 deletions
diff --git a/hungarian/Makefile b/hungarian/Makefile index 0c5714006a26..939018db230e 100644 --- a/hungarian/Makefile +++ b/hungarian/Makefile @@ -1,5 +1,5 @@ # $FreeBSD$ # - SUBDIR += + SUBDIR += ispell .include <bsd.port.subdir.mk> diff --git a/hungarian/ispell/Makefile b/hungarian/ispell/Makefile new file mode 100644 index 000000000000..0292268b15bb --- /dev/null +++ b/hungarian/ispell/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: magyarispell +# Date created: 20.03.2002 +# Whom: mohacsi +# +# $FreeBSD$ +# + +PORTNAME= ispell +PORTVERSION= 0.85 +CATEGORIES= hungarian textproc +MASTER_SITES= http://www.szofi.hu/gnu/magyarispell/ +DISTNAME= magyarispell-${PORTVERSION} + +MAINTAINER= Janos.Mohacsi@bsd.hu + +BUILD_DEPENDS= ispell:${PORTSDIR}/textproc/ispell \ + gm4:${PORTSDIR}/devel/m4 +RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell + +USE_GMAKE= yes + +do-install: + cd ${WRKSRC} && \ + ${INSTALL_DATA} magyar.hash magyar.dict magyar.aff \ + ${PREFIX}/share/ispell + ${INSTALL_SCRIPT} ${FILESDIR}/ispell-hu.sh ${PREFIX}/bin/ispell-hu + ${MKDIR} ${PREFIX}/share/doc/hu-ispell + ${INSTALL_MAN} ${WRKSRC}/OLVASSEL ${WRKSRC}/README ${PREFIX}/share/doc/hu-ispell + +.include <bsd.port.mk> diff --git a/hungarian/ispell/distinfo b/hungarian/ispell/distinfo new file mode 100644 index 000000000000..3de631cce8c3 --- /dev/null +++ b/hungarian/ispell/distinfo @@ -0,0 +1 @@ +MD5 (magyarispell-0.85.tar.gz) = 7b032d6a5b54229ff68487263d2de8ac diff --git a/hungarian/ispell/files/ispell-hu.sh b/hungarian/ispell/files/ispell-hu.sh new file mode 100644 index 000000000000..386f2aacc2aa --- /dev/null +++ b/hungarian/ispell/files/ispell-hu.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +exec ispell -d magyar "$@" diff --git a/hungarian/ispell/files/patch-Makefile b/hungarian/ispell/files/patch-Makefile new file mode 100644 index 000000000000..575874dcfb2d --- /dev/null +++ b/hungarian/ispell/files/patch-Makefile @@ -0,0 +1,77 @@ +*** Makefile.orig Tue May 21 14:55:37 2002 +--- Makefile Tue May 21 14:58:21 2002 +*************** +*** 4,11 **** + + magyar.aff: aff.fej aff.alanyi aff.fonev + # ******* magyar ispell ragozási táblázat (magyar.aff) előállítása ********* +! cat aff.fej aff.alanyi aff.fonev aff.fonev.morfo | m4 >magyar.aff +! cat aff.targyas aff.ige_kiv | m4 >>magyar.aff + + magyar.dict: ige_gen.awk fonev_gen.awk + # ******* magyar ispell alapszótár (magyar.dict) előállítása ********* +--- 4,11 ---- + + magyar.aff: aff.fej aff.alanyi aff.fonev + # ******* magyar ispell ragozási táblázat (magyar.aff) előállítása ********* +! cat aff.fej aff.alanyi aff.fonev aff.fonev.morfo | gm4 >magyar.aff +! cat aff.targyas aff.ige_kiv | gm4 >>magyar.aff + + magyar.dict: ige_gen.awk fonev_gen.awk + # ******* magyar ispell alapszótár (magyar.dict) előállítása ********* +*************** +*** 48,65 **** + awk -f melleknev_gen.awk <ige_ando | sed -e 's/$$/\/X/' >>magyar.dict + awk -f melleknev_gen.awk <ige_hato | sed -e 's/$$/\/X/' >>magyar.dict + # egyéb kivételek +! cat kivetelek/igekötős/* | grep -v ^# | m4 | tr "\t" "\n" | grep -v ^$$ | sed -e 's/$$/\/X/' >>magyar.dict +! cat ragozatlan kivetelek/ragozatlan/* | m4 | grep -v ^# | tr "\t" "\n" >>magyar.dict + + install: +! # magyar.hash, magyar.aff a helyére, rendszergazdaként adjuk ki! +! ! [ -d $(DESTDIR)/usr/lib/ispell/ ] && mkdir /usr/lib/ispell || true +! mv magyar.hash $(DESTDIR)/usr/lib/ispell +! mv magyar.aff $(DESTDIR)/usr/lib/ispell +! # hungarian.hash -> magyar.hash kötés létrehozása +! ! [ -f $(DESTDIR)/usr/lib/ispell/hungarian.hash ] && ln -s magyar.hash $(DESTDIR)/usr/lib/ispell/hungarian.hash || true +! # spellhtml és spellhtmlic a helyére +! cp spellhtml/spellhtmlic spellhtml/spellhtml $(DESTDIR)/usr/bin + + allinstal: + install -D -o root -g root -m 0644 magyar.hash $(DESTDIR)/usr/lib/ispell/hungarian.hash +--- 48,65 ---- + awk -f melleknev_gen.awk <ige_ando | sed -e 's/$$/\/X/' >>magyar.dict + awk -f melleknev_gen.awk <ige_hato | sed -e 's/$$/\/X/' >>magyar.dict + # egyéb kivételek +! cat kivetelek/igekötős/* | grep -v ^# | gm4 | tr "\t" "\n" | grep -v ^$$ | sed -e 's/$$/\/X/' >>magyar.dict +! cat ragozatlan kivetelek/ragozatlan/* | gm4 | grep -v ^# | tr "\t" "\n" >>magyar.dict + + install: +! ##@# magyar.hash, magyar.aff a helyére, rendszergazdaként adjuk ki! +! ##@#! [ -d $(DESTDIR)/usr/lib/ispell/ ] && mkdir /usr/lib/ispell || true +! ##@#mv magyar.hash $(DESTDIR)/usr/lib/ispell +! ##@#mv magyar.aff $(DESTDIR)/usr/lib/ispell +! ##@# hungarian.hash -> magyar.hash kötés létrehozása +! ##@#! [ -f $(DESTDIR)/usr/lib/ispell/hungarian.hash ] && ln -s magyar.hash $(DESTDIR)/usr/lib/ispell/hungarian.hash || true +! ##@# spellhtml és spellhtmlic a helyére +! ##@#cp spellhtml/spellhtmlic spellhtml/spellhtml $(DESTDIR)/usr/bin + + allinstal: + install -D -o root -g root -m 0644 magyar.hash $(DESTDIR)/usr/lib/ispell/hungarian.hash +*************** +*** 81,87 **** + bin/i2myspell -d magyar.dict >$(dir)hu_HU.dic + + all: magyar.hash +! make myspell ISPELLDIR=$(CURDIR)/ + + new: + # új modul létrehozása +--- 81,87 ---- + bin/i2myspell -d magyar.dict >$(dir)hu_HU.dic + + all: magyar.hash +! ##@#make myspell ISPELLDIR=$(CURDIR)/ + + new: + # új modul létrehozása diff --git a/hungarian/ispell/pkg-comment b/hungarian/ispell/pkg-comment new file mode 100644 index 000000000000..eaf8b87472ac --- /dev/null +++ b/hungarian/ispell/pkg-comment @@ -0,0 +1 @@ +Hungarian dictionary for ispell diff --git a/hungarian/ispell/pkg-descr b/hungarian/ispell/pkg-descr new file mode 100644 index 000000000000..652ae2be4f21 --- /dev/null +++ b/hungarian/ispell/pkg-descr @@ -0,0 +1,6 @@ +Hungarian Ispell/Myspell Spell Checher is a utility with Hungarian dictionary +and affix files. It provides Hungarian spelling checking with Ispell +program and Myspell library. It contains around 140 000 hungarian word + +affix rules. + +WWW: http://www.szofi.hu/gnu/magyarispell/english.html diff --git a/hungarian/ispell/pkg-plist b/hungarian/ispell/pkg-plist new file mode 100644 index 000000000000..ed28e44079bc --- /dev/null +++ b/hungarian/ispell/pkg-plist @@ -0,0 +1,7 @@ +bin/ispell-hu +share/ispell/magyar.aff +share/ispell/magyar.dict +share/ispell/magyar.hash +%%PORTDOCS%%share/doc/hu-ispell/README +%%PORTDOCS%%share/doc/hu-ispell/OLVASSEL +%%PORTDOCS%%@dirrm share/doc/hu-ispell |