freebsd-ports/japanese/okphone/files/patch-ab
Masafumi Max NAKANE 1949da6772 Reorganize this port a bit:
- Split a big patch-aa into five pieces.
- Don't patch up the dist Makefile to install and compress the man
  page.
- Define MAN1 and remove man page entry from the PLIST.
- Make myself the maintainer (was ports@FreeBSD.ORG).
- Install the docs into share/doc/okphone instead of share/okphone.
- Honor ${NOPORTDOCS}.

There might be some other changes I can't remember of.
1998-08-31 16:09:19 +00:00

29 lines
729 B
Plaintext

--- ./client/Makefile.org Wed Feb 7 18:45:34 1996
+++ ./client/Makefile Wed Feb 7 18:45:36 1996
@@ -20,14 +20,14 @@
CC = cc
#CFLAGS = -O -DSERVICES -DLOCAL_ECHO
#CFLAGS = -g -DSERVICES -DLOCAL_ECHO
-CFLAGS = -Isw -O -DSERVICES -DLOCAL_ECHO
+CFLAGS += -Isw -O -DSERVICES -DLOCAL_ECHO
#LIBS = -lcurses -ltermlib #-lresolv
LIBS = sw/libsw.a -ltermlib -ll
LPR = lpr -Psony
#RDEST = /usr/ucb/phone
#RDEST = /usr/local/phone
-RDEST = /usr/local/bin/phone
+RDEST = ${PREFIX}/bin/phone
HDRS = defs.h
@@ -69,7 +69,7 @@
install: ${DEST}
/bin/rm -f ${RDEST}
- cp ${DEST} ${RDEST}
+ install -cs -m 755 -o bin -g bin ${DEST} ${RDEST}
print: ${HDRS} ${SRCS}
pr -f ${HDRS} ${SRCS} | expand -4 | ${LPR}