mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
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/
This commit is contained in:
parent
a9cc175991
commit
53b902d3f1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=457284
@ -113,6 +113,7 @@
|
||||
SUBDIR += dictem
|
||||
SUBDIR += dictfmt
|
||||
SUBDIR += dictionary
|
||||
SUBDIR += diff-so-fancy
|
||||
SUBDIR += diffmark
|
||||
SUBDIR += diffsplit
|
||||
SUBDIR += diffstat
|
||||
|
35
textproc/diff-so-fancy/Makefile
Normal file
35
textproc/diff-so-fancy/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= diff-so-fancy
|
||||
PORTVERSION= 1.1.1
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= textproc
|
||||
|
||||
MAINTAINER= rakuco@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>
|
3
textproc/diff-so-fancy/distinfo
Normal file
3
textproc/diff-so-fancy/distinfo
Normal file
@ -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
|
6
textproc/diff-so-fancy/files/pkg-message.in
Normal file
6
textproc/diff-so-fancy/files/pkg-message.in
Normal file
@ -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.
|
4
textproc/diff-so-fancy/pkg-descr
Normal file
4
textproc/diff-so-fancy/pkg-descr
Normal file
@ -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/
|
5
textproc/diff-so-fancy/pkg-plist
Normal file
5
textproc/diff-so-fancy/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
bin/diff-so-fancy
|
||||
%%SITE_PERL%%/DiffHighlight.pm
|
||||
%%DOCSDIR%%/history.md
|
||||
%%DOCSDIR%%/pro-tips.md
|
||||
%%DOCSDIR%%/readme.md
|
Loading…
Reference in New Issue
Block a user