1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/graphics/ttygif/Makefile
Mathieu Arnold 02415c68f5 Update ports in the games category to not use GH_COMMIT.
With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
2015-05-07 15:17:32 +00:00

31 lines
638 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
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>