blob: 1a80d0fd8bf420790548702560ba55d07e2e9f22 (
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
37
38
39
40
41
|
# Created by: Roman Neuhauser (<neuhauser@chello.cz>)
# $FreeBSD$
PORTNAME= simpletest
PORTVERSION= 1.1.0
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}_${PORTVERSION:C/\.0//}
DISTNAME= ${PORTNAME:tl}_${PORTVERSION}
MAINTAINER= danilo@FreeBSD.org
COMMENT= Unit testing, mock objects, and web testing framework for PHP
LICENSE= LGPL21
USE_PHP= pcre
USE_PHP_BUILD= yes
DEFAULT_VERSIONS= php=5
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME:tl}
OPTIONS_DEFINE= DOCS
DOCFILES= HELP_MY_TESTS_DONT_WORK_ANYMORE README
HTMLDOCFILES= docs/en/*
DATAFILES= *.php extensions test LICENSE VERSION
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC}/ \
&& ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${STAGEDIR}${DATADIR}/{} \; \
&& ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} \;
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
.for file in ${DOCFILES}
${CP} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.for file in ${HTMLDOCFILES}
${CP} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}/html
.endfor
.include <bsd.port.mk>
|