1995-04-15 03:46:07 +00:00
|
|
|
# New ports collection makefile for: ispell
|
1997-12-16 19:05:59 +00:00
|
|
|
# http://fmg-www.cs.ucla.edu/fmg-members/geoff/ispell.html
|
1995-11-22 21:11:05 +00:00
|
|
|
# Version required: 3.1.20
|
1995-04-15 03:46:07 +00:00
|
|
|
# Date created: 6 November 1994
|
|
|
|
# Whom: jmz
|
|
|
|
#
|
1999-08-31 02:11:56 +00:00
|
|
|
# $FreeBSD$
|
1995-04-15 03:46:07 +00:00
|
|
|
#
|
|
|
|
|
1994-11-06 02:13:04 +00:00
|
|
|
DISTNAME= ispell-3.1
|
1999-10-15 20:46:35 +00:00
|
|
|
PKGNAME= ispell-3.1.20c
|
1998-11-20 15:26:10 +00:00
|
|
|
CATEGORIES= textproc elisp
|
1999-10-15 20:46:35 +00:00
|
|
|
MASTER_SITES= ftp://ftp.cs.ucla.edu/pub/ispell-3.1/ \
|
|
|
|
ftp://kdstevens.com/pub/stevens/
|
|
|
|
DISTFILES= ispell-3.1.20.tar.gz ${ISPELL_ELISP}
|
1995-04-15 03:46:07 +00:00
|
|
|
|
1999-10-15 20:46:35 +00:00
|
|
|
PATCH_SITES= ftp://ftp.kiarchive.ru/pub/unix/text/ispell/ \
|
|
|
|
ftp://kdstevens.com/pub/stevens/
|
|
|
|
PATCHFILES= ispell-html-mode.patch texpatch-3.1.20c.gz
|
1997-12-16 20:17:47 +00:00
|
|
|
|
1995-04-11 02:02:17 +00:00
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
1994-11-06 02:13:04 +00:00
|
|
|
|
1999-10-15 20:46:35 +00:00
|
|
|
EXTRACT_ONLY= ispell-3.1.20.tar.gz
|
|
|
|
ISPELL_ELISP= ispell.el-3.2.gz
|
|
|
|
|
1999-08-13 00:13:14 +00:00
|
|
|
MAKE_FLAGS= TMPDIR=${WRKDIR} -f
|
|
|
|
MAN1= ispell.1 sq.1
|
1996-11-18 14:17:24 +00:00
|
|
|
MAN4= ispell.4 english.4
|
1999-08-13 00:13:14 +00:00
|
|
|
MLINKS= ispell.1 buildhash.1 ispell.1 findaffix.1 ispell.1 munchlist.1\
|
|
|
|
ispell.1 tryaffix.1 sq.1 unsq.1
|
1995-04-15 03:46:07 +00:00
|
|
|
|
1997-02-07 23:03:11 +00:00
|
|
|
.if !defined(ISPELL_FR)
|
1999-07-04 18:21:51 +00:00
|
|
|
.if (make(patch) || make(configure) || make(build) || make (install))
|
|
|
|
.BEGIN:
|
1999-08-27 22:30:39 +00:00
|
|
|
@${ECHO_MSG} '*********************************************************'
|
|
|
|
@${ECHO_MSG} '* Note that you can build a french or british version *'
|
|
|
|
@${ECHO_MSG} '* by typing "make french" or "make british" *'
|
|
|
|
@${ECHO_MSG} '*********************************************************'
|
1999-07-04 18:21:51 +00:00
|
|
|
.endif
|
1997-02-07 23:03:11 +00:00
|
|
|
.else
|
|
|
|
EXTRA_DICT= francais-IREQ-1.4.tar.gz
|
|
|
|
MASTER_SITES+= ftp://ftp.robot.ireq.ca/pub/ispell/
|
|
|
|
DISTFILES+= ${EXTRA_DICT}
|
1999-10-15 20:46:35 +00:00
|
|
|
EXTRACT_ONLY+= ${EXTRA_DICT}
|
1999-08-13 00:13:14 +00:00
|
|
|
.endif
|
1997-02-07 23:03:11 +00:00
|
|
|
|
1995-07-21 13:22:21 +00:00
|
|
|
pre-extract:
|
1999-08-13 00:13:14 +00:00
|
|
|
.if !defined(LANG)
|
1999-08-27 22:30:39 +00:00
|
|
|
@${ECHO_MSG} '******************************************************'
|
|
|
|
@${ECHO_MSG} '* Note that you can build a british version by *'
|
|
|
|
@${ECHO_MSG} '* typing "make british" following a "make clean" *'
|
|
|
|
@${ECHO_MSG} '******************************************************'
|
1999-08-13 00:13:14 +00:00
|
|
|
.endif
|
1997-02-07 23:03:11 +00:00
|
|
|
|
1999-10-15 20:46:35 +00:00
|
|
|
post-extract:
|
|
|
|
@${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${ISPELL_ELISP} > ${WRKSRC}/ispell.el
|
|
|
|
|
1995-03-07 14:41:48 +00:00
|
|
|
pre-configure:
|
|
|
|
.if defined(EXTRA_DICT)
|
1999-08-27 22:30:39 +00:00
|
|
|
@${ECHO} ${EXTRA_DICT} > ${WRKDIR}/extra_dict
|
1995-03-07 14:41:48 +00:00
|
|
|
.else
|
1999-08-27 22:30:39 +00:00
|
|
|
@${ECHO} -n
|
1995-03-07 14:41:48 +00:00
|
|
|
.endif
|
|
|
|
|
1995-09-23 20:48:02 +00:00
|
|
|
post-configure:
|
1999-08-27 22:30:39 +00:00
|
|
|
@${ECHO} "#define CFLAGS \"${CFLAGS}\"" >> ${WRKSRC}/local.h
|
1995-09-23 20:48:02 +00:00
|
|
|
|
1995-07-21 13:22:21 +00:00
|
|
|
british:
|
1999-08-27 22:30:39 +00:00
|
|
|
@${ECHO_MSG} "Okay, making a british version of ispell...."
|
1999-08-13 00:13:14 +00:00
|
|
|
@${MAKE} ${.MAKEFLAGS} LANG=british all
|
1995-07-21 13:22:21 +00:00
|
|
|
|
1997-02-07 23:03:11 +00:00
|
|
|
french:
|
1999-08-27 22:30:39 +00:00
|
|
|
@${ECHO_MSG} "Okay, making a french/english version of ispell...."
|
1997-02-07 23:03:11 +00:00
|
|
|
@${MAKE} ${.MAKEFLAGS} ISPELL_FR=yes
|
|
|
|
|
1994-11-06 02:13:04 +00:00
|
|
|
pre-install:
|
1997-08-13 23:29:52 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/emacs/site-lisp
|
1994-11-06 02:13:04 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|