1997-11-18 20:07:49 -05:00
|
|
|
# OpenBSD makefile for: ispell
|
1997-11-17 21:46:09 -05:00
|
|
|
# Version required: 3.1.20
|
|
|
|
# Date created: 17 Nov 1997
|
|
|
|
# Whom: ejovi
|
|
|
|
#
|
1998-07-12 22:24:49 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.3 1998/07/13 02:24:49 marc Exp $
|
1997-11-17 21:46:09 -05:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= ispell-3.1
|
|
|
|
PKGNAME= ispell-3.1.20
|
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= ftp://ftp.cs.ucla.edu/pub/ispell-3.1/
|
|
|
|
DISTFILES= ispell-3.1.20.tar.gz
|
|
|
|
|
|
|
|
MAINTAINER= joey@OpenBSD.ORG
|
|
|
|
|
|
|
|
MAKE_FLAGS= TMPDIR=${.CURDIR} -f
|
|
|
|
MAN1= buildhash.1 findaffix.1 ispell.1 munchlist.1 \
|
|
|
|
sq.1 tryaffix.1 unsq.1
|
|
|
|
MAN4= ispell.4 english.4
|
|
|
|
|
|
|
|
pre-fetch pre-build pre-install:
|
|
|
|
.if !defined(ISPELL_FR)
|
|
|
|
@echo '******************************************************'
|
|
|
|
@echo '* Note that you can build a french/english version *'
|
|
|
|
@echo '* by typing "make french" *'
|
|
|
|
@echo '******************************************************'
|
|
|
|
.else
|
|
|
|
EXTRA_DICT= francais-IREQ-1.4.tar.gz
|
|
|
|
MASTER_SITES+= ftp://ftp.robot.ireq.ca/pub/ispell/
|
|
|
|
DISTFILES+= ${EXTRA_DICT}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-extract:
|
|
|
|
.if !defined(LANG)
|
|
|
|
@echo '******************************************************'
|
|
|
|
@echo '* Note that you can build a british version by *'
|
|
|
|
@echo '* typing "make british" following a "make clean" *'
|
|
|
|
@echo '******************************************************'
|
|
|
|
.endif
|
|
|
|
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
.if defined(EXTRA_DICT)
|
|
|
|
@echo ${EXTRA_DICT} > ${WRKDIR}/extra_dict
|
|
|
|
.else
|
|
|
|
@echo -n
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
@echo "#define CFLAGS \"${CFLAGS}\"" >> ${WRKSRC}/local.h
|
|
|
|
|
|
|
|
british:
|
|
|
|
@echo "Okay, making a british version of ispell...."
|
|
|
|
@${MAKE} ${.MAKEFLAGS} LANG=british all
|
|
|
|
|
|
|
|
french:
|
|
|
|
@echo "Okay, making a french/english version of ispell...."
|
|
|
|
@${MAKE} ${.MAKEFLAGS} ISPELL_FR=yes
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@${MKDIR} ${PREFIX}/share/emacs/site-lisp
|
|
|
|
|
1998-07-12 22:24:49 -04:00
|
|
|
post-install:
|
|
|
|
@if [ ! -f ${PREFIX}/info/dir ]; then \
|
|
|
|
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
|
|
|
|
fi
|
|
|
|
@install-info ${PREFIX}/info/ispell ${PREFIX}/info/dir
|
|
|
|
|
1997-11-17 21:46:09 -05:00
|
|
|
.include <bsd.port.mk>
|