Date: Wed, 20 Mar 2002 19:42:04 GMT From: Janos Mohacsi <janos.mohacsi@dante.org.uk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/36142: New port: magyarispell 0.65 Message-ID: <200203201942.g2KJg4002360@budapest.dante.org.uk>
next in thread | raw e-mail | index | archive | help
>Number: 36142 >Category: ports >Synopsis: New port: magyarispell 0.65 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Mar 20 11:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Janos Mohacsi >Release: FreeBSD 4.4-STABLE i386 >Organization: DANTE >Environment: System: FreeBSD budapest.dante.org.uk 4.4-STABLE FreeBSD 4.4-STABLE #1: Sun Oct 21 13:05:36 BST 2001 janos@budapest.dante.org.uk:/usr/src/sys/compile/BUDAPEST i386 >Description: This is a port of magyarispell (hungarian dictionary) for ispell. WARNING! I dared to add a new category 'hungarian' to port collection. If you find it unnecessary remove it, and just use textproc category. For clean installation 'hungarian' had to be added to VALID_CATEGORIES in /usr/ports/Mk/bsd.port.mk . I not included this change in the shar. >How-To-Repeat: Apply the following shar. >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # magyarispell # magyarispell/files # magyarispell/files/patch-Makefile # magyarispell/files/ispell-hu.sh # magyarispell/Makefile # magyarispell/distinfo # magyarispell/pkg-comment # magyarispell/pkg-descr # magyarispell/pkg-plist # echo c - magyarispell mkdir -p magyarispell > /dev/null 2>&1 echo c - magyarispell/files mkdir -p magyarispell/files > /dev/null 2>&1 echo x - magyarispell/files/patch-Makefile sed 's/^X//' >magyarispell/files/patch-Makefile << 'END-of-magyarispell/files/patch-Makefile' X*** Makefile.orig Tue Feb 19 17:55:52 2002 X--- Makefile Wed Mar 20 17:24:23 2002 X*************** X*** 4,11 **** X X magyar.aff: aff.fej aff.alanyi aff.fonev X # ******* magyar ispell ragozási táblázat (magyar.aff) előállítása ********* X! cat aff.fej aff.alanyi aff.fonev aff.fonev.morfo | m4 >magyar.aff X! cat aff.targyas aff.ige_kiv | m4 >>magyar.aff X X magyar.dict: ige_gen.awk fonev_gen.awk X # ******* magyar ispell alapszótár (magyar.dict) előállítása ********* X--- 4,11 ---- X X magyar.aff: aff.fej aff.alanyi aff.fonev X # ******* magyar ispell ragozási táblázat (magyar.aff) előállítása ********* X! cat aff.fej aff.alanyi aff.fonev aff.fonev.morfo | gm4 >magyar.aff X! cat aff.targyas aff.ige_kiv | gm4 >>magyar.aff X X magyar.dict: ige_gen.awk fonev_gen.awk X # ******* magyar ispell alapszótár (magyar.dict) előállítása ********* X*************** X*** 48,64 **** X awk -f melleknev_gen.awk <ige_ando | sed -e 's/$$/\/X/' >>magyar.dict X awk -f melleknev_gen.awk <ige_hato | sed -e 's/$$/\/X/' >>magyar.dict X # egyéb kivételek X! cat kivetelek/igekötős/* | grep -v ^# | m4 | tr "\t" "\n" | grep -v ^$$ | sed -e 's/$$/\/X/' >>magyar.dict X! cat ragozatlan kivetelek/ragozatlan/* | m4 | grep -v ^# | tr "\t" "\n" >>magyar.dict X X install: X # magyar.hash, magyar.aff a helyére X! mv magyar.hash $(DESTDIR)/usr/lib/ispell X! mv magyar.aff $(DESTDIR)/usr/lib/ispell X # hungarian.hash -> magyar.hash kötés létrehozása X! ! [ -f $(DESTDIR)/usr/lib/ispell/hungarian.hash ] && ln -s magyar.hash $(DESTDIR)/usr/lib/ispell/hungarian.hash || true X # spellhtml és spellhtmlic a helyére X! cp spellhtml/spellhtmlic spellhtml/spellhtml $(DESTDIR)/usr/bin X X allinstal: X install -D -o root -g root -m 0644 magyar.hash $(DESTDIR)/usr/lib/ispell/hungarian.hash X--- 48,64 ---- X awk -f melleknev_gen.awk <ige_ando | sed -e 's/$$/\/X/' >>magyar.dict X awk -f melleknev_gen.awk <ige_hato | sed -e 's/$$/\/X/' >>magyar.dict X # egyéb kivételek X! cat kivetelek/igekötős/* | grep -v ^# | gm4 | tr "\t" "\n" | grep -v ^$$ | sed -e 's/$$/\/X/' >>magyar.dict X! cat ragozatlan kivetelek/ragozatlan/* | gm4 | grep -v ^# | tr "\t" "\n" >>magyar.dict X X install: X # magyar.hash, magyar.aff a helyére X! ##@#mv magyar.hash $(DESTDIR)/usr/lib/ispell X! ##@#mv magyar.aff $(DESTDIR)/usr/lib/ispell X # hungarian.hash -> magyar.hash kötés létrehozása X! ##@#! [ -f $(DESTDIR)/usr/lib/ispell/hungarian.hash ] && ln -s magyar.hash $(DESTDIR)/usr/lib/ispell/hungarian.hash || true X # spellhtml és spellhtmlic a helyére X! ##@#cp spellhtml/spellhtmlic spellhtml/spellhtml $(DESTDIR)/usr/bin X X allinstal: X install -D -o root -g root -m 0644 magyar.hash $(DESTDIR)/usr/lib/ispell/hungarian.hash X*************** X*** 86,92 **** X bin/i2myspell -d magyar.dict >$(dir)hu_HU.dic X X all: magyar.hash X! make myspell ISPELLDIR=$(CURDIR)/ X X new: X # új modul létrehozása X--- 86,92 ---- X bin/i2myspell -d magyar.dict >$(dir)hu_HU.dic X X all: magyar.hash X! ##@#make myspell ISPELLDIR=$(CURDIR)/ X X new: X # új modul létrehozása END-of-magyarispell/files/patch-Makefile echo x - magyarispell/files/ispell-hu.sh sed 's/^X//' >magyarispell/files/ispell-hu.sh << 'END-of-magyarispell/files/ispell-hu.sh' X#!/bin/sh X Xexec ispell -d magyar "$@" END-of-magyarispell/files/ispell-hu.sh echo x - magyarispell/Makefile sed 's/^X//' >magyarispell/Makefile << 'END-of-magyarispell/Makefile' X# New ports collection makefile for: magyarispell X# Date created: 20.03.2002 X# Whom: mohacsi X# X# $FreeBSD$ X# X XPORTNAME= magyarispell XPORTVERSION= 0.65 XCATEGORIES= hungarian textproc XMASTER_SITES= http://www.szofi.hu/gnu/magyarispell/ X XMAINTAINER= Janos.Mohacsi@dante.org.uk X XBUILD_DEPENDS= ispell:${PORTSDIR}/textproc/ispell XBUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 X XRUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell X XUSE_GMAKE= yes X Xdo-install: X cd ${WRKSRC} && \ X ${INSTALL_DATA} magyar.hash magyar.dict magyar.aff \ X ${PREFIX}/share/ispell X ${INSTALL_SCRIPT} ${FILESDIR}/ispell-hu.sh ${PREFIX}/bin/ispell-hu X ${MKDIR} ${PREFIX}/share/doc/magyarispell X ${INSTALL_MAN} ${WRKSRC}/OLVASSEL ${WRKSRC}/README ${PREFIX}/share/doc/magyarispell X X.include <bsd.port.mk> END-of-magyarispell/Makefile echo x - magyarispell/distinfo sed 's/^X//' >magyarispell/distinfo << 'END-of-magyarispell/distinfo' XMD5 (magyarispell-0.65.tar.gz) = e7952f4a588f593782d8d5a1c414c895 END-of-magyarispell/distinfo echo x - magyarispell/pkg-comment sed 's/^X//' >magyarispell/pkg-comment << 'END-of-magyarispell/pkg-comment' XHungarian dictionary for ispell END-of-magyarispell/pkg-comment echo x - magyarispell/pkg-descr sed 's/^X//' >magyarispell/pkg-descr << 'END-of-magyarispell/pkg-descr' XHungarian Ispell/Myspell Spell Checher is a utility with Hungarian dictionary Xand affix files. It provides Hungarian spelling checking with Ispell Xprogram and Myspell library. It contains around 140 000 hungarian word + Xaffix rules. X XWWW: http://www.szofi.hu/gnu/magyarispell/english.html END-of-magyarispell/pkg-descr echo x - magyarispell/pkg-plist sed 's/^X//' >magyarispell/pkg-plist << 'END-of-magyarispell/pkg-plist' Xbin/ispell-hu Xshare/ispell/magyar.aff Xshare/ispell/magyar.dict Xshare/ispell/magyar.hash X%%PORTDOCS%%share/doc/magyarispell/README X%%PORTDOCS%%share/doc/magyarispell/OLVASSEL X%%PORTDOCS%%@dirrm share/doc/magyarispell END-of-magyarispell/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203201942.g2KJg4002360>