diff options
author | yuri <yuri@FreeBSD.org> | 2018-03-08 16:15:01 +0800 |
---|---|---|
committer | yuri <yuri@FreeBSD.org> | 2018-03-08 16:15:01 +0800 |
commit | 2f288c1ca8954a52498b4712d3a73e46d3fbbc49 (patch) | |
tree | 754372dbe22dbbd2156aac8dddfc721a410d3780 /net-im | |
parent | 8a537f4c53cb5e3b126cc51f9c7d5cddeb44baa9 (diff) | |
download | freebsd-ports-gnome-2f288c1ca8954a52498b4712d3a73e46d3fbbc49.tar.gz freebsd-ports-gnome-2f288c1ca8954a52498b4712d3a73e46d3fbbc49.tar.zst freebsd-ports-gnome-2f288c1ca8954a52498b4712d3a73e46d3fbbc49.zip |
New port: net-im/toxins: Collection of small programs using toxcore
Approved by: tcberner (mentor, implicit)
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/Makefile | 1 | ||||
-rw-r--r-- | net-im/toxins/Makefile | 35 | ||||
-rw-r--r-- | net-im/toxins/distinfo | 3 | ||||
-rw-r--r-- | net-im/toxins/pkg-descr | 12 |
4 files changed, 51 insertions, 0 deletions
diff --git a/net-im/Makefile b/net-im/Makefile index 8b5cd7a6af9e..64871c95aa9d 100644 --- a/net-im/Makefile +++ b/net-im/Makefile @@ -197,6 +197,7 @@ SUBDIR += tox SUBDIR += tox12 SUBDIR += toxic + SUBDIR += toxins SUBDIR += turpial SUBDIR += twirssi SUBDIR += twitmail diff --git a/net-im/toxins/Makefile b/net-im/toxins/Makefile new file mode 100644 index 000000000000..26d5c8b43b3e --- /dev/null +++ b/net-im/toxins/Makefile @@ -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> diff --git a/net-im/toxins/distinfo b/net-im/toxins/distinfo new file mode 100644 index 000000000000..248dad51df3b --- /dev/null +++ b/net-im/toxins/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1520496023 +SHA256 (TokTok-toxins-g20180214-e7bb43c_GH0.tar.gz) = 481efdfe6eb33feb16c161cd169305c53f671de367b418006936688b4cd160a6 +SIZE (TokTok-toxins-g20180214-e7bb43c_GH0.tar.gz) = 23606 diff --git a/net-im/toxins/pkg-descr b/net-im/toxins/pkg-descr new file mode 100644 index 000000000000..9af8fec06950 --- /dev/null +++ b/net-im/toxins/pkg-descr @@ -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 |