summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-02-23 08:45:48 +0000
committeragc <agc@pkgsrc.org>1999-02-23 08:45:48 +0000
commit12cb5d884078fdb644aa49fa260112bdcccd1063 (patch)
tree940fed31c242af376c2881f8ea789cb2068d8bc8 /textproc
parentf5ec34238b6d2ea148aaf8546629573aa22ae62a (diff)
downloadpkgsrc-12cb5d884078fdb644aa49fa260112bdcccd1063.tar.gz
Correct things which shouldn't have been committed when moving LANG to
ISPELL_LANG, as pointed out by Hubert Feyrer. Cleanup this Makefile, whilst I'm here.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ispell/Makefile26
1 files changed, 9 insertions, 17 deletions
diff --git a/textproc/ispell/Makefile b/textproc/ispell/Makefile
index 33f893e47c0..7529881e8a3 100644
--- a/textproc/ispell/Makefile
+++ b/textproc/ispell/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 1999/02/21 21:25:03 agc Exp $
+# $NetBSD: Makefile,v 1.17 1999/02/23 08:45:48 agc Exp $
# FreeBSD Id: Makefile,v 1.21 1997/08/13 23:29:52 jmz Exp
#
@@ -17,39 +17,31 @@ SCRIPTS_ENV= "LANG=${ISPELL_LANG}"
USE_GTEXINFO= yes
INFO_FILES= ispell.info
-.include "../../mk/bsd.prefs.mk"
-
-_INTTYPES!= if [ -e /usr/include/inttypes.h ]; then ${ECHO} "Exists"; else ${ECHO} "No go"; fi
-
-.if (${_INTTYPES} == "Exists")
-CFLAGS+= -DHAVE_INTTYPES_H
+.if exists(/usr/include/inttypes.h)
+CFLAGS+= -DHAVE_INTTYPES_H
.endif
-pre-extract 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
+.include "../../mk/bsd.prefs.mk"
+
+.ifdef ISPELL_FR
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(ISPELL_LANG)
+.ifndef ISPELL_LANG
@${ECHO} '******************************************************'
@${ECHO} '* Note that you can build a british version by *'
@${ECHO} '* typing "make british" following a "make clean" *'
+ @${ECHO} '* Note that you can build a french/english version *'
+ @${ECHO} '* by typing "make french" *'
@${ECHO} '******************************************************'
.endif
pre-configure:
.if defined(EXTRA_DICT)
@${ECHO} ${EXTRA_DICT} > ${WRKDIR}/extra_dict
-.else
- @${ECHO} -n
.endif
post-configure: