freebsd-ports/comms/picocom/files/patch-Makefile
Martin Wilke 14a36e4848 As its name suggests, picocom is a minimal dumb-terminal emulation pro-
gram. It is, in principle, very much like minicom(1) , only it's "pico"
instead  of "mini"! It was designed to serve as a simple, manual, modem
configuration, testing, and debugging tool. It has also  served  (quite
well) as a low-tech "terminal-window" to allow operator intervention in
PPP connection scripts (something like the  ms-windows  "open  terminal
window  before / after dialing" feature). It could also prove useful in
many other similar tasks.

WWW:	http://efault.net/npat/hacks/picocom/
2008-11-23 18:22:19 +00:00

32 lines
708 B
Text

--- Makefile.orig 2008-11-04 10:13:20.000000000 -0700
+++ Makefile
@@ -3,12 +3,15 @@ VERSION=1.4
# CC = gcc
CPPFLAGS=-DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/lock\"
-CFLAGS = -Wall -g
+CFLAGS = -Wall -g -I$(PREFIX)/include
# LD = gcc
-LDFLAGS = -g
+LDFLAGS = -g -Wl,-R$(PREFIX)/lib -L$(PREFIX)/lib -lcurses
LDLIBS =
+BIN = $(PREFIX)/bin
+MAN8 = $(PREFIX)/man/man8
+
picocom : picocom.o term.o
# $(LD) $(LDFLAGS) -o $@ $+ $(LDLIBS)
@@ -17,6 +20,12 @@ term.o : term.c term.h
doc : picocom.8 picocom.8.html picocom.8.ps
+install:
+ -install -d $(BIN)
+ install -o root picocom $(BIN)
+ -install -d $(MAN8)
+ install -o root picocom.8 $(MAN8)
+
changes :
svn log -v . > CHANGES