aboutsummaryrefslogtreecommitdiff
path: root/net/pear-File_Bittorrent2/Makefile
blob: e12466635a50d740a92982fe5762aca0c5483848 (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
# Ports collection makefile for:  pear-File_Bittorrent2
# Date created:			  28 Aug 2007
# Whom:				  Zhen REN <bg1tpt@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	File_Bittorrent2
DISTVERSION=	1.3.1
CATEGORIES=	net pear

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Decode and Encode data in Bittorrent format

BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
RUN_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear

CATEGORY=	File
FILES=		Bittorrent2/Decode.php Bittorrent2/Encode.php \
		Bittorrent2/Exception.php Bittorrent2/MakeTorrent.php

_EXAMPLESDIR=	.
EXAMPLES=	example.php example_mktorrent.php \
		install-x86-universal-2005.0.iso.torrent \
		scrape.php torrentinfo.php

_TESTSDIR=	Tests
TESTS=		AllTests.php Bug7406.php Bug8085.php Bug14013.php \
		Bug16148.php ticket-19.php FileBittorrent2.php

post-extract:
	@ cd ${WRKSRC}/File; ${MV} Bittorrent2 ${WRKSRC}

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.post.mk>