aboutsummaryrefslogtreecommitdiffstats
path: root/net/pear-File_Bittorrent2/Makefile
blob: 2b11c8ca7f3f30b9e2d0da95264f46b24454e481 (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= 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 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>