aboutsummaryrefslogtreecommitdiff
path: root/ukrainian
diff options
context:
space:
mode:
Diffstat (limited to 'ukrainian')
-rw-r--r--ukrainian/ispell/Makefile33
-rw-r--r--ukrainian/ispell/distinfo2
-rw-r--r--ukrainian/ispell/pkg-descr5
-rw-r--r--ukrainian/ispell/pkg-plist4
4 files changed, 28 insertions, 16 deletions
diff --git a/ukrainian/ispell/Makefile b/ukrainian/ispell/Makefile
index 28150d79f441..7639bd636a7f 100644
--- a/ukrainian/ispell/Makefile
+++ b/ukrainian/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/ukrainian/ispell/distinfo b/ukrainian/ispell/distinfo
index 4d8954e06034..7c070bc84c94 100644
--- a/ukrainian/ispell/distinfo
+++ b/ukrainian/ispell/distinfo
@@ -1 +1 @@
-MD5 (ua-ispell.0.0.2b.tar.gz) = 9dfaf3048d5f70510e10e57e9f6c2457
+MD5 (ispell-uk-0.5.tar.bz2) = 18517bb60fcf6825fc2ac7670c9cde19
diff --git a/ukrainian/ispell/pkg-descr b/ukrainian/ispell/pkg-descr
index 78beb514c008..6ce482a3ec78 100644
--- a/ukrainian/ispell/pkg-descr
+++ b/ukrainian/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/ukrainian/ispell/pkg-plist b/ukrainian/ispell/pkg-plist
index fe5274b5790a..a7cf1a0ef075 100644
--- a/ukrainian/ispell/pkg-plist
+++ b/ukrainian/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