diff --git a/graphics/Makefile b/graphics/Makefile index 096ee31cb887..71349aae451a 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -1005,6 +1005,7 @@ SUBDIR += tkpng SUBDIR += togl SUBDIR += truevision + SUBDIR += ttygif SUBDIR += tulip SUBDIR += tumble SUBDIR += uDrawGraph diff --git a/graphics/ttygif/Makefile b/graphics/ttygif/Makefile new file mode 100644 index 000000000000..b1c8825d56b8 --- /dev/null +++ b/graphics/ttygif/Makefile @@ -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 diff --git a/graphics/ttygif/distinfo b/graphics/ttygif/distinfo new file mode 100644 index 000000000000..02930343f274 --- /dev/null +++ b/graphics/ttygif/distinfo @@ -0,0 +1,2 @@ +SHA256 (ttygif-1.0.8.tar.bz2) = 005d8c6a45daac8ae0e6b1e701bf043a819e2ea61734c95ba600d3a44eaec255 +SIZE (ttygif-1.0.8.tar.bz2) = 5098 diff --git a/graphics/ttygif/pkg-descr b/graphics/ttygif/pkg-descr new file mode 100644 index 000000000000..54ecf5ba586e --- /dev/null +++ b/graphics/ttygif/pkg-descr @@ -0,0 +1,3 @@ +Ttygif converts a ttyrec file into animated gif (need a X11 terminal). + +WWW: https://github.com/icholy/ttygif