0856fc9917
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...
40 lines
1 KiB
Makefile
40 lines
1 KiB
Makefile
# New ports collection makefile for: ukr-ispell
|
|
# Date created: 5 Dec 2000
|
|
# Whom: mi
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ispell-uk
|
|
PORTVERSION= 0.5
|
|
CATEGORIES= textproc ukrainian
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ispell-uk
|
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
|
|
|
BUILD_DEPENDS= buildhash:${PORTSDIR}/textproc/ispell
|
|
|
|
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:
|
|
${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>
|