blob: 4351bb0c97ca6ccec28fbe296437c5d7be166864 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
PORTNAME= diff-so-fancy
PORTVERSION= 1.3.0
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
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}/README.md ${WRKSRC}/history.md \
${WRKSRC}/pro-tips.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|