From nobody@FreeBSD.org  Tue May 27 22:49:45 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 685E0D4E
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 27 May 2014 22:49:45 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id 3C2EC2E84
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 27 May 2014 22:49:45 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4RMnikn055567
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 27 May 2014 22:49:44 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4RMnigE055566;
	Tue, 27 May 2014 22:49:44 GMT
	(envelope-from nobody)
Message-Id: <201405272249.s4RMnigE055566@cgiserv.freebsd.org>
Date: Tue, 27 May 2014 22:49:44 GMT
From: Olivier Cochard-Labbe <olivier@cochard.me>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: graphics/ttygif
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         190328
>Category:       ports
>Synopsis:       New port: graphics/ttygif
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 27 22:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Cochard-Labbe
>Release:        10.0-stable
>Organization:
>Environment:
FreeBSD laptop.bsdrp.net 10.0-STABLE FreeBSD 10.0-STABLE #9 r266396M: Sun May 18 13:21:01 CEST 2014     root@laptop.bsdrp.net:/usr/obj/usr/local/BSDRP/BSDRP/FreeBSD/src/sys/PROD  amd64

>Description:
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
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ttygif
#	ttygif/pkg-descr
#	ttygif/Makefile
#	ttygif/distinfo
#
echo c - ttygif
mkdir -p ttygif > /dev/null 2>&1
echo x - ttygif/pkg-descr
sed 's/^X//' >ttygif/pkg-descr << '1d408060ab6fdaed84515cf45fa98d2c'
XTtygif converts a ttyrec file into animated gif (need a X11 terminal).
X
XWWW: https://github.com/icholy/ttygif
1d408060ab6fdaed84515cf45fa98d2c
echo x - ttygif/Makefile
sed 's/^X//' >ttygif/Makefile << 'd20c6ac2d5e6141eff7263fb4b0817cf'
X# $FreeBSD$
X
XPORTNAME=	ttygif
XPORTVERSION=	1.0.8
XCATEGORIES=	graphics
X
XMAINTAINER=	olivier@cochard.me
XCOMMENT=	Converts a ttyrec file into animated gif
X
XLICENSE=	MIT
X
XRUN_DEPENDS=	convert:${PORTSDIR}/graphics/ImageMagick
X
XGH_ACCOUNT=		icholy
XGH_COMMIT=	ea0b493
X
XUSES=	tar:bzip2 gmake
X
XUSE_GITHUB=	yes
X
XPLIST_FILES=	bin/${PORTNAME} \
X				bin/concat
X
Xpost-patch:
X	@${REINPLACE_CMD} 's:\#\!/bin/bash:\#\!/bin/sh:' ${WRKSRC}/concat.sh
X	@${REINPLACE_CMD} 's:gcc:$(CC):' ${WRKSRC}/Makefile
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
X	${INSTALL_SCRIPT} ${WRKSRC}/concat.sh ${STAGEDIR}${PREFIX}/bin/concat
X
X.include <bsd.port.mk>
d20c6ac2d5e6141eff7263fb4b0817cf
echo x - ttygif/distinfo
sed 's/^X//' >ttygif/distinfo << '74503188de08187b5fd051fbde5f2e12'
XSHA256 (ttygif-1.0.8.tar.bz2) = 005d8c6a45daac8ae0e6b1e701bf043a819e2ea61734c95ba600d3a44eaec255
XSIZE (ttygif-1.0.8.tar.bz2) = 5098
74503188de08187b5fd051fbde5f2e12
exit



>Release-Note:
>Audit-Trail:
>Unformatted:
