diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2011-10-24 22:22:59 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2011-10-24 22:22:59 +0000 |
commit | 877122b5db26933fc6dfab550728ef247d32a0bc (patch) | |
tree | 7293039780067c8ad59a8ccdfa5838bd5bb310a3 /net-p2p | |
parent | fb97b52598f8b0669b3697e79d7d9c40c3733c74 (diff) | |
download | ports-877122b5db26933fc6dfab550728ef247d32a0bc.tar.gz ports-877122b5db26933fc6dfab550728ef247d32a0bc.zip |
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/Makefile | 1 | ||||
-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 |
7 files changed, 80 insertions, 0 deletions
diff --git a/net-p2p/Makefile b/net-p2p/Makefile index ba0ef5956b24..779e095f3436 100644 --- a/net-p2p/Makefile +++ b/net-p2p/Makefile @@ -24,6 +24,7 @@ SUBDIR += deluge SUBDIR += ed2k SUBDIR += edonkey-tool-hash + SUBDIR += eiskaltdcpp-cli SUBDIR += eiskaltdcpp-daemon SUBDIR += eiskaltdcpp-data SUBDIR += eiskaltdcpp-gtk 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 |