1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/textproc/ispell/files/BR.patch
Jean-Marc Zucconi bbfb2cdea9 Build british dictionary with ISPELL_BRITISH=yes instead of `make british'.
Cleanups from PR ports/16450
Add norvegian dictionary (ports/16533)
Don't create a dummy file in ${WRKSRC}. It is only valid when emacs is a link
to xemacs.

PR:		ports/16450, ports/16533
Submitted by:	Alexander Langer <alex@big.endian.de>
Reviewed by:	jmz
2000-02-11 17:08:00 +00:00

53 lines
1.3 KiB
Diff

--- Makefile.orig Mon Oct 18 19:15:22 1999
+++ Makefile Thu Feb 10 17:04:59 2000
@@ -16,12 +16,11 @@
# VDIR - aqui será colocado o banco de verbos
# MANDIR - aqui será colocada a man page do conjugue
#
-prefix=/usr/local
-BINDIR=$(prefix)/bin
-HASHDIR=/usr/lib/ispell
-VDIR=$(prefix)/lib
-MANDIR=$(prefix)/man
-AWK=/usr/bin/gawk
+BINDIR=$(PREFIX)/bin
+HASHDIR=$(PREFIX)/lib
+VDIR=$(PREFIX)/lib
+MANDIR=$(PREFIX)/man
+AWK=/usr/bin/awk
#
# Daqui para baixo não mexa mais em nada
@@ -66,25 +65,21 @@
br.hash: v.ispell
cat v.ispell E.ispell|sort|uniq >br.tmp
mv -f br.tmp br.ispell
- buildhash br.ispell br.aff br.hash
+ ${BUILDHASH} br.ispell br.aff br.hash
#
# Instala o br.hash
#
-install-hash: br.ispell
- install -d $(HASHDIR)
- install --mode=644 br.hash br.aff $(HASHDIR)
+install-hash: br.hash
+ ${BSD_INSTALL_DATA} br.hash br.aff $(HASHDIR)
#
# Instala o conjugue
#
install-conjugue: conjugue
- install -d $(BINDIR)
- install --mode=755 conjugue $(BINDIR)/conjugue
- install -d $(VDIR)
- install --mode=644 verbos $(VDIR)/verbos
- install -d $(MANDIR)/man1
- install --mode=644 conjugue.1 $(MANDIR)/man1/conjugue.1
+ ${BSD_INSTALL_SCRIPT} conjugue $(BINDIR)
+ ${BSD_INSTALL_DATA} verbos $(VDIR)
+ ${BSD_INSTALL_MAN} conjugue.1 $(MANDIR)/man1
#
# instala tudo