2013-07-26 12:46:37 +02:00
|
|
|
# Created by: petef@FreeBSD.org
|
2001-06-13 09:19:08 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= colorize
|
2004-03-15 06:21:24 +01:00
|
|
|
PORTVERSION= 0.3.4
|
2015-05-07 22:24:15 +02:00
|
|
|
DISTVERSIONPREFIX= v
|
2014-06-25 01:54:41 +02:00
|
|
|
PORTREVISION= 1
|
2001-06-13 09:19:08 +02:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
|
2011-07-24 01:18:18 +02:00
|
|
|
MAINTAINER= admin@lissyara.su
|
2014-06-25 01:54:41 +02:00
|
|
|
COMMENT= Robust log colorizer
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
2001-06-13 09:19:08 +02:00
|
|
|
|
2012-06-30 14:25:05 +02:00
|
|
|
RUN_DEPENDS= p5-Term-ANSIColor>=0:${PORTSDIR}/devel/p5-Term-ANSIColor
|
2001-06-13 09:19:08 +02:00
|
|
|
|
2014-06-25 01:54:41 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= raszi
|
2001-08-10 18:43:58 +02:00
|
|
|
|
2001-06-13 09:19:08 +02:00
|
|
|
NO_BUILD= yes
|
2011-07-24 01:18:18 +02:00
|
|
|
SUB_FILES= pkg-message
|
2013-09-12 18:11:43 +02:00
|
|
|
USES= shebangfix perl5
|
2013-07-26 12:46:37 +02:00
|
|
|
SHEBANG_FILES= colorize
|
2001-08-10 18:43:58 +02:00
|
|
|
|
2001-06-13 09:19:08 +02:00
|
|
|
post-patch:
|
2013-07-26 12:46:37 +02:00
|
|
|
@${REINPLACE_CMD} -i '' -e 's|/etc/colorizerc|${PREFIX}/etc/colorizerc|' \
|
|
|
|
${WRKSRC}/colorize
|
2001-06-13 09:19:08 +02:00
|
|
|
|
|
|
|
do-install:
|
2014-06-25 01:54:41 +02:00
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/colorize ${STAGEDIR}${PREFIX}/bin
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/colorizerc ${STAGEDIR}${PREFIX}/etc/colorizerc.sample
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/colorize.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1
|
2001-06-13 09:19:08 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|