1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

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>
This commit is contained in:
Pawel Pekala 2011-10-24 22:22:59 +00:00
parent fb97b52598
commit 877122b5db
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284266
7 changed files with 80 additions and 0 deletions

View File

@ -24,6 +24,7 @@
SUBDIR += deluge
SUBDIR += ed2k
SUBDIR += edonkey-tool-hash
SUBDIR += eiskaltdcpp-cli
SUBDIR += eiskaltdcpp-daemon
SUBDIR += eiskaltdcpp-data
SUBDIR += eiskaltdcpp-gtk

View File

@ -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>

View File

@ -0,0 +1,2 @@
SHA256 (eiskaltdcpp-2.2.4.tar.xz) = a14d44ad1c48dc97354e17d3d8d8fc9bdd7be646d275603d092c6d9ebf7061b4
SIZE (eiskaltdcpp-2.2.4.tar.xz) = 2008920

View File

@ -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

View File

@ -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

View File

@ -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/

View File

@ -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