aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pear-VFS/Makefile
blob: beb165c9fc43eabcc3b14e811447156336eda5c2 (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-VFS
# Date created:           04 April 2004
# Whom:               Thierry Thomas (<thierry@FreeBSD.org>)
#
# $FreeBSD$
#

PORTNAME=   VFS
PORTVERSION=    0.0.4
CATEGORIES= devel pear

MAINTAINER= ports@FreeBSD.org
COMMENT=    PEAR Virtual File System API

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

FILES=      VFS.php
VFS_FILES=  Browser.php GC.php ListItem.php Object.php  \
        file.php ftp.php musql.php sql.php sql_file.php

pre-everything::
.for cat_file in ${VFS_FILES}
FILES+=     VFS/${cat_file}
.endfor

post-extract:
    @${MKDIR} ${WRKSRC}/VFS
.for cat_file in ${VFS_FILES}
    @${MV} ${WRKSRC}/${cat_file} ${WRKSRC}/VFS
.endfor
    @${MV} ${WRKDIR}/VFS.php ${WRKSRC}

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