1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

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
This commit is contained in:
John Marino 2014-08-15 15:30:24 +00:00
parent 8854205b5e
commit de568b1416
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364980
4 changed files with 38 additions and 0 deletions

View File

@ -1005,6 +1005,7 @@
SUBDIR += tkpng
SUBDIR += togl
SUBDIR += truevision
SUBDIR += ttygif
SUBDIR += tulip
SUBDIR += tumble
SUBDIR += uDrawGraph

32
graphics/ttygif/Makefile Normal file
View File

@ -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>

2
graphics/ttygif/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (ttygif-1.0.8.tar.bz2) = 005d8c6a45daac8ae0e6b1e701bf043a819e2ea61734c95ba600d3a44eaec255
SIZE (ttygif-1.0.8.tar.bz2) = 5098

View File

@ -0,0 +1,3 @@
Ttygif converts a ttyrec file into animated gif (need a X11 terminal).
WWW: https://github.com/icholy/ttygif