aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/eiskaltdcpp-cli/Makefile
blob: 53417ce7c3c9a00d1b3de654974a004ea6e738c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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>