From 22077772efa382fe69a35ce18fcba4f29b5dcc37 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Tue, 28 Aug 2007 09:40:17 +0000 Subject: This package consists of three classes which handles the encoding 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 --- net/Makefile | 1 + net/pear-File_Bittorrent2/Makefile | 35 +++++++++++++++++++++++++++++++++++ net/pear-File_Bittorrent2/distinfo | 3 +++ net/pear-File_Bittorrent2/pkg-descr | 7 +++++++ 4 files changed, 46 insertions(+) create mode 100644 net/pear-File_Bittorrent2/Makefile create mode 100644 net/pear-File_Bittorrent2/distinfo create mode 100644 net/pear-File_Bittorrent2/pkg-descr (limited to 'net') diff --git a/net/Makefile b/net/Makefile index e6d61a5e3334..3dc5e75c2a6c 100644 --- a/net/Makefile +++ b/net/Makefile @@ -587,6 +587,7 @@ SUBDIR += pcnfsd SUBDIR += pdb SUBDIR += pear-Auth_RADIUS + SUBDIR += pear-File_Bittorrent2 SUBDIR += pear-Net_CDDB SUBDIR += pear-Net_CheckIP SUBDIR += pear-Net_DIME diff --git a/net/pear-File_Bittorrent2/Makefile b/net/pear-File_Bittorrent2/Makefile new file mode 100644 index 000000000000..40a91d5cd736 --- /dev/null +++ b/net/pear-File_Bittorrent2/Makefile @@ -0,0 +1,35 @@ +# Ports collection makefile for: pear-File_Bittorrent2 +# Date created: 28 Aug 2007 +# Whom: Zhen REN +# +# $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 +.include "${PORTSDIR}/devel/pear/bsd.pear.mk" +.include diff --git a/net/pear-File_Bittorrent2/distinfo b/net/pear-File_Bittorrent2/distinfo new file mode 100644 index 000000000000..fe95008ea195 --- /dev/null +++ b/net/pear-File_Bittorrent2/distinfo @@ -0,0 +1,3 @@ +MD5 (PEAR/File_Bittorrent2-1.0.0RC1.tgz) = 615b467a202c91b7b151d316d7a73349 +SHA256 (PEAR/File_Bittorrent2-1.0.0RC1.tgz) = 9e5d7325f0a7094e763074bc9d7e5eec19204219042727cc6eb944eb8dda7035 +SIZE (PEAR/File_Bittorrent2-1.0.0RC1.tgz) = 69940 diff --git a/net/pear-File_Bittorrent2/pkg-descr b/net/pear-File_Bittorrent2/pkg-descr new file mode 100644 index 000000000000..1da08223e01d --- /dev/null +++ b/net/pear-File_Bittorrent2/pkg-descr @@ -0,0 +1,7 @@ +This package consists of three classes which handles the encoding +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/ -- cgit v1.2.3