summaryrefslogtreecommitdiff
path: root/editors/beav
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>1998-08-23 02:10:57 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>1998-08-23 02:10:57 +0000
commite49e6b4ea0d3943f052eb84f7af0347061fe898a (patch)
treee2d8e69ef734bba5c0185e28807de2cd9244b4a6 /editors/beav
parentUse the MANx variables. (diff)
Use MAN1. Don't be as gratuitously stupid about it (and installing
in general) as before.
Diffstat (limited to 'editors/beav')
-rw-r--r--editors/beav/Makefile3
-rw-r--r--editors/beav/files/patch-a9
-rw-r--r--editors/beav/pkg-plist1
3 files changed, 6 insertions, 7 deletions
diff --git a/editors/beav/Makefile b/editors/beav/Makefile
index bd8e48190a27..2087fab8bdf2 100644
--- a/editors/beav/Makefile
+++ b/editors/beav/Makefile
@@ -3,7 +3,7 @@
# Date created: 01 July 1995
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.10 1997/11/27 00:07:31 jseger Exp $
+# $Id: Makefile,v 1.11 1998/08/10 09:00:02 tg Exp $
#
DISTNAME= beav_1.40-11
@@ -13,6 +13,7 @@ MASTER_SITES= ftp://ftp.debian.org/debian/hamm/hamm/source/editors/
MAINTAINER= ports@FreeBSD.ORG
+MAN1= beav.1
WRKSRC= ${WRKDIR}/beav-1.40
.include <bsd.port.mk>
diff --git a/editors/beav/files/patch-a b/editors/beav/files/patch-a
index 0e5e5ab49f5f..57651203ddf5 100644
--- a/editors/beav/files/patch-a
+++ b/editors/beav/files/patch-a
@@ -8,7 +8,7 @@
CC=gcc
OFILES= basic.o ebcdic.o fileio.o region.o text.o wangpc.o \
-@@ -16,10 +16,17 @@
+@@ -16,10 +16,16 @@
HFILES= def.h prototyp.h
@@ -18,11 +18,10 @@
+ $(CC) $(CFLAGS) $(OFILES) -ltermcap -o beav
+
+install: beav
-+ install -c -s -m 755 -g bin -o bin beav $(PREFIX)/bin
++ $(BSD_INSTALL_PROGRAM) beav $(PREFIX)/bin
+ mkdir -p $(PREFIX)/share/doc/beav
-+ install -c -m 644 -g bin -o bin beav140.txt $(PREFIX)/share/doc/beav/beav.txt
-+ install -c -m 644 -g bin -o bin beav.1 $(PREFIX)/man/man1
-+ gzip -9nf $(PREFIX)/man/man1/beav.1
++ $(BSD_INSTALL_DATA) beav140.txt $(PREFIX)/share/doc/beav/beav.txt
++ $(BSD_INSTALL_MAN) beav.1 $(PREFIX)/man/man1
clean:
rm -f *.o beav
diff --git a/editors/beav/pkg-plist b/editors/beav/pkg-plist
index 5cd1115af662..45957b7f06d5 100644
--- a/editors/beav/pkg-plist
+++ b/editors/beav/pkg-plist
@@ -1,4 +1,3 @@
bin/beav
-man/man1/beav.1.gz
share/doc/beav/beav.txt
@dirrm share/doc/beav