1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

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...
This commit is contained in:
Mikhail Teterin 2002-03-22 10:27:08 +00:00
parent 6980ba664a
commit 0856fc9917
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56446
8 changed files with 56 additions and 32 deletions

View File

@ -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>

View File

@ -1 +1 @@
MD5 (ua-ispell.0.0.2b.tar.gz) = 9dfaf3048d5f70510e10e57e9f6c2457
MD5 (ispell-uk-0.5.tar.bz2) = 18517bb60fcf6825fc2ac7670c9cde19

View File

@ -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/

View File

@ -1,2 +1,4 @@
share/ispell/ukrainian.hash
bin/ispell-uk
share/ispell/ukrainian.aff
share/ispell/ukrainian.dict
share/ispell/ukrainian.hash

View File

@ -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>

View File

@ -1 +1 @@
MD5 (ua-ispell.0.0.2b.tar.gz) = 9dfaf3048d5f70510e10e57e9f6c2457
MD5 (ispell-uk-0.5.tar.bz2) = 18517bb60fcf6825fc2ac7670c9cde19

View File

@ -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/

View File

@ -1,2 +1,4 @@
share/ispell/ukrainian.hash
bin/ispell-uk
share/ispell/ukrainian.aff
share/ispell/ukrainian.dict
share/ispell/ukrainian.hash