1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Use MAN1. Install correctly from usermode.

This commit is contained in:
Tim Vanderhoek 1998-08-23 02:34:23 +00:00
parent 57091ab2ee
commit 23bcef9463
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=12731
3 changed files with 8 additions and 11 deletions

View File

@ -3,7 +3,7 @@
# Date created: 18 March 1996
# Whom: joerg
#
# $Id: Makefile,v 1.4 1998/08/02 18:21:40 joerg Exp $
# $Id: Makefile,v 1.5 1998/08/23 02:24:37 hoek Exp $
#
DISTNAME= bpatch
@ -13,6 +13,7 @@ MASTER_SITES= ftp://ftp.interface-business.de/pub/outgoing/
MAINTAINER= joerg@FreeBSD.org
MAN1= bpatch.1
NO_WRKSUBDIR= yes
.include <bsd.port.mk>

View File

@ -1,6 +1,6 @@
--- /dev/null Mon Mar 18 12:50:49 1996
+++ Makefile Mon Mar 18 19:30:47 1996
@@ -0,0 +1,42 @@
@@ -0,0 +1,39 @@
+# This may have to change on your system.
+# You may have to fiddle with various combinations of curses, termcap,
+# terminfo, etc. Good luck!
@ -29,17 +29,14 @@
+#Microport sysV/AT, large model, for sdb debugger
+#CFLAGS = -g -Ml
+
+all: bpatch bpatch.1.gz
+all: bpatch
+
+clean:
+ rm -f bpatch bpatch.o bpatch.1.gz *.core
+ rm -f bpatch bpatch.o *.core
+
+bpatch: bpatch.o
+ $(CC) -o bpatch $(CFLAGS) bpatch.o $(GETOPT) $(LIBS)
+
+bpatch.1.gz: bpatch.1
+ gzip -c < bpatch.1 > bpatch.1.gz
+
+install: bpatch bpatch.1.gz
+ install -c -o bin -g bin -m 555 bpatch ${DESTDIR}${BINDIR}
+ install -c -o bin -g bin -m 444 bpatch.1.gz ${DESTDIR}${MANDIR}
+install: bpatch bpatch.1
+ $(BSD_INSTALL_PROGRAM) bpatch $(DESTDIR)$(BINDIR)
+ $(BSD_INSTALL_MAN) bpatch.1 $(DESTDIR)$(MANDIR)

View File

@ -1,2 +1 @@
bin/bpatch
man/man1/bpatch.1.gz