freebsd-ports/japanese/okphone/files/patch-ac
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
799 B
Text

--- ./master/Makefile.org Wed Feb 7 18:45:36 1996
+++ ./master/Makefile Wed Feb 7 18:45:36 1996
@@ -29,7 +29,7 @@
#CFLAGS = -O -DSERVICES -DDPATH=\"$(CONVD)\" -DFORK
#CFLAGS = -O -DINETD -DDPATH=\"$(CONVD)\"
#CFLAGS = -O -DINETD -DDPATH=\"$(CONVD)\" -DSERVICES
-CFLAGS = $(OFLAG) $(INETD) -DFORK -DSERVICES -DDPATH=\"/usr/local/etc/convd\"
+CFLAGS += $(OFLAGS) $(INETD) -DFORK -DSERVICES -DDPATH=\"${PREFIX}/libexec/convd\"
LPR = lpr -Psony
CC = cc
@@ -44,7 +44,7 @@
reinvite.o strsave.o utmp.o
DEST = phoned
-RDEST = /usr/local/etc/in.phoned
+RDEST = ${PREFIX}/libexec/phoned
#RDEST = /etc/phoned
@@ -61,7 +61,7 @@
install: ${DEST}
/bin/rm -f ${RDEST}
- cp ${DEST} ${RDEST}
+ install -cs -m 755 -o bin -g bin ${DEST} ${RDEST}
clean:
/bin/rm -f ${DEST} core *.o