svn commit: r353348 - in head/net-im: . toxic toxic/files

Thierry Thomas thierry at FreeBSD.org
Thu May 8 19:39:35 UTC 2014


Author: thierry
Date: Thu May  8 19:39:33 2014
New Revision: 353348
URL: http://svnweb.freebsd.org/changeset/ports/353348
QAT: https://qat.redports.org/buildarchive/r353348/

Log:
  Adding toxic, the CLI front-end for Tox.

Added:
  head/net-im/toxic/
  head/net-im/toxic/Makefile   (contents, props changed)
  head/net-im/toxic/distinfo   (contents, props changed)
  head/net-im/toxic/files/
  head/net-im/toxic/files/patch-src_main.c   (contents, props changed)
  head/net-im/toxic/files/pkg-message.in   (contents, props changed)
  head/net-im/toxic/pkg-descr   (contents, props changed)
  head/net-im/toxic/pkg-plist   (contents, props changed)
Modified:
  head/net-im/Makefile

Modified: head/net-im/Makefile
==============================================================================
--- head/net-im/Makefile	Thu May  8 19:20:44 2014	(r353347)
+++ head/net-im/Makefile	Thu May  8 19:39:33 2014	(r353348)
@@ -166,6 +166,7 @@
     SUBDIR += tkabber-plugins
     SUBDIR += tkabbur
     SUBDIR += tox
+    SUBDIR += toxic
     SUBDIR += ttytter
     SUBDIR += turpial
     SUBDIR += twirssi

Added: head/net-im/toxic/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/toxic/Makefile	Thu May  8 19:39:33 2014	(r353348)
@@ -0,0 +1,36 @@
+# Created by: Thierry Thomas <thierry at pompo.net>
+# $FreeBSD$
+
+PORTNAME=	toxic
+PORTVERSION=	0.3.3.140508
+CATEGORIES=	net-im
+
+MAINTAINER=	thierry at FreeBSD.org
+COMMENT=	A console client for Tox
+
+LICENSE=	GPLv3
+
+BUILD_DEPENDS=	${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
+RUN_DEPENDS=	${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	tox
+GH_TAGNAME=	${GH_COMMIT}
+GH_COMMIT=	af09961
+
+WRKSRC=		${WRKDIR}/Tox-${PORTNAME}-${GH_COMMIT}
+SUB_FILES=	pkg-message
+
+USES=		ncurses:port pkgconfig
+USE_AUTOTOOLS=	autoconf aclocal
+
+run-autotools:
+	cd ${CONFIGURE_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${AUTORECONF} -if
+
+post-install:
+.if !defined(NOPORTEXAMPLES)
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/misc/toxic.conf ${STAGEDIR}${EXAMPLESDIR}
+.endif
+
+.include <bsd.port.mk>

Added: head/net-im/toxic/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/toxic/distinfo	Thu May  8 19:39:33 2014	(r353348)
@@ -0,0 +1,2 @@
+SHA256 (toxic-0.3.3.140508.tar.gz) = 2196aeac8f0e938d3214df627ae8606378ebdcf3d00fb47c5b8a2535d8d8b5b5
+SIZE (toxic-0.3.3.140508.tar.gz) = 76206

Added: head/net-im/toxic/files/patch-src_main.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/toxic/files/patch-src_main.c	Thu May  8 19:39:33 2014	(r353348)
@@ -0,0 +1,11 @@
+--- src/main.c.orig	2014-04-20 22:43:14.000000000 +0200
++++ src/main.c	2014-04-21 12:44:27.000000000 +0200
+@@ -169,6 +169,8 @@
+ 
+ #ifdef __linux__
+     tox_set_name(m, (uint8_t *) "Cool guy", strlen("Cool guy"));
++#elif defined(__FreeBSD__)
++    tox_set_name(m, (uint8_t *) "Very cool guy", strlen("Very cool guy"));
+ #elif defined(_WIN32)
+     tox_set_name(m, (uint8_t *) "I should install GNU/Linux", strlen("I should install GNU/Linux"));
+ #elif defined(__APPLE__)

Added: head/net-im/toxic/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/toxic/files/pkg-message.in	Thu May  8 19:39:33 2014	(r353348)
@@ -0,0 +1,14 @@
+===============================================================================
+
++ toxic is set for IPv6 by default; if you have no IPv6 connectivity, try
+	toxic -4
+
++ if your screen is unreadable, try to set
+	colour_theme:1;
+  in your ~/.config/tox/toxic.conf
+
+  (more parameters available - see %%EXAMPLESDIR%%/toxic.conf )
+
+  or try to define another TERM, e.g.:
+	TERM=vt100 toxic
+===============================================================================

Added: head/net-im/toxic/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/toxic/pkg-descr	Thu May  8 19:39:33 2014	(r353348)
@@ -0,0 +1,6 @@
+Toxic, sometimes referred to as Tox/Toxic or the purged Core/Toxic, is the
+reference CLI front-end written for the Tox core.
+
+It uses the ncurses library.
+
+WWW: http://tox.im/

Added: head/net-im/toxic/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/toxic/pkg-plist	Thu May  8 19:39:33 2014	(r353348)
@@ -0,0 +1,5 @@
+bin/toxic
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/toxic.conf
+%%DATADIR%%/DHTnodes
+ at dirrm %%DATADIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%


More information about the svn-ports-all mailing list