From owner-svn-ports-all@freebsd.org Thu Dec 29 12:59:33 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 39551C955E8; Thu, 29 Dec 2016 12:59:33 +0000 (UTC) (envelope-from ehaupt@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 mx1.freebsd.org (Postfix) with ESMTPS id 13B301676; Thu, 29 Dec 2016 12:59:33 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBTCxWU3000146; Thu, 29 Dec 2016 12:59:32 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBTCxVcO000141; Thu, 29 Dec 2016 12:59:31 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201612291259.uBTCxVcO000141@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Thu, 29 Dec 2016 12:59:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r429904 - in head/textproc: . splitpatch splitpatch/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2016 12:59:33 -0000 Author: ehaupt Date: Thu Dec 29 12:59:31 2016 New Revision: 429904 URL: https://svnweb.freebsd.org/changeset/ports/429904 Log: A utility to split a diff patch into separate sections. It also features splitting a patch file by hunks instead of the default by file. This is very useful for merging patches that fail to apply by only some hunks. WWW: https://github.com/benjsc/splitpatch Added: head/textproc/splitpatch/ head/textproc/splitpatch/Makefile (contents, props changed) head/textproc/splitpatch/distinfo (contents, props changed) head/textproc/splitpatch/files/ head/textproc/splitpatch/files/patch-man_pod2man.mk (contents, props changed) head/textproc/splitpatch/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Thu Dec 29 12:50:33 2016 (r429903) +++ head/textproc/Makefile Thu Dec 29 12:59:31 2016 (r429904) @@ -1591,6 +1591,7 @@ SUBDIR += sphinxsearch SUBDIR += sphinxsearch-devel SUBDIR += spiff + SUBDIR += splitpatch SUBDIR += sq-hunspell SUBDIR += sr-aspell SUBDIR += sr-hunspell Added: head/textproc/splitpatch/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/splitpatch/Makefile Thu Dec 29 12:59:31 2016 (r429904) @@ -0,0 +1,36 @@ +# Created by: Emanuel Haupt +# $FreeBSD$ + +PORTNAME= splitpatch +PORTVERSION= 1.0.2016122801 +CATEGORIES= textproc + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= Utility to split a diff patch into separate sections + +LICENSE= GPLv2+ + +USES= gmake perl5 +USE_PERL5= build +USE_RUBY= yes +NO_ARCH= yes + +USE_GITHUB= yes +GH_ACCOUNT= jaalto +GH_TAGNAME= 13c5941 + +PLIST_FILES= bin/splitpatch man/man1/splitpatch.1.gz + +# avoid build date in man page +#MAKE_ENV+= PODCENTER=" " + +MAKE_JOBS_UNSAFE=yes + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${MANPREFIX}/man/man1 + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.rb \ + ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 \ + ${STAGEDIR}${MANPREFIX}/man/man1 + +.include Added: head/textproc/splitpatch/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/splitpatch/distinfo Thu Dec 29 12:59:31 2016 (r429904) @@ -0,0 +1,3 @@ +TIMESTAMP = 1482940118 +SHA256 (jaalto-splitpatch-1.0.2016122801-13c5941_GH0.tar.gz) = d07e1c00794eefa2f3c2b7f204f4fbdfcbe1afcff595a88fbd3fce7b925584d9 +SIZE (jaalto-splitpatch-1.0.2016122801-13c5941_GH0.tar.gz) = 4798 Added: head/textproc/splitpatch/files/patch-man_pod2man.mk ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/splitpatch/files/patch-man_pod2man.mk Thu Dec 29 12:59:31 2016 (r429904) @@ -0,0 +1,33 @@ +--- man/pod2man.mk.orig 2016-08-15 17:36:10 UTC ++++ man/pod2man.mk +@@ -36,7 +36,6 @@ RELEASE ?= $(PACKAGE) + + # Optional variables to set + MANSECT ?= 1 +-PODCENTER ?= $$(date "+%Y-%m-%d") + + # Directories + MANSRC = +@@ -46,7 +45,6 @@ MANPOD = $(MANSRC)$(PACKAGE).$(MANSECT) + MANPAGE = $(MANDEST)$(PACKAGE).$(MANSECT) + + POD2MAN = pod2man +-POD2MAN_FLAGS = --utf8 + + makeman: $(MANPAGE) + +@@ -54,12 +52,9 @@ $(MANPAGE): $(MANPOD) + # make target - create manual page from a *.pod page + podchecker $(MANPOD) + LC_ALL=C $(POD2MAN) $(POD2MAN_FLAGS) \ +- --center="$(PODCENTER)" \ ++ --center=" " \ + --name="$(PACKAGE)" \ + --section="$(MANSECT)" \ + --release="$(RELEASE)" \ + $(MANPOD) \ +- > $(MANPAGE) && \ +- rm -f pod*.tmp +- +-# End of of Makefile part ++ > $(MANPAGE) Added: head/textproc/splitpatch/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/splitpatch/pkg-descr Thu Dec 29 12:59:31 2016 (r429904) @@ -0,0 +1,5 @@ +A utility to split a diff patch into separate sections. It also features +splitting a patch file by hunks instead of the default by file. This is very +useful for merging patches that fail to apply by only some hunks. + +WWW: https://github.com/benjsc/splitpatch