From owner-svn-ports-head@freebsd.org Wed Feb 21 09:02:58 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9F58F14C29; Wed, 21 Feb 2018 09:02:57 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 99F796E1F9; Wed, 21 Feb 2018 09:02:57 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 78EDB166F6; Wed, 21 Feb 2018 09:02:57 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1L92vU2034308; Wed, 21 Feb 2018 09:02:57 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1L92vQl034264; Wed, 21 Feb 2018 09:02:57 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201802210902.w1L92vQl034264@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 21 Feb 2018 09:02:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462479 - in head/editors/tweak: . files X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: in head/editors/tweak: . files X-SVN-Commit-Revision: 462479 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2018 09:02:58 -0000 Author: amdmi3 Date: Wed Feb 21 09:02:56 2018 New Revision: 462479 URL: https://svnweb.freebsd.org/changeset/ports/462479 Log: - Add LICENSE - Update WWW - Switch to upstream makefile Added: head/editors/tweak/files/patch-Makefile (contents, props changed) Deleted: head/editors/tweak/files/Makefile.in Modified: head/editors/tweak/Makefile head/editors/tweak/pkg-descr Modified: head/editors/tweak/Makefile ============================================================================== --- head/editors/tweak/Makefile Wed Feb 21 08:15:36 2018 (r462478) +++ head/editors/tweak/Makefile Wed Feb 21 09:02:56 2018 (r462479) @@ -4,16 +4,17 @@ 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 Added: head/editors/tweak/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/tweak/files/patch-Makefile Wed Feb 21 09:02:56 2018 (r462479) @@ -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 Modified: head/editors/tweak/pkg-descr ============================================================================== --- head/editors/tweak/pkg-descr Wed Feb 21 08:15:36 2018 (r462478) +++ head/editors/tweak/pkg-descr Wed Feb 21 09:02:56 2018 (r462479) @@ -4,4 +4,4 @@ useful for modifying binary files such as executables, 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/