1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00

devel/simpletest: update te 1.1.0

- Update to 1.1.0 [1]
- NOPORTDOCS -> PORT_OPTIONS:MDOCS [1]
- Change WWW in pkg-descr for new home [1]
- Add LICENSE (LGPL21)
- Pass maintainership to submitter

PR:		ports/179777
Submitted by:	Danilo Egea Gondolfo <danilogondolfo@gmail.com>
This commit is contained in:
William Grzybowski 2013-06-20 21:19:57 +00:00
parent 9807bf6b16
commit e1b1fa0c8c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321426
3 changed files with 16 additions and 14 deletions

View File

@ -1,19 +1,17 @@
# Ports collection makefile for: simpletest
# Date created: 16 August 2004
# Whom: Roman Neuhauser (<neuhauser@chello.cz>)
#
# Created by: Roman Neuhauser (<neuhauser@chello.cz>)
# $FreeBSD$
#
PORTNAME= simpletest
PORTVERSION= 1.0.1
PORTVERSION= 1.1.0
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}_${PORTVERSION}
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}_${PORTVERSION:C/\.0//}
DISTNAME= ${PORTNAME:L}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
MAINTAINER= danilogondolfo@gmail.com
COMMENT= Unit testing, mock objects, and web testing framework for PHP
LICENSE= LGPL21
USE_PHP= pcre
USE_PHP_BUILD= yes
DEFAULT_PHP_VER=5
@ -21,7 +19,11 @@ NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME:L}
.if !defined(NOPORTDOCS)
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
DOCFILES= HELP_MY_TESTS_DONT_WORK_ANYMORE README
HTMLDOCFILES= docs/en/*
.endif
@ -33,7 +35,7 @@ do-install:
cd ${WRKSRC}/ \
&& ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \; \
&& ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${MKDIR} ${DOCSDIR}/html
.for file in ${DOCFILES}
@ -50,7 +52,7 @@ post-install:
@${FIND} -s -d ${DATAFILES:S,^,${WRKSRC}/,} -type d \
| ${SED} -ne 's,^${WRKSRC},@dirrm ${DATADIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
@${ECHO_CMD} "@dirrm ${DATADIR:S,^${PREFIX}/,,}" >> ${TMPPLIST}
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
@${FIND} -s ${DOCSDIR} -not -type d \
| ${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST}
@${FIND} -s -d ${DOCSDIR} -type d \

View File

@ -1,2 +1,2 @@
SHA256 (simpletest_1.0.1.tar.gz) = 55034d6f180de7d2bbd32bc41ca31c98bc01fc05264cad0e7e8d3619f3d5ffd0
SIZE (simpletest_1.0.1.tar.gz) = 269696
SHA256 (simpletest_1.1.0.tar.gz) = c9843becf2cec9022e11a05c8e95ae9e8d23624054c5c4e8e2b68f153e98d665
SIZE (simpletest_1.1.0.tar.gz) = 287537

View File

@ -3,4 +3,4 @@ around test cases. If you know JUnit or some of the PHPUnit clones this
will need no explanation. It also adds JWebUnit style testing including
cookies, authentication and form handling
WWW: http://sourceforge.net/projects/simpletest/
WWW: http://simpletest.org