1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/graphics/ttygif/Makefile
John Marino de568b1416 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
2014-08-15 15:30:24 +00:00

33 lines
658 B
Makefile

# $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>