mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
8bf551a354
keybindings. Also makes a nice text editor for use with mailers like mutt. PR: 21811 Submitted by: Steve Horan <sjhports@tracking.amos.net>
26 lines
819 B
Plaintext
26 lines
819 B
Plaintext
--- Makefile.orig Mon Jan 18 07:04:04 1999
|
|
+++ Makefile Thu Nov 2 17:36:28 2000
|
|
@@ -1,15 +1,17 @@
|
|
# Make dte for UNIX [Debian Linux] systems
|
|
|
|
-BINDIR = $(DESTDIR)/usr/bin
|
|
-LIBDIR = $(DESTDIR)/usr/lib
|
|
-MANDIR = $(DESTDIR)/usr/man/man1
|
|
+BINDIR = $(PREFIX)/bin
|
|
+LIBDIR = $(PREFIX)/share/doc/dte
|
|
+MANDIR = $(PREFIX)/man/man1
|
|
OBJECTS = ed.o utils.o findrep.o block.o hwind.o hwlinux.o window.o
|
|
|
|
-CCFLAGS = -O2 -m486 -Wall -DHELPFILE='"'${LIBDIR}/dte.hlp'"' -DPROTO -DCURSOR_PS2_MOUSE
|
|
+CCFLAGS += -DHELPFILE='"'${LIBDIR}/dte.hlp'"' -DPROTO -DCURSOR_PS2_MOUSE ${CFLAGS}
|
|
|
|
.c.o: ; cc $(CCFLAGS) -c -DUNIX $*.c
|
|
|
|
-dte: $(OBJECTS) ; cc $(CCFLAGS) -o dte $(OBJECTS) -lncurses
|
|
+all: dte
|
|
+
|
|
+dte: $(OBJECTS) ; cc $(CCFLAGS) -o dte $(OBJECTS) -lncurses -lcompat
|
|
|
|
install: dte ;\
|
|
strip dte ;\
|