From c01db9ff98b274421001cbe9dc8af59409007b15 Mon Sep 17 00:00:00 2001 From: mi Date: Fri, 22 Mar 2002 10:27:08 +0000 Subject: The project has a new home now -- at SourceForge and is currently at version 0.5 -- hence the upgrade. It now requires gmake for some less than obvious reasons (seems like our make(1) can only process $< if the source is in the same directory). Also, install the ukrainian.dict (usefull, even if not required by the ispell itself) and a little ispell-uk script -- mirrored from the Russian ispell port. Not sure if this are good ideas, though... --- textproc/ua-ispell/Makefile | 33 +++++++++++++++++++++++---------- textproc/ua-ispell/distinfo | 2 +- textproc/ua-ispell/pkg-descr | 5 +---- textproc/ua-ispell/pkg-plist | 4 +++- 4 files changed, 28 insertions(+), 16 deletions(-) (limited to 'textproc/ua-ispell') diff --git a/textproc/ua-ispell/Makefile b/textproc/ua-ispell/Makefile index 28150d7..7639bd6 100644 --- a/textproc/ua-ispell/Makefile +++ b/textproc/ua-ispell/Makefile @@ -5,23 +5,36 @@ # $FreeBSD$ # -PORTNAME= ispell -PORTVERSION= 0.0.2b +PORTNAME= ispell-uk +PORTVERSION= 0.5 CATEGORIES= textproc ukrainian -MASTER_SITES= http://virtual-estates.net/port-stuff/ \ - http://www.brama.com/compute/unix/ \ - ftp://cad.ntu-kpi.kiev.ua/soft/lingvist/UkrIspell/ -PKGNAMEPREFIX= ua- -DISTNAME= ua-ispell.${PORTVERSION} +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ispell-uk MAINTAINER= mi@aldan.algebra.com BUILD_DEPENDS= buildhash:${PORTSDIR}/textproc/ispell -ALL_TARGET= all,koi +USE_BZIP2= YES +ALL_TARGET= koi +USE_GMAKE= YES + +# Still need gmake for other reasons :-\ +#post-patch: +# ${PERL} -pi -e 's,\$$\(MAKE\) -C (\w+),cd \1 && make,g' \ +# ${WRKSRC}/Makefile.in + +do-configure: + cd ${WRKSRC} && ${SH} ./makeconfig.sh \ + -ispell=${PREFIX}/share/ispell -default=koi do-install: - cd ${WRKSRC} && \ - ${INSTALL_DATA} ukrainian.hash ukrainian.aff ${PREFIX}/share/ispell + ${INSTALL_DATA} ${WRKSRC}/ukrainian-koi.hash \ + ${PREFIX}/share/ispell/ukrainian.hash + ${INSTALL_DATA} ${WRKSRC}/Affix/ukrainian-koi.aff \ + ${PREFIX}/share/ispell/ukrainian.aff + ${INSTALL_DATA} ${WRKSRC}/Dictionary/ukrainian-koi.dict \ + ${PREFIX}/share/ispell/ukrainian.dict + ${INSTALL_SCRIPT} ${FILESDIR}/ispell-uk ${PREFIX}/bin .include diff --git a/textproc/ua-ispell/distinfo b/textproc/ua-ispell/distinfo index 4d8954e0..7c070bc 100644 --- a/textproc/ua-ispell/distinfo +++ b/textproc/ua-ispell/distinfo @@ -1 +1 @@ -MD5 (ua-ispell.0.0.2b.tar.gz) = 9dfaf3048d5f70510e10e57e9f6c2457 +MD5 (ispell-uk-0.5.tar.bz2) = 18517bb60fcf6825fc2ac7670c9cde19 diff --git a/textproc/ua-ispell/pkg-descr b/textproc/ua-ispell/pkg-descr index 78beb51..6ce482a 100644 --- a/textproc/ua-ispell/pkg-descr +++ b/textproc/ua-ispell/pkg-descr @@ -1,6 +1,3 @@ Ukrainian (KOI8-U) dictionary for ISPELL -WWW: http://www.physics.mcgill.ca/WWW/oleh/emacs/ispell.html - -The software itself is far from finished -- some very basic -words are not listed. +WWW: http://sourceforge.net/projects/ispell-uk/ diff --git a/textproc/ua-ispell/pkg-plist b/textproc/ua-ispell/pkg-plist index fe5274b..a7cf1a0 100644 --- a/textproc/ua-ispell/pkg-plist +++ b/textproc/ua-ispell/pkg-plist @@ -1,2 +1,4 @@ -share/ispell/ukrainian.hash +bin/ispell-uk share/ispell/ukrainian.aff +share/ispell/ukrainian.dict +share/ispell/ukrainian.hash -- cgit v1.1