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
|
|
|
|
|
2005-07-06 20:06:20 +02:00
|
|
|
USE_PERL5= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
MAN1= colordiff.1
|
|
|
|
|
|
|
|
post-patch:
|
2006-01-09 13:24:28 +01:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|/usr/local/bin/perl|${PERL}|; s|/etc|${PREFIX}/etc|' \
|
|
|
|
${WRKSRC}/${PORTNAME}.pl \
|
|
|
|
${WRKSRC}/${MAN1}
|
2005-07-06 20:06:20 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
|
2013-03-08 07:29:31 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
|
2006-01-09 13:24:28 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/colordiffrc ${PREFIX}/etc/colordiffrc.default
|
|
|
|
.if !exists(${PREFIX}/etc/colordiffrc)
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/colordiffrc ${PREFIX}/etc
|
|
|
|
.endif
|
2005-07-06 20:06:20 +02:00
|
|
|
|
2007-09-08 03:12:10 +02:00
|
|
|
.include <bsd.port.mk>
|