diff --git a/editors/bpatch/Makefile b/editors/bpatch/Makefile index b987dc7bee49..1572c298450f 100644 --- a/editors/bpatch/Makefile +++ b/editors/bpatch/Makefile @@ -1,25 +1,25 @@ PORTNAME= bpatch PORTVERSION= 1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= editors MASTER_SITES= LOCAL/joerg DISTNAME= ${PORTNAME} MAINTAINER= joerg@FreeBSD.org COMMENT= Hex editor that doesn't load the whole file at once # 2016-11-14: Email from Prof. (em.) John Rupley # As far as I am concerned, the code is public domain, with no # restrictions. Steven List, in his README for the original # distribution, said that the original author, Garry Johnson, gave him # permission to place the code in the public domain. So, do whatever # you will with bpatch. Nice to know it may still have a life. LICENSE= CC0-1.0 CONFLICTS_INSTALL= bdelta NO_WRKSUBDIR= yes PLIST_FILES= bin/bpatch \ - man/man1/bpatch.1.gz + share/man/man1/bpatch.1.gz .include diff --git a/editors/bpatch/files/patch-Makefile b/editors/bpatch/files/patch-Makefile index 9be47a63af6f..61f94acc8cbc 100644 --- a/editors/bpatch/files/patch-Makefile +++ b/editors/bpatch/files/patch-Makefile @@ -1,42 +1,42 @@ --- /dev/null Mon Mar 18 12:50:49 1996 +++ Makefile Mon Mar 18 19:30:47 1996 @@ -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! +PREFIX?= /usr/local +BINDIR= ${PREFIX}/bin -+MANDIR= ${PREFIX}/man/man1 ++MANDIR= ${PREFIX}/share/man/man1 + +LIBS = -lncurses +#LIBS = -ltermlib +#LIBS = -lterminfo +#for sysV +#LIBS = -lcurses + +# However you need getopt. +#GETOPT = -lgetopt +#not for sysV! (nor for some BSD) +#GETOPT = + +# If you're running on a 4.[23] system, you probably want this. +#WORK = -DMOD_HAX +#sysV +#WORK = + +#BSD or thereabouts +CFLAGS+= $(WORK) +#Microport sysV/AT, large model, for sdb debugger +#CFLAGS = -g -Ml + +all: bpatch + +clean: + rm -f bpatch bpatch.o *.core + +bpatch: bpatch.o + $(CC) -o bpatch $(CFLAGS) bpatch.o $(GETOPT) $(LIBS) + +install: bpatch bpatch.1 + $(BSD_INSTALL_PROGRAM) bpatch $(DESTDIR)$(BINDIR) + $(BSD_INSTALL_MAN) bpatch.1 $(DESTDIR)$(MANDIR)