mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
4a4ec28d37
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a replacement for :U and :L (which has been marked as deprecated) bmake which is the default on FreeBSD 10+ only support by default :tu/:tl a hack has been added at the time to support :U and :L to ease migration. This hack is now not necessary anymore Note that this makes the ports tree incompatible with make(1) from FreeBSD 8.3 or earlier With hat: portmgr
42 lines
1.0 KiB
Makefile
42 lines
1.0 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
|
|
|
|
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>
|