New port: net-im/toxins: Collection of small programs using toxcore

Approved by:	tcberner (mentor, implicit)
This commit is contained in:
Yuri Victorovich 2018-03-08 08:15:01 +00:00
parent 1ff793b5be
commit 1dbfec3c01
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463872
4 changed files with 51 additions and 0 deletions

View file

@ -197,6 +197,7 @@
SUBDIR += tox
SUBDIR += tox12
SUBDIR += toxic
SUBDIR += toxins
SUBDIR += turpial
SUBDIR += twirssi
SUBDIR += twitmail

35
net-im/toxins/Makefile Normal file
View file

@ -0,0 +1,35 @@
# $FreeBSD$
PORTNAME= toxins
DISTVERSION= g20180214
CATEGORIES= net-im
MAINTAINER= yuri@FreeBSD.org
COMMENT= Collection of small programs using toxcore
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.md
LIB_DEPENDS= libsodium.so:security/libsodium \
libtoxcore.so:net-im/tox
USES= gmake pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= TokTok
GH_TAGNAME= e7bb43c
ALL_TARGET= build
PROGS= irc_syncbot tox_shell tox_sync echobot
PLIST_FILES= ${PROGS:S/^/bin\//}
post-patch:
@${RM} -r ${WRKSRC}/toxvpn # will be in a separate port
@${REINPLACE_CMD} -e 's|-static -ltoxcore|`pkg-config --cflags --libs toxcore`|' ${WRKSRC}/*/Makefile
do-install:
.for f in ${PROGS}
${INSTALL_PROGRAM} ${WRKSRC}/${f}/${f} ${STAGEDIR}${PREFIX}/bin/${f}
.endfor
.include <bsd.port.mk>

3
net-im/toxins/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1520496023
SHA256 (TokTok-toxins-g20180214-e7bb43c_GH0.tar.gz) = 481efdfe6eb33feb16c161cd169305c53f671de367b418006936688b4cd160a6
SIZE (TokTok-toxins-g20180214-e7bb43c_GH0.tar.gz) = 23606

12
net-im/toxins/pkg-descr Normal file
View file

@ -0,0 +1,12 @@
A collection of small utilities, mostly written in C or C++, that use toxcore.
List of toxins:
* irc_syncbot: Bot that synchronizes an IRC channel and a Tox group chat
(conference).
* tox_shell: Proof of concept SSH-like server software using Tox. Testing
program, not intended for actual use.
* tox_sync: Bittorrent-sync-like software using Tox. Syncs two directories
together.
* echobot: Bot that accepts all friend requests and echoes all messages.
WWW: https://github.com/TokTok/toxins