From owner-freebsd-ports Thu Aug 8 7:50:22 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7220237B400 for ; Thu, 8 Aug 2002 07:50:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA81C43E75 for ; Thu, 8 Aug 2002 07:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g78Eo3JU046422 for ; Thu, 8 Aug 2002 07:50:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g78Eo33K046421; Thu, 8 Aug 2002 07:50:03 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC53D37B400; Thu, 8 Aug 2002 07:45:00 -0700 (PDT) Received: from nws2.iif.hu (nws2.iif.hu [193.225.12.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01B1F43E42; Thu, 8 Aug 2002 07:45:00 -0700 (PDT) (envelope-from mohacsi@nws2.iif.hu) Received: (from mohacsi@localhost) by nws2.iif.hu (8.12.5/8.12.5) id g78EFtO9088954; Thu, 8 Aug 2002 16:15:55 +0200 (CEST) (envelope-from mohacsi) Message-Id: <200208081415.g78EFtO9088954@nws2.iif.hu> Date: Thu, 8 Aug 2002 16:15:55 +0200 (CEST) From: Mohacsi Janos Reply-To: Mohacsi Janos To: FreeBSD-gnats-submit@FreeBSD.org Cc: portmgr@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/41450: New port: hu-ispell 0.86 (Hungarian spell checker) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 41450 >Category: ports >Synopsis: New port: hu-ispell 0.86 (Hungarian spell checker) >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: Thu Aug 08 07:50:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Mohacsi Janos >Release: FreeBSD 4.6-STABLE i386 >Organization: NIIF >Environment: System: FreeBSD nws2.iif.hu 4.6-STABLE FreeBSD 4.6-STABLE #1: Tue Aug 6 17:27:30 CEST 2002 root@nws2.iif.hu:/usr/src/sys/compile/NWS2 i386 >Description: New port: hu-ispell 0.86 (Hungarian extension for ispell). This is a new version of an uncommited ports: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/39308 Do not use PR=39308 anymore. Use rather this one. WARNING! This port requires adding new port category hungarian. For clean installation 'hungarian' had to be added to VALID_CATEGORIES in /usr/ports/Mk/bsd.port.mk . see discussion about this one on this: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/37576 >How-To-Repeat: Apply this 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: # # hu-ispell # hu-ispell/files # hu-ispell/files/patch-Makefile # hu-ispell/files/ispell-hu.sh # hu-ispell/pkg-plist # hu-ispell/pkg-descr # hu-ispell/pkg-comment # hu-ispell/Makefile # hu-ispell/distinfo # echo c - hu-ispell mkdir -p hu-ispell > /dev/null 2>&1 echo c - hu-ispell/files mkdir -p hu-ispell/files > /dev/null 2>&1 echo x - hu-ispell/files/patch-Makefile sed 's/^X//' >hu-ispell/files/patch-Makefile << 'END-of-hu-ispell/files/patch-Makefile' X*** Makefile.orig Tue May 21 14:55:37 2002 X--- Makefile Tue May 21 14:58:21 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,65 **** X awk -f melleknev_gen.awk >magyar.dict X awk -f melleknev_gen.awk >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, rendszergazdaként adjuk ki! X! ! [ -d $(DESTDIR)/usr/lib/ispell/ ] && mkdir /usr/lib/ispell || true 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,65 ---- X awk -f melleknev_gen.awk >magyar.dict X awk -f melleknev_gen.awk >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, rendszergazdaként adjuk ki! X! ##@#! [ -d $(DESTDIR)/usr/lib/ispell/ ] && mkdir /usr/lib/ispell || true 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*** 81,87 **** 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--- 81,87 ---- 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-hu-ispell/files/patch-Makefile echo x - hu-ispell/files/ispell-hu.sh sed 's/^X//' >hu-ispell/files/ispell-hu.sh << 'END-of-hu-ispell/files/ispell-hu.sh' X#!/bin/sh X Xexec ispell -d magyar "$@" END-of-hu-ispell/files/ispell-hu.sh echo x - hu-ispell/pkg-plist sed 's/^X//' >hu-ispell/pkg-plist << 'END-of-hu-ispell/pkg-plist' Xbin/ispell-hu Xshare/ispell/magyar.aff Xshare/ispell/magyar.dict Xshare/ispell/magyar.hash X%%PORTDOCS%%share/doc/hu-ispell/README X%%PORTDOCS%%share/doc/hu-ispell/OLVASSEL X%%PORTDOCS%%@dirrm share/doc/hu-ispell END-of-hu-ispell/pkg-plist echo x - hu-ispell/pkg-descr sed 's/^X//' >hu-ispell/pkg-descr << 'END-of-hu-ispell/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-hu-ispell/pkg-descr echo x - hu-ispell/pkg-comment sed 's/^X//' >hu-ispell/pkg-comment << 'END-of-hu-ispell/pkg-comment' XHungarian dictionary for ispell END-of-hu-ispell/pkg-comment echo x - hu-ispell/Makefile sed 's/^X//' >hu-ispell/Makefile << 'END-of-hu-ispell/Makefile' X# New ports collection makefile for: magyarispell X# Date created: 20.03.2002 X# Whom: mohacsi X# X# $FreeBSD$ X# X XPORTNAME= ispell XPORTVERSION= 0.86 XCATEGORIES= hungarian textproc XMASTER_SITES= http://www.szofi.hu/gnu/magyarispell/ XPKGNAMEPREFIX= hu- XDISTNAME= magyarispell-${PORTVERSION} X XMAINTAINER= Janos.Mohacsi@bsd.hu X XRUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell XBUILD_DEPENDS= ispell:${PORTSDIR}/textproc/ispell XBUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 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/hu-ispell X ${INSTALL_MAN} ${WRKSRC}/OLVASSEL ${WRKSRC}/README ${PREFIX}/share/doc/hu-ispell X X.include END-of-hu-ispell/Makefile echo x - hu-ispell/distinfo sed 's/^X//' >hu-ispell/distinfo << 'END-of-hu-ispell/distinfo' XMD5 (magyarispell-0.86.tar.gz) = ee6cc89fb8675c7889dd5a93ad43e378 END-of-hu-ispell/distinfo exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message