aboutsummaryrefslogtreecommitdiff
path: root/graphics/ttygif/Makefile
blob: b95362412e0edbad9363cb894d5afec9cdd883ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $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

USE_GITHUB=	yes
GH_ACCOUNT=	icholy

USES=		tar:bzip2 gmake

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>