blob: 0237d03f6d749c448c99bb126139e6a4f191dd4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
$NetBSD: patch-aa,v 1.3 1998/08/07 11:10:18 agc Exp $
--- Makefile.orig Thu Jun 10 04:51:22 1993
+++ Makefile Thu Oct 23 22:50:09 1997
@@ -15,17 +15,17 @@
DISTRIBUTION\
= Makefile fep.1 $(HEADER) $(SRC) feprc.sample README
-INSTDIR = /usr/local/bin
+INSTDIR = ${PREFIX}/bin
#STAT = -DSTAT# Delete # for statistic info
#KANJI = -DKANJI# Delete # for KANJI handling
-CONFIG = $(STAT) $(KANJI)
+CONFIG = $(STAT) $(KANJI) -D_cnt=_r
#DEBUG = -g
-DEBUG = -O
+#DEBUG = -O
-CFLAGS = $(DEBUG) $(CONFIG)
-LDFLAGS = -ltermcap
+CFLAGS += $(DEBUG) $(CONFIG)
+LDFLAGS = -ltermcap -lcompat
all: $(TARGET)
@@ -37,7 +37,7 @@
install: $(TARGET)
install -s $(TARGET) $(INSTDIR)
- install -c fep.1 /usr/man/manl/fep.l
+ gzip -9n -c fep.1 > ${PREFIX}/man/man1/fep.1.gz
fep.1: fep.jman
sed -e '/^\.EG/d' -e '/^\.JP/,/^\.EJ/d' -e '/^\.\\"KS/,/^\.\\"KE/d' \
|