mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# Created by: 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= fjoe@FreeBSD.org
|
|
COMMENT= EiskaltDC++ Direct Connect command-line interface
|
|
|
|
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
|
|
USES= perl5
|
|
USE_PERL5= run
|
|
|
|
MAN1= ${PORTNAME}.1
|
|
MANCOMPRESSED= no
|
|
|
|
NO_STAGE= yes
|
|
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>
|