aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/ctorrent/Makefile
blob: 86199138a272c8f698aaec8d49d5fe8611473526 (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
PORTNAME=	ctorrent
PORTVERSION=	3.3.2
PORTREVISION=	5
CATEGORIES=	net-p2p
MASTER_SITES=	SF/dtorrent/dtorrent/${PORTVERSION} \
		http://www.rahul.net/dholmes/ctorrent/
DISTNAME=	${PORTNAME}-dnh${PORTVERSION}

MAINTAINER=	dinoex@FreeBSD.org
COMMENT=	BitTorrent Client written in C for FreeBSD and Linux
WWW=		https://www.rahul.net/dholmes/ctorrent/

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USES=	ssl

GNU_CONFIGURE=	yes

PLIST_FILES=	bin/ctorrent share/man/man1/ctorrent.1.gz
PORTDOCS=	README-DNH.TXT UserGuide

OPTIONS_DEFINE=	DOCS

post-install:
	${INSTALL_MAN} ${FILESDIR}/ctorrent.1 \
		${STAGEDIR}${PREFIX}/share/man/man1/

post-install-DOCS-on:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${DOCSDIR}/
.endfor

.include <bsd.port.mk>