1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/devel/simpletest/Makefile
2015-11-13 22:13:24 +00:00

45 lines
1.1 KiB
Makefile

# 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
DEPRECATED= PHP 5.4 EOL reached
EXPIRATION_DATE= 2016-01-15
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>