Index: head/editors/tweak/Makefile =================================================================== --- head/editors/tweak/Makefile (revision 462478) +++ head/editors/tweak/Makefile (revision 462479) @@ -1,19 +1,20 @@ # Created by: Jille Timmermans (jille@quis.cx) # $FreeBSD$ PORTNAME= tweak PORTVERSION= 3.02 CATEGORIES= editors -MASTER_SITES= http://www.chiark.greenend.org.uk/~sgtatham/${PORTNAME}/ +MASTER_SITES= https://www.chiark.greenend.org.uk/~sgtatham/${PORTNAME}/ MAINTAINER= ports@FreeBSD.org COMMENT= Efficient hex editor +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENCE + +USES= gmake ncurses + PLIST_FILES= bin/tweak \ man/man1/tweak.1.gz - -USES= ncurses uidfix -MAKEFILE= ${FILESDIR}/Makefile.in -MAKE_ENV+= BINDIR="${LOCALBASE}/bin" MANDIR="${PREFIX}/man/man" .include Index: head/editors/tweak/files/Makefile.in =================================================================== --- head/editors/tweak/files/Makefile.in (revision 462478) +++ head/editors/tweak/files/Makefile.in (nonexistent) @@ -1,7 +0,0 @@ -# $FreeBSD$ - -PROG= tweak -SRCS= actions.c btree.c buffer.c curses.c keytab.c main.c rcfile.c search.c -LDADD= -lncurses - -.include Property changes on: head/editors/tweak/files/Makefile.in ___________________________________________________________________ Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -FreeBSD=%H \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/editors/tweak/files/patch-Makefile =================================================================== --- head/editors/tweak/files/patch-Makefile (nonexistent) +++ head/editors/tweak/files/patch-Makefile (revision 462479) @@ -0,0 +1,42 @@ +--- Makefile.orig 2016-03-22 21:12:51 UTC ++++ Makefile +@@ -16,15 +16,16 @@ + # number in tweak.h, or else the resulting binary won't match + # the version number on the archive. + +-CC := gcc +-CFLAGS := -g -c -Wall $(XFLAGS) +-LINK := gcc +-LFLAGS := +-LIBS := ++CC ?= gcc ++CFLAGS ?= -g ++CFLAGS += -c -Wall $(XFLAGS) ++LINK ?= ${CC} ++LFLAGS ?= ++LIBS ?= + +-PREFIX=$(DESTDIR)/usr/local +-BINDIR=$(PREFIX)/bin +-MANDIR=$(PREFIX)/man/man1 ++PREFIX?=/usr/local ++BINDIR?=$(PREFIX)/bin ++MANDIR?=$(PREFIX)/man/man1 + + TWEAK := main.o keytab.o actions.o search.o rcfile.o buffer.o btree.o + +@@ -63,10 +64,10 @@ release: tweak.1 btree.html + rm -rf reltmp + + install: tweak tweak.1 +- mkdir -p $(BINDIR) +- install tweak $(BINDIR)/tweak +- mkdir -p $(MANDIR) +- install -m 0644 tweak.1 $(MANDIR)/tweak.1 ++ mkdir -p $(DESTDIR)$(BINDIR) ++ install tweak $(DESTDIR)$(BINDIR)/tweak ++ mkdir -p $(DESTDIR)$(MANDIR) ++ install -m 0644 tweak.1 $(DESTDIR)$(MANDIR)/tweak.1 + + clean: + rm -f *.o tweak tweak.1 btree.html Property changes on: head/editors/tweak/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/editors/tweak/pkg-descr =================================================================== --- head/editors/tweak/pkg-descr (revision 462478) +++ head/editors/tweak/pkg-descr (revision 462479) @@ -1,7 +1,7 @@ Tweak is a hex editor. It allows you to edit a file at very low level, letting you see the full and exact binary contents of the file. It can be useful for modifying binary files such as executables, editing disk or CD images, debugging programs that generate binary file formats incorrectly, and many other things. -WWW: http://www.chiark.greenend.org.uk/~sgtatham/tweak/ +WWW: https://www.chiark.greenend.org.uk/~sgtatham/tweak/