blob: 54b859eb75514a42867161c3c2d4c72bba7ed679 (
plain) (
blame)
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
33
|
PORTNAME= cdif
PORTVERSION= 2.14.20170401
DISTVERSIONPREFIX= v
CATEGORIES= textproc
MAINTAINER= hrs@FreeBSD.org
COMMENT= Word context visualizer of DIFF output
WWW= https://github.com/kaz-utashiro/cdif
LICENSE= GREPLE
LICENSE_NAME= GREPLE License
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
RUN_DEPENDS= ${SITE_PERL}/Getopt/EX.pm:devel/p5-Getopt-EX
USES= perl5 shebangfix
SHEBANG_FILES= ${PORTNAME}
USE_GITHUB= yes
GH_ACCOUNT= kaz-utashiro
GH_TAGNAME= 2f4de90
NO_BUILD= yes
NO_ARCH= yes
PLIST_FILES= bin/cdif
post-extract:
cd ${WRKSRC} && \
${SED} -n "/^# COPYRIGHT/,//p" README.md > LICENSE
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/cdif
.include <bsd.port.mk>
|