Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jun 2015 00:46:36 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r390467 - in head/textproc: . asciinema
Message-ID:  <201506240046.t5O0kaLD087181@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Wed Jun 24 00:46:35 2015
New Revision: 390467
URL: https://svnweb.freebsd.org/changeset/ports/390467

Log:
  textproc/asciinema: create port
  
  asciinema is a free and open source solution for recording terminal sessions
  and sharing them on the web.
  
  WWW: https://asciinema.org/

Added:
  head/textproc/asciinema/
  head/textproc/asciinema/Makefile   (contents, props changed)
  head/textproc/asciinema/distinfo   (contents, props changed)
  head/textproc/asciinema/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Tue Jun 23 22:54:21 2015	(r390466)
+++ head/textproc/Makefile	Wed Jun 24 00:46:35 2015	(r390467)
@@ -30,6 +30,7 @@
     SUBDIR += archmage
     SUBDIR += artha
     SUBDIR += asciidoc
+    SUBDIR += asciinema
     SUBDIR += asm-xml
     SUBDIR += asm2html
     SUBDIR += aspell

Added: head/textproc/asciinema/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/asciinema/Makefile	Wed Jun 24 00:46:35 2015	(r390467)
@@ -0,0 +1,39 @@
+# $FreeBSD$
+
+PORTNAME=	asciinema
+PORTVERSION=	1.1.1
+DISTVERSIONPREFIX=	v
+CATEGORIES=	textproc
+
+MAINTAINER=	swills@FreeBSD.org
+COMMENT=	Terminal session recorder
+
+BUILD_DEPENDS=	${LOCALBASE}/bin/go:${PORTSDIR}/lang/go
+
+USE_GITHUB=	yes
+
+PLIST_FILES=	bin/${PORTNAME}
+
+STRIP=		# stripping can break go binaries
+
+PORTDOCS=	CHANGELOG.md LICENSE README.md
+
+post-patch:
+	@cd ${WRKSRC} ; ${MKDIR} src/github.com/${GH_ACCOUNT} ; \
+		${MKDIR} Godeps/_workspace/src/github.com/${GH_ACCOUNT} ; \
+		${LN} -s ../../../../../ Godeps/_workspace/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} ; \
+		${LN} -s ../../.. src/github.com/${GH_ACCOUNT}/${GH_PROJECT}
+
+do-build:
+	@cd ${WRKSRC} ; \
+		${SETENV} GOPATH=${WRKSRC}/Godeps/_workspace go build -o bin/asciinema
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} \
+		${STAGEDIR}${PREFIX}/bin/
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/CHANGELOG.md ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/LICENSE ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/textproc/asciinema/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/asciinema/distinfo	Wed Jun 24 00:46:35 2015	(r390467)
@@ -0,0 +1,2 @@
+SHA256 (asciinema-asciinema-v1.1.1_GH0.tar.gz) = 841b3393a65a4f49a01354aed4e2da6c30822dc83bcd988ff100fabda7038055
+SIZE (asciinema-asciinema-v1.1.1_GH0.tar.gz) = 94902

Added: head/textproc/asciinema/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/asciinema/pkg-descr	Wed Jun 24 00:46:35 2015	(r390467)
@@ -0,0 +1,4 @@
+asciinema is a free and open source solution for recording terminal sessions
+and sharing them on the web.
+
+WWW: https://asciinema.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506240046.t5O0kaLD087181>