diff options
author | pawel <pawel@FreeBSD.org> | 2011-10-25 06:22:59 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2011-10-25 06:22:59 +0800 |
commit | 91ab31d4ba76f7f24474e89358a8df153aa463f1 (patch) | |
tree | ef4b024153b91c45bd15ecc380213d8941d47179 /net-p2p/eiskaltdcpp-cli | |
parent | edc7eb30857f9206df162dceffaf872e7ca03176 (diff) | |
download | freebsd-ports-gnome-91ab31d4ba76f7f24474e89358a8df153aa463f1.tar.gz freebsd-ports-gnome-91ab31d4ba76f7f24474e89358a8df153aa463f1.tar.zst freebsd-ports-gnome-91ab31d4ba76f7f24474e89358a8df153aa463f1.zip |
EiskaltDC++ is a cross-platform program that uses the Direct Connect
and ADC protocol. It is compatible with other DC clients, such as the
original DC from Neomodus, DC++ and derivatives. EiskaltDC++ also
interoperates with all common DC hub software.
This port contains XMLRPC CLI client for EiskaltDC++ daemon.
WWW: http://code.google.com/p/eiskaltdc/
PR: ports/161898
Submitted by: Maxim Ignatenko <gelraen.ua@gmail.com>
Diffstat (limited to 'net-p2p/eiskaltdcpp-cli')
-rw-r--r-- | net-p2p/eiskaltdcpp-cli/Makefile | 41 | ||||
-rw-r--r-- | net-p2p/eiskaltdcpp-cli/distinfo | 2 | ||||
-rw-r--r-- | net-p2p/eiskaltdcpp-cli/files/patch-eiskaltdcpp-cli__cli.pl | 12 | ||||
-rw-r--r-- | net-p2p/eiskaltdcpp-cli/files/patch-eiskaltdcpp-cli__eiskaltdcpp-cli.1 | 11 | ||||
-rw-r--r-- | net-p2p/eiskaltdcpp-cli/pkg-descr | 8 | ||||
-rw-r--r-- | net-p2p/eiskaltdcpp-cli/pkg-plist | 5 |
6 files changed, 79 insertions, 0 deletions
diff --git a/net-p2p/eiskaltdcpp-cli/Makefile b/net-p2p/eiskaltdcpp-cli/Makefile new file mode 100644 index 000000000000..53417ce7c3c9 --- /dev/null +++ b/net-p2p/eiskaltdcpp-cli/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: net-p2p/eiskaltdcpp-cli +# Date created: 06 Oct @011 +# Whom: Maxim Ignatenko <gelraen.ua@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= eiskaltdcpp-cli +PORTVERSION= 2.2.4 +CATEGORIES= net-p2p +MASTER_SITES= GOOGLE_CODE +DISTNAME= eiskaltdcpp-${DISTVERSION} + +MAINTAINER= gelraen.ua@gmail.com +COMMENT= Shared data for EiskaltDC++ GUIs + +LICENSE= GPLv3 + +RUN_DEPENDS= p5-RPC-XML>=0:${PORTSDIR}/net/p5-RPC-XML \ + p5-Term-ShellUI>=0:${PORTSDIR}/shells/p5-Term-ShellUI + +PROJECTHOST= eiskaltdc + +USE_XZ= yes +NO_BUILD= yes +USE_PERL5_RUN= yes + +MAN1= ${PORTNAME}.1 +MANCOMPRESSED= no + +do-install: + @${INSTALL_SCRIPT} "${WRKSRC}/${PORTNAME}/cli.pl" "${PREFIX}/bin/eiskaltdcpp-cli" + @${INSTALL_MAN} "${WRKSRC}/${PORTNAME}/eiskaltdcpp-cli.1" "${PREFIX}/man/man1/" + @${MKDIR} "${PREFIX}/etc/eiskaltdcpp" || true + @${INSTALL_DATA} "${WRKSRC}/${PORTNAME}/config.pl" "${PREFIX}/etc/eiskaltdcpp/config.pl.dist" + @if [ ! -f "${PREFIX}/etc/eiskaltdcpp/config.pl" ]; then \ + ${CP} -pv "${PREFIX}/etc/eiskaltdcpp/config.pl.dist" \ + "${PREFIX}/etc/eiskaltdcpp/config.pl"; \ + fi + +.include <bsd.port.mk> diff --git a/net-p2p/eiskaltdcpp-cli/distinfo b/net-p2p/eiskaltdcpp-cli/distinfo new file mode 100644 index 000000000000..f94894f67b5f --- /dev/null +++ b/net-p2p/eiskaltdcpp-cli/distinfo @@ -0,0 +1,2 @@ +SHA256 (eiskaltdcpp-2.2.4.tar.xz) = a14d44ad1c48dc97354e17d3d8d8fc9bdd7be646d275603d092c6d9ebf7061b4 +SIZE (eiskaltdcpp-2.2.4.tar.xz) = 2008920 diff --git a/net-p2p/eiskaltdcpp-cli/files/patch-eiskaltdcpp-cli__cli.pl b/net-p2p/eiskaltdcpp-cli/files/patch-eiskaltdcpp-cli__cli.pl new file mode 100644 index 000000000000..e222defdae59 --- /dev/null +++ b/net-p2p/eiskaltdcpp-cli/files/patch-eiskaltdcpp-cli__cli.pl @@ -0,0 +1,12 @@ +--- ./eiskaltdcpp-cli/cli.pl.orig 2011-10-02 18:12:43.000000000 +0300 ++++ ./eiskaltdcpp-cli/cli.pl 2011-10-06 09:30:39.000000000 +0300 +@@ -36,8 +36,7 @@ + unshift @INC, + "$XDG_CONFIG_HOME/eiskaltdc++", + "~/.config/eiskaltdc++/", +- "/usr/local/share/eiskaltdcpp/cli", +- "/usr/share/eiskaltdcpp/cli" ++ "/usr/local/etc/eiskaltdcpp" + } + + # preparing terminal diff --git a/net-p2p/eiskaltdcpp-cli/files/patch-eiskaltdcpp-cli__eiskaltdcpp-cli.1 b/net-p2p/eiskaltdcpp-cli/files/patch-eiskaltdcpp-cli__eiskaltdcpp-cli.1 new file mode 100644 index 000000000000..e0ce6526e96e --- /dev/null +++ b/net-p2p/eiskaltdcpp-cli/files/patch-eiskaltdcpp-cli__eiskaltdcpp-cli.1 @@ -0,0 +1,11 @@ +--- ./eiskaltdcpp-cli/eiskaltdcpp-cli.1.orig 2011-10-06 09:31:09.000000000 +0300 ++++ ./eiskaltdcpp-cli/eiskaltdcpp-cli.1 2011-10-06 09:32:23.000000000 +0300 +@@ -29,7 +29,7 @@ + .B "~/.config/eiskaltdc++/" or "$XDG_CONFIG_HOME/eiskaltdc++/" + Directory with user configuration files and logs + .TP +-.B "/usr/local/share/eiskaltdcpp/cli/" or "/usr/share/eiskaltdcpp/cli/" ++.B "/usr/local/etc/eiskaltdcpp/" + Directory with default configuration file + .SH "DOCUMENTATION" + .TP diff --git a/net-p2p/eiskaltdcpp-cli/pkg-descr b/net-p2p/eiskaltdcpp-cli/pkg-descr new file mode 100644 index 000000000000..e099bceaca42 --- /dev/null +++ b/net-p2p/eiskaltdcpp-cli/pkg-descr @@ -0,0 +1,8 @@ +EiskaltDC++ is a cross-platform program that uses the Direct Connect +and ADC protocol. It is compatible with other DC clients, such as the +original DC from Neomodus, DC++ and derivatives. EiskaltDC++ also +interoperates with all common DC hub software. + +This port contains XMLRPC CLI client for EiskaltDC++ daemon. + +WWW: http://code.google.com/p/eiskaltdc/ diff --git a/net-p2p/eiskaltdcpp-cli/pkg-plist b/net-p2p/eiskaltdcpp-cli/pkg-plist new file mode 100644 index 000000000000..1b662cd04797 --- /dev/null +++ b/net-p2p/eiskaltdcpp-cli/pkg-plist @@ -0,0 +1,5 @@ +bin/eiskaltdcpp-cli +@unexec if cmp -s %D/etc/eiskaltdcpp/config.pl.dist %D/etc/eiskaltdcpp/config.pl; then rm -f %D/etc/eiskaltdcpp/config.pl; fi +etc/eiskaltdcpp/config.pl.dist +@exec if [ ! -f %D/etc/eiskaltdcpp/config.pl ] ; then cp -p %D/%F %B/config.pl; fi +@dirrmtry etc/eiskaltdcpp |