aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ua-ispell
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2002-03-22 18:27:08 +0800
committermi <mi@FreeBSD.org>2002-03-22 18:27:08 +0800
commitc01db9ff98b274421001cbe9dc8af59409007b15 (patch)
treeb07c972fca1aaad5b602f11f63b3e1c63e517617 /textproc/ua-ispell
parent904d4ead853e0ffd50f337a9859bafdd79674e20 (diff)
downloadfreebsd-ports-gnome-c01db9ff98b274421001cbe9dc8af59409007b15.tar.gz
freebsd-ports-gnome-c01db9ff98b274421001cbe9dc8af59409007b15.tar.zst
freebsd-ports-gnome-c01db9ff98b274421001cbe9dc8af59409007b15.zip
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...
Diffstat (limited to 'textproc/ua-ispell')
-rw-r--r--textproc/ua-ispell/Makefile33
-rw-r--r--textproc/ua-ispell/distinfo2
-rw-r--r--textproc/ua-ispell/pkg-descr5
-rw-r--r--textproc/ua-ispell/pkg-plist4
4 files changed, 28 insertions, 16 deletions
diff --git a/textproc/ua-ispell/Makefile b/textproc/ua-ispell/Makefile
index 28150d79f441..7639bd636a7f 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 <bsd.port.mk>
diff --git a/textproc/ua-ispell/distinfo b/textproc/ua-ispell/distinfo
index 4d8954e06034..7c070bc84c94 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 78beb514c008..6ce482a3ec78 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 fe5274b5790a..a7cf1a0ef075 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