blob: 6e65794502a9b352e80d3574c771df530e43510c (
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
31
32
33
34
35
36
37
38
39
|
PORTNAME= cast2gif
DISTVERSIONPREFIX= v
DISTVERSION= 0.1.0-5
DISTVERSIONSUFFIX= -g7373161
PORTREVISION= 5
CATEGORIES= textproc
MAINTAINER= eduardo@FreeBSD.org
COMMENT= Tool to render Asciinema cast files to GIFs
WWW= https://github.com/katharostech/cast2gif
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libfreetype.so:print/freetype2
USES= cargo gmake
USE_GITHUB= yes
GH_ACCOUNT= katharostech
PLIST_FILES= bin/cast2gif
PORTDOCS= README.md
PORTEXAMPLES= example1.gif tutorial.gif
OPTIONS_DEFINE= DOCS EXAMPLES
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} "${PORTEXAMPLES}" ${STAGEDIR}${EXAMPLESDIR})
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>
|