From owner-svn-ports-all@FreeBSD.ORG Thu May 8 19:39:35 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CEEAFB8A; Thu, 8 May 2014 19:39:35 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AF67BAF3; Thu, 8 May 2014 19:39:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s48JdZ7Q039337; Thu, 8 May 2014 19:39:35 GMT (envelope-from thierry@svn.freebsd.org) Received: (from thierry@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s48JdYFu039280; Thu, 8 May 2014 19:39:34 GMT (envelope-from thierry@svn.freebsd.org) Message-Id: <201405081939.s48JdYFu039280@svn.freebsd.org> From: Thierry Thomas Date: Thu, 8 May 2014 19:39:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353348 - in head/net-im: . toxic toxic/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 May 2014 19:39:35 -0000 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 +# $FreeBSD$ + +PORTNAME= toxic +PORTVERSION= 0.3.3.140508 +CATEGORIES= net-im + +MAINTAINER= thierry@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 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 +@dirrm %%DATADIR%% +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%