2012-11-13 00:24:00 +01:00
|
|
|
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
2005-07-06 20:06:20 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= colordiff
|
2012-11-18 16:13:12 +01:00
|
|
|
PORTVERSION= 1.0.13
|
2005-07-06 20:06:20 +02:00
|
|
|
CATEGORIES= textproc
|
2012-11-13 00:24:00 +01:00
|
|
|
MASTER_SITES= http://www.colordiff.org/ CRITICAL
|
2005-07-06 20:06:20 +02:00
|
|
|
|
2005-10-06 13:57:11 +02:00
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
2013-03-08 07:29:31 +01:00
|
|
|
COMMENT= Tool to colorize diff output
|
2005-07-06 20:06:20 +02:00
|
|
|
|
2011-12-27 16:14:23 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-09-12 18:41:28 +02:00
|
|
|
USES= shebangfix perl5
|
2005-07-06 20:06:20 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
2013-05-07 10:57:37 +02:00
|
|
|
SHEBANG_FILES= colordiff.pl
|
|
|
|
|
2005-07-06 20:06:20 +02:00
|
|
|
post-patch:
|
2013-10-22 23:51:59 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/${PORTNAME}.1
|
2005-07-06 20:06:20 +02:00
|
|
|
|
|
|
|
do-install:
|
2013-10-22 23:51:59 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/colordiffrc ${STAGEDIR}${PREFIX}/etc/colordiffrc.default
|
|
|
|
.if !exists(${STAGEDIR}${PREFIX}/etc/colordiffrc)
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/colordiffrc ${STAGEDIR}${PREFIX}/etc
|
2006-01-09 13:24:28 +01:00
|
|
|
.endif
|
2005-07-06 20:06:20 +02:00
|
|
|
|
2007-09-08 03:12:10 +02:00
|
|
|
.include <bsd.port.mk>
|