From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jan 2 06:20:14 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 247C316A4CE for ; Fri, 2 Jan 2004 06:20:14 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE3DA43D45 for ; Fri, 2 Jan 2004 06:20:10 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i02EKAFR037157 for ; Fri, 2 Jan 2004 06:20:10 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i02EKAWo037156; Fri, 2 Jan 2004 06:20:10 -0800 (PST) (envelope-from gnats) Resent-Date: Fri, 2 Jan 2004 06:20:10 -0800 (PST) Resent-Message-Id: <200401021420.i02EKAWo037156@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Leland Wang Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AF8516A4CE for ; Fri, 2 Jan 2004 06:10:21 -0800 (PST) Received: from infor.ck.tp.edu.tw (infor.ck.tp.edu.tw [203.64.26.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBD7143D1D for ; Fri, 2 Jan 2004 06:10:15 -0800 (PST) (envelope-from llwang@infor.ck.tp.edu.tw) Received: by infor.ck.tp.edu.tw (Postfix, from userid 1001) id 6EDD29273; Fri, 2 Jan 2004 22:10:14 +0800 (CST) Message-Id: <20040102141014.6EDD29273@infor.ck.tp.edu.tw> Date: Fri, 2 Jan 2004 22:10:14 +0800 (CST) From: Leland Wang To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/60822: new port: textproc/words - A Latin-English Dictionary Program X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Leland Wang List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jan 2004 14:20:14 -0000 >Number: 60822 >Category: ports >Synopsis: new port: textproc/words - A Latin-English Dictionary Program >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jan 02 06:20:10 PST 2004 >Closed-Date: >Last-Modified: >Originator: Leland Wang >Release: FreeBSD 4.9-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD Athena.infor.org 4.9-RELEASE-p1 FreeBSD 4.9-RELEASE-p1 #1: Wed Dec 3 02:14:02 CST 2003 root@Athena.infor.org:/home/adm/obj/usr/src/sys/Athena i386 >Description: WORDS is a free Latin-English dictionary program which contains over 30000 entries and, through additional word construction with hundreds of prefixes and suffixes, may generate more, leading to many hundreds of thousands of 'words' that can be formed by declension and conjugation. WORDS is written in ADA. With special tweak in the Makefile, I have made its package statically linked and thus not lib_depend on gnat. >How-To-Repeat: >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: # # words # words/Makefile # words/distinfo # words/pkg-descr # words/pkg-plist # words/files # words/files/words # echo c - words mkdir -p words > /dev/null 2>&1 echo x - words/Makefile sed 's/^X//' >words/Makefile << 'END-of-words/Makefile' X# New ports collection makefile for: words X# Date created: 2 January 2004 X# Whom: Leland Wang X# X# $FreeBSD$ X# X XPORTNAME= words XPORTVERSION= 1.97 XCATEGORIES= textproc XMASTER_SITES= http://users.erols.com/whitaker/ XDISTNAME= ${PORTNAME}all XEXTRACT_SUFX= .zip X XMAINTAINER= llwang@infor.org XCOMMENT= A Latin-English Dictionary Program X XBUILD_DEPENDS= gnatmake:${PORTSDIR}/lang/gnat X.if defined(PACKAGE_BUILDING) XSTATIC= yes X.endif X.if defined(STATIC) XGNATLINK_ARGS= -largs -static X.else XLIB_DEPENDS= gnat-3.15.1:${PORTSDIR}/lang/gnat X.endif X XUSE_ZIP= yes XUSE_REINPLACE= yes XNO_WRKSUBDIR= yes X XGNATMAKE= gnatmake X Xdo-build: X @cd ${WRKSRC} && \ X ${GNATMAKE} -O3 words ${GNATLINK_ARGS} && \ X ${GNATMAKE} makedict && \ X ${GNATMAKE} makestem && \ X ${GNATMAKE} makeinfl && \ X ${ECHO_CMD} G | ./makedict DICTLINE.GEN && \ X ${ECHO_CMD} G | ./makestem STEMLIST.GEN && \ X ./makeinfl INFLECTS.LAT X Xdo-install: X ${MKDIR} ${DATADIR} X ${INSTALL_PROGRAM} ${WRKSRC}/words ${DATADIR} X ${INSTALL_DATA} ${WRKSRC}/DICTFILE.GEN ${DATADIR} X ${INSTALL_DATA} ${WRKSRC}/STEMFILE.GEN ${DATADIR} X ${INSTALL_DATA} ${WRKSRC}/INDXFILE.GEN ${DATADIR} X ${INSTALL_DATA} ${WRKSRC}/INFLECTS.SEC ${DATADIR} X ${INSTALL_DATA} ${WRKSRC}/ADDONS.LAT ${DATADIR} X ${INSTALL_DATA} ${WRKSRC}/UNIQUES.LAT ${DATADIR} X ${INSTALL_SCRIPT} ${FILESDIR}/words ${PREFIX}/bin X ${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' ${PREFIX}/bin/words X Xpost-install: X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/WORDSDOC.HTM ${DOCSDIR} X.endif X X.include END-of-words/Makefile echo x - words/distinfo sed 's/^X//' >words/distinfo << 'END-of-words/distinfo' XMD5 (wordsall.zip) = 9664d88aedd747ffb547dcc1682fbaa9 END-of-words/distinfo echo x - words/pkg-descr sed 's/^X//' >words/pkg-descr << 'END-of-words/pkg-descr' XWORDS is a free Latin-English dictionary program which takes keyboard Xinput or a file of Latin text lines and provides an analysis/morphology X(declension, conjugation, case, tense, etc.) of each word individually, Xthe dictionary form, and the translation (meaning). X XThe dictionary contains over 30000 entries and, through additional word Xconstruction with hundreds of prefixes and suffixes, may generate more, Xleading to many hundreds of thousands of 'words' that can be formed by Xdeclension and conjugation. Present emphisis is on classical Latin and Xlate Latin, but medieval Latin entries are increasing. WORDS provides a Xtool to help in translations for the Latin student and a memory jog for Xresearchers. X XAuthor: William Whitaker XWWW: http://users.erols.com/whitaker/words.htm END-of-words/pkg-descr echo x - words/pkg-plist sed 's/^X//' >words/pkg-plist << 'END-of-words/pkg-plist' X%%DATADIR%%/words X%%DATADIR%%/DICTFILE.GEN X%%DATADIR%%/STEMFILE.GEN X%%DATADIR%%/INDXFILE.GEN X%%DATADIR%%/INFLECTS.SEC X%%DATADIR%%/ADDONS.LAT X%%DATADIR%%/UNIQUES.LAT X@dirrm %%DATADIR%% Xbin/words X%%PORTDOCS%%%%DOCSDIR%%/WORDSDOC.HTM X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-words/pkg-plist echo c - words/files mkdir -p words/files > /dev/null 2>&1 echo x - words/files/words sed 's/^X//' >words/files/words << 'END-of-words/files/words' X#!/bin/sh X Xcd %%DATADIR%% && ./words $@ END-of-words/files/words exit >Release-Note: >Audit-Trail: >Unformatted: