mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
3d10f0cd0c
Submitted by: asami
58 lines
1.3 KiB
Makefile
58 lines
1.3 KiB
Makefile
# New ports collection makefile for: ispell
|
|
# Version required: 3.1.18
|
|
# Date created: 6 November 1994
|
|
# Whom: jmz
|
|
#
|
|
# $Id: Makefile,v 1.9 1995/07/21 13:22:04 jmz Exp $
|
|
#
|
|
|
|
DISTNAME= ispell-3.1
|
|
PKGNAME= ispell-3.1.18
|
|
CATEGORIES+= utilities
|
|
MASTER_SITES= ftp://ftp.cs.ucla.edu/pub/ispell-3.1/
|
|
DISTFILES= ispell-3.1.18.tar.gz
|
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
|
|
|
# French
|
|
#EXTRA_DICT= francais-IREQ-1.3.tar.gz
|
|
#MASTER_SITES+= ftp://ftp.ireq-robot.hydro.qc.ca/pub/ispell/
|
|
|
|
DISTFILES+= ${EXTRA_DICT}
|
|
|
|
MAKE_FLAGS= TMPDIR=${.CURDIR} -f
|
|
|
|
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
|
|
|
|
pre-install:
|
|
@mkdir -p ${PREFIX}/bin
|
|
@mkdir -p ${PREFIX}/lib
|
|
@mkdir -p ${PREFIX}/man/man1
|
|
@mkdir -p ${PREFIX}/man/man4
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
|
|
|
|
|