2000-04-09 13:35:57 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2000/04/09 17:38:27 espie Exp $
|
1999-04-06 15:34:18 -04:00
|
|
|
# Original from: Ejovi Nuwere <ejovi@ejovi.net>
|
1997-11-17 21:46:09 -05:00
|
|
|
|
1999-06-21 19:17:01 -04:00
|
|
|
FRENCH_DICT= francais-IREQ-1.4
|
1999-06-28 13:45:51 -04:00
|
|
|
GERMAN_DICT= hk2-deutsch
|
1999-06-21 19:17:01 -04:00
|
|
|
|
1999-06-21 00:07:05 -04:00
|
|
|
DISTNAME= ispell-3.1.20
|
1997-11-17 21:46:09 -05:00
|
|
|
CATEGORIES= textproc
|
2000-02-11 19:43:57 -05:00
|
|
|
NEED_VERSION= 1.195
|
2000-04-09 13:35:57 -04:00
|
|
|
FAKE=No
|
2000-01-04 14:09:57 -05:00
|
|
|
MASTER_SITES= ftp://ftp.cs.ucla.edu/pub/ispell-3.1/
|
|
|
|
MASTER_SITES0= ftp://ftp.robot.ireq.ca/pub/ispell/
|
|
|
|
MASTER_SITES1= ftp://ftp.informatik.uni-kiel.de/pub/kiel/dicts/
|
2000-02-02 12:02:38 -05:00
|
|
|
MASTER_SITES2= ftp://ftp.kiarchive.ru/pub/unix/text/ispell/
|
2000-01-04 14:09:57 -05:00
|
|
|
SUPDISTFILES= ${FRENCH_DICT}.tar.gz:0 ${GERMAN_DICT}.tar.gz:1
|
1997-11-17 21:46:09 -05:00
|
|
|
|
2000-02-02 12:02:38 -05:00
|
|
|
PATCHFILES= ispell-html-mode.patch:2
|
1997-11-17 21:46:09 -05:00
|
|
|
|
1999-06-21 00:07:05 -04:00
|
|
|
MAINTAINER= ports@openbsd.org
|
|
|
|
|
2000-02-12 01:29:49 -05:00
|
|
|
LICENSE_TYPE= BSD
|
2000-02-15 00:03:51 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= YES
|
|
|
|
PERMIT_PACKAGE_FTP= YES
|
|
|
|
PERMIT_DISTFILES_CDROM= YES
|
|
|
|
PERMIT_DISTFILES_FTP= YES
|
2000-02-12 01:29:49 -05:00
|
|
|
|
2000-02-11 19:43:57 -05:00
|
|
|
MAKE_FLAGS= TMPDIR=${WRKDIR}
|
1997-11-17 21:46:09 -05:00
|
|
|
|
2000-02-10 15:40:19 -05:00
|
|
|
WRKDIST= ${WRKDIR}/ispell-3.1
|
1999-06-21 19:17:01 -04:00
|
|
|
|
1997-11-17 21:46:09 -05:00
|
|
|
pre-fetch pre-build pre-install:
|
1999-06-21 00:07:05 -04:00
|
|
|
.if !defined(NO_WARNINGS)
|
1999-06-21 19:17:01 -04:00
|
|
|
.if !defined(ISPELL_FR) && !defined(ISPELL_DE)
|
2000-01-04 14:09:57 -05:00
|
|
|
@echo ''
|
|
|
|
@echo '******************************************************'
|
|
|
|
@echo '* Note that you can build a french/english or a *'
|
|
|
|
@echo '* german/english version by setting the shell *'
|
|
|
|
@echo '* variable ISPELL_FR or ISPELL_DE to yes, ie. *'
|
|
|
|
@echo '* "make ISPELL_FR=yes" or "make ISPELL_DE=yes" *'
|
|
|
|
@echo '******************************************************'
|
|
|
|
@echo ''
|
|
|
|
.elif defined(ISPELL_FR) && ${ISPELL_FR:U} == YES
|
1999-06-21 19:17:01 -04:00
|
|
|
EXTRA_DICT= ${FRENCH_DICT}.tar.gz
|
2000-01-04 14:09:57 -05:00
|
|
|
DISTFILES= ${DISTNAME}.tar.gz ${EXTRA_DICT}:0
|
1999-06-21 19:17:01 -04:00
|
|
|
PLIST= ${PKGDIR}/PLIST.french
|
2000-01-04 14:09:57 -05:00
|
|
|
.elif defined(ISPELL_DE) && ${ISPELL_DE:U} == YES
|
1999-06-21 19:17:01 -04:00
|
|
|
EXTRA_DICT= ${GERMAN_DICT}.tar.gz
|
2000-01-04 14:09:57 -05:00
|
|
|
DISTFILES= ${DISTNAME}.tar.gz ${EXTRA_DICT}:1
|
1999-06-21 19:17:01 -04:00
|
|
|
PLIST= ${PKGDIR}/PLIST.german
|
|
|
|
.endif
|
1998-12-16 15:08:42 -05:00
|
|
|
.endif
|
1997-11-17 21:46:09 -05:00
|
|
|
|
|
|
|
pre-extract:
|
|
|
|
.if !defined(LANG)
|
2000-01-04 14:09:57 -05:00
|
|
|
@echo ''
|
|
|
|
@echo '******************************************************'
|
|
|
|
@echo '* Note that you can build a british version by *'
|
|
|
|
@echo '* typing "make british" following a "make clean" *'
|
|
|
|
@echo '******************************************************'
|
|
|
|
@echo ''
|
1997-11-17 21:46:09 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
.if defined(EXTRA_DICT)
|
2000-01-04 14:09:57 -05:00
|
|
|
@echo ${EXTRA_DICT} > ${WRKDIR}/extra_dict
|
1997-11-17 21:46:09 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-configure:
|
2000-01-04 14:09:57 -05:00
|
|
|
@echo "#define CFLAGS \"${CFLAGS}\"" >> ${WRKSRC}/local.h
|
1997-11-17 21:46:09 -05:00
|
|
|
|
|
|
|
british:
|
2000-01-04 14:09:57 -05:00
|
|
|
@echo "Okay, making a british version of ispell...."
|
|
|
|
@make ${.MAKEFLAGS} LANG=british
|
1997-11-17 21:46:09 -05:00
|
|
|
|
|
|
|
french:
|
2000-01-04 14:09:57 -05:00
|
|
|
@echo "Okay, making a french/english version of ispell...."
|
|
|
|
@make ${.MAKEFLAGS} ISPELL_FR=Yes
|
1997-11-17 21:46:09 -05:00
|
|
|
|
1999-06-21 19:17:01 -04:00
|
|
|
german:
|
2000-01-04 14:09:57 -05:00
|
|
|
@echo "Okay, making a german/english version of ispell...."
|
|
|
|
@make ${.MAKEFLAGS} ISPELL_DE=Yes
|
1997-11-17 21:46:09 -05:00
|
|
|
|
1998-07-12 22:24:49 -04:00
|
|
|
post-install:
|
2000-01-04 14:09:57 -05:00
|
|
|
@install-info ${PREFIX}/info/ispell.info ${PREFIX}/info/dir
|
1998-07-12 22:24:49 -04:00
|
|
|
|
1997-11-17 21:46:09 -05:00
|
|
|
.include <bsd.port.mk>
|