aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/pear-File_Fortune/Makefile
blob: 5f8073ebb0325eb322da7db1f03327b72d7965ae (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
# Ports collection makefile for:  pear-File_Fortune
# Date created:           12 July 2007
# Whom:               Zhen REN <bg1tpt@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   File_Fortune
PORTVERSION=    1.0.0
CATEGORIES= textproc pear

MAINTAINER= bg1tpt@gmail.com
COMMENT=    An interface for reading from and writing to fortune files

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

CATEGORY=   File
FILES=      Fortune.php Fortune/Exception.php
_FILESDIR=  File
TESTS=      AllTests.php File_FortuneTest.php orig/ftest orig/ftest.dat \
        orig/ftest2 orig/ftest2.dat
EXAMPLES=   phpFortune
DOCS=       File_Fortune.cls
_DOCSDIR=   tutorials

post-extract:
    ${MV} ${WRKSRC}/File/Fortune.php ${WRKSRC}/File/Fortune ${WRKSRC}
    ${MV} ${WRKSRC}/tests/_files/orig ${WRKSRC}/tests/orig

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