summaryrefslogtreecommitdiff
path: root/textproc/ispell-base/Makefile
diff options
context:
space:
mode:
authoragc <agc>2001-03-14 12:10:22 +0000
committeragc <agc>2001-03-14 12:10:22 +0000
commitcdbfcbb7ed21afc261d2b465d32ff835c9567ae6 (patch)
tree5394eec9c33a475dcdb1d6c129cb0db7c758f191 /textproc/ispell-base/Makefile
parentb1724684be5d3fbc4ebd058785b2fc36b1fca3aa (diff)
downloadpkgsrc-cdbfcbb7ed21afc261d2b465d32ff835c9567ae6.tar.gz
Initial import of new format of ispell package, the interactive
spelling checker. The new format allows multiple language dictionaries to be installed at the same time, and uses pkgsrc dependencies, rather then overloading the base package. This is the base package (which also installs the default American English directories).
Diffstat (limited to 'textproc/ispell-base/Makefile')
-rw-r--r--textproc/ispell-base/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/textproc/ispell-base/Makefile b/textproc/ispell-base/Makefile
new file mode 100644
index 00000000000..8efebc0f9cd
--- /dev/null
+++ b/textproc/ispell-base/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/03/14 12:10:22 agc Exp $
+#
+
+DISTNAME= ispell-3.1.20
+PKGNAME= ispell-base-3.1.20
+CATEGORIES= textproc
+MASTER_SITES= ftp://ftp.cs.ucla.edu/pub/ispell-3.1/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.gnu.org/software/ispell/ispell.html
+COMMENT= Interactive spelling checker
+
+CONFLICTS+= ispell-[0-9]*
+
+WRKSRC= ${WRKDIR}/ispell-3.1
+
+USE_GTEXINFO= yes
+INFO_FILES= ispell.info
+
+.if exists(/usr/include/inttypes.h)
+CFLAGS+= -DHAVE_INTTYPES_H
+.endif
+
+do-configure:
+ cd ${WRKSRC}; \
+ ${SED} -e 's|/usr/local|${PREFIX}|g' <local.h.samp >local.h; \
+ ${ECHO} "#undef NO8BIT" >> local.h ; \
+ ${ECHO} "#define LANGUAGES \"{american,MASTERDICTS=american.med+,HASHFILES=americanmed+.hash,EXTRADICT=/usr/share/dict/words}\"" >>local.h; \
+ ${ECHO} "#undef WORDS" >> local.h ; \
+ ${ECHO} '#define WORDS "/usr/share/dict/words"' >> local.h ; \
+ ${ECHO} '#undef ELISPDIR' >> local.h; \
+ ${ECHO} "#define ELISPDIR \"${PREFIX}/share/emacs/site-lisp\"" >> local.h; \
+ ${ECHO} "#define CFLAGS \"${CFLAGS}\"" >> local.h
+
+.include "../../mk/bsd.pkg.mk"