1998-12-24 16:29:00 +00:00
|
|
|
# New ports collection makefile for: aspell
|
1999-04-23 22:45:13 +00:00
|
|
|
# Version required: 0.27.2
|
1998-12-24 16:29:00 +00:00
|
|
|
# Date created: 7 December 1998
|
|
|
|
# Whom: Josh Gilliam <josh@quick.net>
|
|
|
|
#
|
1999-04-23 22:45:13 +00:00
|
|
|
# $Id: Makefile,v 1.3 1999/02/28 11:49:40 obrien Exp $
|
1998-12-24 16:29:00 +00:00
|
|
|
#
|
|
|
|
|
1999-04-23 22:45:13 +00:00
|
|
|
DISTNAME= aspell-.27.2
|
|
|
|
PKGNAME= aspell-0.27.2
|
1998-12-24 16:29:00 +00:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= http://metalab.unc.edu/kevina/aspell/ \
|
|
|
|
ftp://ftp.kddlabs.co.jp/pub/Tools/aspell/ \
|
|
|
|
ftp://maroon.webmaster.com/pub/aspell/
|
|
|
|
|
|
|
|
MAINTAINER= josh@quick.net
|
|
|
|
|
1999-04-23 22:45:13 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSREL} < 4
|
1999-02-28 10:25:58 +00:00
|
|
|
BUILD_DEPENDS= eg++:${PORTSDIR}/lang/egcs
|
|
|
|
CC= egcc
|
|
|
|
CXX= eg++
|
|
|
|
.endif
|
1998-12-24 16:29:00 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
1999-02-28 10:25:58 +00:00
|
|
|
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -I${WRKSRC}"
|
1998-12-24 16:29:00 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKE_ARGS= NOPORTDOCS=${NOPORTDOCS}
|
|
|
|
|
|
|
|
WORDLIST?= /usr/share/dict/words
|
|
|
|
|
|
|
|
.if !exists(${WORDLIST})
|
|
|
|
WORDLIST= ${WRKSRC}/english.wl
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.pre_sed
|
|
|
|
@${SED} -e 's%@WORDLIST@%${WORDLIST}%' \
|
|
|
|
< ${WRKSRC}/Makefile.in.pre_sed > ${WRKSRC}/Makefile.in
|
|
|
|
@${ECHO_MSG} "===> Using ${WORDLIST} as English word list."
|
|
|
|
|
|
|
|
pre-install:
|
1999-02-28 10:25:58 +00:00
|
|
|
@${RM} -f ${WRKSRC}/manual/man-html/C_Credits.html \
|
|
|
|
${WRKSRC}/manual/man-html/D_Glossary.html \
|
|
|
|
${WRKSRC}/manual/man-html/E_Copyright.html \
|
|
|
|
${WRKSRC}/manual/man-text/C_Credits.txt \
|
|
|
|
${WRKSRC}/manual/man-text/D_Glossary.txt \
|
|
|
|
${WRKSRC}/manual/man-text/E_Copyright.txt
|
1998-12-24 16:29:00 +00:00
|
|
|
|
1999-04-23 22:45:13 +00:00
|
|
|
.include <bsd.port.post.mk>
|