svn commit: r457284 - in head/textproc: . diff-so-fancy diff-so-fancy/files
Raphael Kubo da Costa
rakuco at FreeBSD.org
Tue Dec 26 14:09:15 UTC 2017
Author: rakuco
Date: Tue Dec 26 14:09:13 2017
New Revision: 457284
URL: https://svnweb.freebsd.org/changeset/ports/457284
Log:
Add textproc/diff-so-fancy.
diff-so-fancy strives to make your diff's human readable instead of machine
readable. This helps improve code quality and help you spot defects faster.
WWW: https://github.com/so-fancy/diff-so-fancy/
Added:
head/textproc/diff-so-fancy/
head/textproc/diff-so-fancy/Makefile (contents, props changed)
head/textproc/diff-so-fancy/distinfo (contents, props changed)
head/textproc/diff-so-fancy/files/
head/textproc/diff-so-fancy/files/pkg-message.in (contents, props changed)
head/textproc/diff-so-fancy/pkg-descr (contents, props changed)
head/textproc/diff-so-fancy/pkg-plist (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Tue Dec 26 12:04:27 2017 (r457283)
+++ head/textproc/Makefile Tue Dec 26 14:09:13 2017 (r457284)
@@ -113,6 +113,7 @@
SUBDIR += dictem
SUBDIR += dictfmt
SUBDIR += dictionary
+ SUBDIR += diff-so-fancy
SUBDIR += diffmark
SUBDIR += diffsplit
SUBDIR += diffstat
Added: head/textproc/diff-so-fancy/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/diff-so-fancy/Makefile Tue Dec 26 14:09:13 2017 (r457284)
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+PORTNAME= diff-so-fancy
+PORTVERSION= 1.1.1
+DISTVERSIONPREFIX= v
+CATEGORIES= textproc
+
+MAINTAINER= rakuco at FreeBSD.org
+COMMENT= Fancier diff output formatter
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= perl5 shebangfix
+USE_GITHUB= yes
+USE_PERL5= run
+
+GH_ACCOUNT= so-fancy
+NO_ARCH= yes
+NO_BUILD= yes
+NO_CONFIGURE= yes
+SHEBANG_FILES= ${WRKSRC}/diff-so-fancy
+SUB_FILES= pkg-message
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/diff-so-fancy ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/lib/DiffHighlight.pm \
+ ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}
+ ${INSTALL_DATA} ${WRKSRC}/history.md ${WRKSRC}/pro-tips.md \
+ ${WRKSRC}/readme.md ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
Added: head/textproc/diff-so-fancy/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/diff-so-fancy/distinfo Tue Dec 26 14:09:13 2017 (r457284)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1514291242
+SHA256 (so-fancy-diff-so-fancy-v1.1.1_GH0.tar.gz) = 9505fa729e1e5a4e3ca9af22db3c07342e8544f5151c73ccf05c6b3b3f2e835f
+SIZE (so-fancy-diff-so-fancy-v1.1.1_GH0.tar.gz) = 38014
Added: head/textproc/diff-so-fancy/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/diff-so-fancy/files/pkg-message.in Tue Dec 26 14:09:13 2017 (r457284)
@@ -0,0 +1,6 @@
+diff-so-fancy is normally used to format git's diff output.
+
+In order to configure git to use diff-so-fancy automatically, you can run:
+ $ git config --global core.pager "diff-so-fancy | less -R"
+
+See %%DOCSDIR%%/readme.md for more information.
Added: head/textproc/diff-so-fancy/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/diff-so-fancy/pkg-descr Tue Dec 26 14:09:13 2017 (r457284)
@@ -0,0 +1,4 @@
+diff-so-fancy strives to make your diff's human readable instead of machine
+readable. This helps improve code quality and help you spot defects faster.
+
+WWW: https://github.com/so-fancy/diff-so-fancy/
Added: head/textproc/diff-so-fancy/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/diff-so-fancy/pkg-plist Tue Dec 26 14:09:13 2017 (r457284)
@@ -0,0 +1,5 @@
+bin/diff-so-fancy
+%%SITE_PERL%%/DiffHighlight.pm
+%%DOCSDIR%%/history.md
+%%DOCSDIR%%/pro-tips.md
+%%DOCSDIR%%/readme.md
More information about the svn-ports-head
mailing list