22077772ef
and decoding of data in Bittorrent format. You can also extract useful informations from .torrent files, create .torrent files and query the torrent's scrape page to get its statistics. PHP5 only. WWW: http://pear.php.net/package/File_Bittorrent2/ PR: ports/115891 Submitted by: Zhen REN <bg1tpt at gmail.com>
35 lines
929 B
Makefile
35 lines
929 B
Makefile
# Ports collection makefile for: pear-File_Bittorrent2
|
|
# Date created: 28 Aug 2007
|
|
# Whom: Zhen REN <bg1tpt@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= File_Bittorrent2
|
|
DISTVERSION= 1.0.0RC1
|
|
CATEGORIES= net pear
|
|
|
|
MAINTAINER= bg1tpt@gmail.com
|
|
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 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>
|