Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2014 15:30:24 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364980 - in head/graphics: . ttygif
Message-ID:  <201408151530.s7FFUOaH025260@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Fri Aug 15 15:30:24 2014
New Revision: 364980
URL: http://svnweb.freebsd.org/changeset/ports/364980
QAT: https://qat.redports.org/buildarchive/r364980/

Log:
  Add new port graphics/ttygif
  
  PR:		190328
  Submitted by:	Olivier (cochard.me)
  
  ttygif permit to convert ttyrec record into animated gif.
  It's a 3 steps process:
  1. Generate a ttyrecord file with misc/ttyrec
  2. convert the ttyrecord in multiple image file with ttygif
  3. convert the multiple image with a unique animated gif file with concat

Added:
  head/graphics/ttygif/
  head/graphics/ttygif/Makefile   (contents, props changed)
  head/graphics/ttygif/distinfo   (contents, props changed)
  head/graphics/ttygif/pkg-descr   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Fri Aug 15 15:08:04 2014	(r364979)
+++ head/graphics/Makefile	Fri Aug 15 15:30:24 2014	(r364980)
@@ -1005,6 +1005,7 @@
     SUBDIR += tkpng
     SUBDIR += togl
     SUBDIR += truevision
+    SUBDIR += ttygif
     SUBDIR += tulip
     SUBDIR += tumble
     SUBDIR += uDrawGraph

Added: head/graphics/ttygif/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/ttygif/Makefile	Fri Aug 15 15:30:24 2014	(r364980)
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME=	ttygif
+PORTVERSION=	1.0.8
+CATEGORIES=	graphics
+
+MAINTAINER=	olivier@cochard.me
+COMMENT=	Converts a ttyrec file into animated gif
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	convert:${PORTSDIR}/graphics/ImageMagick
+
+GH_ACCOUNT=	icholy
+GH_COMMIT=	ea0b493
+
+USES=		tar:bzip2 gmake
+
+USE_GITHUB=	yes
+
+PLIST_FILES=	bin/${PORTNAME} \
+		bin/concat
+
+post-patch:
+	@${REINPLACE_CMD} 's:\#\!/bin/bash:\#\!/bin/sh:' ${WRKSRC}/concat.sh
+	@${REINPLACE_CMD} 's:gcc:${CC}:' ${WRKSRC}/Makefile
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_SCRIPT} ${WRKSRC}/concat.sh ${STAGEDIR}${PREFIX}/bin/concat
+
+.include <bsd.port.mk>

Added: head/graphics/ttygif/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/ttygif/distinfo	Fri Aug 15 15:30:24 2014	(r364980)
@@ -0,0 +1,2 @@
+SHA256 (ttygif-1.0.8.tar.bz2) = 005d8c6a45daac8ae0e6b1e701bf043a819e2ea61734c95ba600d3a44eaec255
+SIZE (ttygif-1.0.8.tar.bz2) = 5098

Added: head/graphics/ttygif/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/ttygif/pkg-descr	Fri Aug 15 15:30:24 2014	(r364980)
@@ -0,0 +1,3 @@
+Ttygif converts a ttyrec file into animated gif (need a X11 terminal).
+
+WWW: https://github.com/icholy/ttygif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408151530.s7FFUOaH025260>