From a126aa4d82da400623714fb72f0ee57f5bb9edae Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Mon, 17 Apr 2017 19:00:17 +0000 Subject: [PATCH] - Update to 3.0.5 - Add simple test --- graphics/ansilove/Makefile | 8 +++++++- graphics/ansilove/distinfo | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/graphics/ansilove/Makefile b/graphics/ansilove/Makefile index 0ee178b1093e..1748b2ec2ed7 100644 --- a/graphics/ansilove/Makefile +++ b/graphics/ansilove/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= ansilove -PORTVERSION= 3.0.4 +PORTVERSION= 3.0.5 CATEGORIES= graphics textproc MAINTAINER= amdmi3@FreeBSD.org @@ -35,4 +35,10 @@ post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}/ +do-test: + @cd ${WRKSRC}/examples/ && for f in *; do \ + ${WRKSRC}/${PORTNAME} -o ${WRKSRC}/out $$f; \ + ${FILE} ${WRKSRC}/out.png | ${GREP} -q 'PNG'; \ + done + .include diff --git a/graphics/ansilove/distinfo b/graphics/ansilove/distinfo index a14e3e1dd429..1bcdb5042993 100644 --- a/graphics/ansilove/distinfo +++ b/graphics/ansilove/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1474927624 -SHA256 (ansilove-ansilove-3.0.4_GH0.tar.gz) = b115242186e7e5d98311b49c57503cf8dbe6955cbc9880fb3ef7ad831d1f03de -SIZE (ansilove-ansilove-3.0.4_GH0.tar.gz) = 151101 +TIMESTAMP = 1492444476 +SHA256 (ansilove-ansilove-3.0.5_GH0.tar.gz) = a2584b50e7b1285627fa4071d490a39d32d83b449e44e36f4968aa0fff597bf2 +SIZE (ansilove-ansilove-3.0.5_GH0.tar.gz) = 151791