1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

Fix build on current.

Submitted by:	ru
This commit is contained in:
Kris Kennaway 2002-06-16 09:49:01 +00:00
parent 9794baa212
commit cfe2b1d7cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61351
3 changed files with 19 additions and 18 deletions

View File

@ -11,7 +11,7 @@
+ install:
+ -@mkdir -p ${PREFIX}/bin
+ -@mkdir -p ${PREFIX}/man/man1
+ ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} iozone ${PREFIX}/bin
+ ${BSD_INSTALL_PROGRAM} iozone ${PREFIX}/bin
+ @echo .Dd `/bin/date` > iozone.1
+ @echo .Dt IOZONE 1 >> iozone.1
+ @echo .Sh NAME >> iozone.1
@ -35,4 +35,4 @@
+ {if (x) print $0}' >>iozone.1
+ @echo .Sh AUTHOR >> iozone.1
+ @echo Bill Norcott >> iozone.1
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 iozone.1 ${PREFIX}/man/man1
+ ${BSD_INSTALL_MAN} iozone.1 ${PREFIX}/man/man1

View File

@ -1,6 +1,6 @@
--- Makefile.orig Sun Jul 26 16:11:40 1998
+++ Makefile Sun Jul 26 16:14:35 1998
@@ -1,11 +1,11 @@
--- Makefile.orig Wed Oct 22 19:35:01 1997
+++ Makefile Tue Jun 4 14:14:40 2002
@@ -1,12 +1,12 @@
SRCS= include.c list.c main.c subs.c var.c wild.c
OBJS= include.o list.o main.o subs.o var.o wild.o
@ -10,13 +10,14 @@
EXE= xmake
-IBDIR= /usr/local/bin
-IMDIR= /usr/local/man/man1
-CC= cc
+PREFIX?= /usr/local
+IBDIR= $(PREFIX)/bin
+IMDIR= $(PREFIX)/man/man1
-CC= cc
all: $(EXE)
@@ -16,6 +17,6 @@
@@ -16,6 +16,6 @@
clean:
rm -f $(OBJS) $(EXE)
@ -24,5 +25,5 @@
- install -c -s -m 755 $(EXE) $(IBDIR)/$(EXE)
-
+install:
+ install -c -s -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) $(EXE) $(IBDIR)
+ install -c -o $(MANOWN) -g $(MANGRP) -m $(MANMODE) xmake.1 $(IMDIR)
+ $(BSD_INSTALL_PROGRAM) $(EXE) $(IBDIR)
+ $(BSD_INSTALL_MAN) xmake.1 $(IMDIR)

View File

@ -1,5 +1,5 @@
*** Makefile.old Sat Oct 15 23:06:26 1994
--- Makefile Sat Jan 21 03:04:40 1995
--- Makefile Tue Jun 4 14:11:52 2002
***************
*** 13,28 ****
#
@ -103,14 +103,14 @@
+ all_install:
+ /usr/bin/install $(COPY) -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) pgpsendmail $(PREFIX)/lib
+ /usr/bin/install -c -o $(BINOWN) -g $(BINGRP) -m 644 doc/pgpsendmail.8 $(PREFIX)/man/man8
+ /usr/bin/install $(COPY) -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) pgpdaemon $(PREFIX)/bin
+ /usr/bin/install -c -o $(BINOWN) -g $(BINGRP) -m 644 doc/pgpdaemon.8 $(PREFIX)/man/man8
+ /usr/bin/install $(COPY) -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) pgppipe $(PREFIX)/bin
+ /usr/bin/install -c -o $(BINOWN) -g $(BINGRP) -m 644 doc/pgppipe.1 $(PREFIX)/man/man1
+ /usr/bin/install $(COPY) -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) sendpgppass $(PREFIX)/bin
+ /usr/bin/install -c -o $(BINOWN) -g $(BINGRP) -m 644 doc/sendpgppass.1 $(PREFIX)/man/man1
+ $(BSD_INSTALL_PROGRAM) pgpsendmail $(PREFIX)/lib
+ $(BSD_INSTALL_MAN) doc/pgpsendmail.8 $(PREFIX)/man/man8
+ $(BSD_INSTALL_PROGRAM) pgpdaemon $(PREFIX)/bin
+ $(BSD_INSTALL_MAN) doc/pgpdaemon.8 $(PREFIX)/man/man8
+ $(BSD_INSTALL_PROGRAM) pgppipe $(PREFIX)/bin
+ $(BSD_INSTALL_MAN) doc/pgppipe.1 $(PREFIX)/man/man1
+ $(BSD_INSTALL_PROGRAM) sendpgppass $(PREFIX)/bin
+ $(BSD_INSTALL_MAN) doc/sendpgppass.1 $(PREFIX)/man/man1
+
clean:
rm -f *.BAK *.log *.sed .#* *~ *.bak */*.bak */tmp* .*defaults */*~