From neuhauser@chello.cz  Fri Sep 24 14:23:37 2004
Return-Path: <neuhauser@chello.cz>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 19EBB16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Sep 2004 14:23:37 +0000 (GMT)
Received: from smradoch.ath.cx (r2g224.chello.upc.cz [62.245.70.224])
	by mx1.FreeBSD.org (Postfix) with ESMTP id EA78C43D46
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Sep 2004 14:23:35 +0000 (GMT)
	(envelope-from neuhauser@chello.cz)
Received: by smradoch.ath.cx (Postfix, from userid 1001)
	id DCD7D1F87BEE; Fri, 24 Sep 2004 16:23:34 +0200 (CEST)
Message-Id: <20040924142334.DCD7D1F87BEE@smradoch.ath.cx>
Date: Fri, 24 Sep 2004 16:23:34 +0200 (CEST)
From: Roman Neuhauser <neuhauser@chello.cz>
Reply-To: Roman Neuhauser <neuhauser@chello.cz>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [New Port] SimpleTest 1.0RC1, PHP unit testing framework
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         72061
>Category:       ports
>Synopsis:       [New Port] SimpleTest 1.0RC1, PHP unit testing framework
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 24 14:30:28 GMT 2004
>Closed-Date:    Tue Dec 21 23:14:46 GMT 2004
>Last-Modified:  Tue Dec 21 23:14:46 GMT 2004
>Originator:     Roman Neuhauser
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD isis.wad.cz 4.10-STABLE FreeBSD 4.10-STABLE #3: Sat Aug 7 16:06:48 CEST 2004 roman@isis.wad.cz:/usr/obj/usr/src/sys/FREEPUPPY2_6 i386


	
>Description:
See the attached shar. SimpleTest is not exactly a PEAR package, but
I have it installed in `${PHP_CONFIG} --prefix` anyway. Makes sense IMO.

>How-To-Repeat:
	
>Fix:

	

--- devel::simpletest-1.0RC1.patch begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	devel/simpletest
#	devel/simpletest/Makefile
#	devel/simpletest/pkg-descr
#	devel/simpletest/distinfo
#	devel/simpletest/pkg-plist
#
echo c - devel/simpletest
mkdir -p devel/simpletest > /dev/null 2>&1
echo x - devel/simpletest/Makefile
sed 's/^X//' >devel/simpletest/Makefile << 'END-of-devel/simpletest/Makefile'
X# Ports collection makefile for:  simpletest
X# Date created:			  16 August 2004
X# Whom:				  Roman Neuhauser (<neuhauser@chello.cz>)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	SimpleTest
XPORTVERSION=	1.0.r1
XCATEGORIES=	devel
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME:L}/
XDISTNAME=	php_simple_test_1.0RC1
X
XMAINTAINER=	neuhauser@chello.cz
XCOMMENT=	Unit testing, mock objects and web testing framework for PHP
X
XUSE_PHP=	yes
X
XSIMPLETESTS?=	unit
X
X.include <bsd.port.pre.mk>
X
XPHP_CONFIG?=	${LOCALBASE}/bin/php-config
X
X.if !defined(PEARDIR) && exists(${PHP_CONFIG})
X_PEARPREFIX!=	${PHP_CONFIG} --prefix
X_PEARDIR=	share/pear
XPEARDIR=	${_PEARPREFIX}/${_PEARDIR}
X.endif
XWRKSRC=		${WRKDIR}/${PORTNAME:L}
XPLIST_SUB+=	PEARDIR="${_PEARDIR}"
X.if !defined(NOPORTDOCS)
XDOCS=		HELP_MY_TESTS_DONT_WORK_ANYMORE LICENSE README VERSION \
X		docs/expectation_documentation.html \
X		docs/form_testing_documentation.html \
X		docs/group_test_documentation.html \
X		docs/index.html \
X		docs/mock_objects_documentation.html \
X		docs/overview.html \
X		docs/partial_mocks_documentation.html \
X		docs/reporter_documentation.html \
X		docs/server_stubs_documentation.html \
X		docs/unit_test_documentation.html \
X		docs/web_tester_documentation.html
X.endif
X
XTESTS=		test/acceptance_test.php \
X		test/adapter_test.php \
X		test/all_tests.php \
X		test/authentication_test.php \
X		test/browser_test.php \
X		test/dumper_test.php \
X		test/errors_test.php \
X		test/expectation_test.php \
X		test/form_test.php \
X		test/frames_test.php \
X		test/http_test.php \
X		test/live_test.php \
X		test/options_test.php \
X		test/page_test.php \
X		test/parser_test.php \
X		test/real_sites_test.php \
X		test/remote_test.php \
X		test/shell_test.php \
X		test/shell_tester_test.php \
X		test/simple_mock_test.php \
X		test/socket_test.php \
X		test/tag_test.php \
X		test/unit_tests.php \
X		test/url_test.php \
X		test/user_agent_test.php \
X		test/visual_test.php \
X		test/web_tester_test.php \
X		test/xml_test.php
X
XCLASSES=	authentication.php browser.php dumper.php errors.php \
X		expectation.php extensions/pear_test_case.php \
X		extensions/phpunit_test_case.php form.php frames.php http.php \
X		mock_objects.php options.php page.php parser.php remote.php \
X		reporter.php scorer.php shell_tester.php simple_test.php \
X		socket.php tag.php unit_tester.php url.php user_agent.php \
X		web_tester.php xml.php
X
Xpre-patch:
X	${CP} -r ${WRKSRC}/test ${WRKSRC}/test.beforeinstall
X
Xdo-build:
X	cd ${WRKSRC}/test.beforeinstall && \
X	${LOCALBASE}/bin/php -f ${SIMPLETESTS}_tests.php
X
Xdo-install:
X	${MKDIR} ${DOCSDIR}
X.for f in ${DOCS}
X	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
X.endfor
X	${MKDIR} ${DATADIR}/test
X.for f in ${TESTS}
X	${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}/${f}
X.endfor
X	${MKDIR} ${PEARDIR}/simpletest/extensions
X.for f in ${CLASSES}
X	${INSTALL_DATA} ${WRKSRC}/${f} ${PEARDIR}/simpletest/${f}
X.endfor
X
X.include <bsd.port.post.mk>
END-of-devel/simpletest/Makefile
echo x - devel/simpletest/pkg-descr
sed 's/^X//' >devel/simpletest/pkg-descr << 'END-of-devel/simpletest/pkg-descr'
XUnit testing, mock objects and web testing framework for PHP built
Xaround test cases. If you know JUnit or some of the PHPUnit clones this
Xwill need no explanation. It also adds JWebUnit style testing including
Xcookies, authentication and form handling
X
XWWW: http://sourceforge.net/projects/simpletest/
END-of-devel/simpletest/pkg-descr
echo x - devel/simpletest/distinfo
sed 's/^X//' >devel/simpletest/distinfo << 'END-of-devel/simpletest/distinfo'
XMD5 (php_simple_test_1.0RC1.tar.gz) = 00ec0a4c94e5480c15550039886248c1
XSIZE (php_simple_test_1.0RC1.tar.gz) = 155315
END-of-devel/simpletest/distinfo
echo x - devel/simpletest/pkg-plist
sed 's/^X//' >devel/simpletest/pkg-plist << 'END-of-devel/simpletest/pkg-plist'
X%%PEARDIR%%/simpletest/authentication.php
X%%PEARDIR%%/simpletest/browser.php
X%%PEARDIR%%/simpletest/dumper.php
X%%PEARDIR%%/simpletest/errors.php
X%%PEARDIR%%/simpletest/expectation.php
X%%PEARDIR%%/simpletest/extensions/pear_test_case.php
X%%PEARDIR%%/simpletest/extensions/phpunit_test_case.php
X%%PEARDIR%%/simpletest/form.php
X%%PEARDIR%%/simpletest/frames.php
X%%PEARDIR%%/simpletest/http.php
X%%PEARDIR%%/simpletest/mock_objects.php
X%%PEARDIR%%/simpletest/options.php
X%%PEARDIR%%/simpletest/page.php
X%%PEARDIR%%/simpletest/parser.php
X%%PEARDIR%%/simpletest/remote.php
X%%PEARDIR%%/simpletest/reporter.php
X%%PEARDIR%%/simpletest/scorer.php
X%%PEARDIR%%/simpletest/shell_tester.php
X%%PEARDIR%%/simpletest/simple_test.php
X%%PEARDIR%%/simpletest/socket.php
X%%PEARDIR%%/simpletest/tag.php
X%%PEARDIR%%/simpletest/unit_tester.php
X%%PEARDIR%%/simpletest/url.php
X%%PEARDIR%%/simpletest/user_agent.php
X%%PEARDIR%%/simpletest/web_tester.php
X%%PEARDIR%%/simpletest/xml.php
X%%PORTDOCS%%%%DOCSDIR%%/HELP_MY_TESTS_DONT_WORK_ANYMORE
X%%PORTDOCS%%%%DOCSDIR%%/LICENSE
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/VERSION
X%%PORTDOCS%%%%DOCSDIR%%/expectation_documentation.html
X%%PORTDOCS%%%%DOCSDIR%%/form_testing_documentation.html
X%%PORTDOCS%%%%DOCSDIR%%/group_test_documentation.html
X%%PORTDOCS%%%%DOCSDIR%%/index.html
X%%PORTDOCS%%%%DOCSDIR%%/mock_objects_documentation.html
X%%PORTDOCS%%%%DOCSDIR%%/overview.html
X%%PORTDOCS%%%%DOCSDIR%%/partial_mocks_documentation.html
X%%PORTDOCS%%%%DOCSDIR%%/reporter_documentation.html
X%%PORTDOCS%%%%DOCSDIR%%/server_stubs_documentation.html
X%%PORTDOCS%%%%DOCSDIR%%/unit_test_documentation.html
X%%PORTDOCS%%%%DOCSDIR%%/web_tester_documentation.html
X%%DATADIR%%/test/acceptance_test.php
X%%DATADIR%%/test/adapter_test.php
X%%DATADIR%%/test/all_tests.php
X%%DATADIR%%/test/authentication_test.php
X%%DATADIR%%/test/browser_test.php
X%%DATADIR%%/test/dumper_test.php
X%%DATADIR%%/test/errors_test.php
X%%DATADIR%%/test/expectation_test.php
X%%DATADIR%%/test/form_test.php
X%%DATADIR%%/test/frames_test.php
X%%DATADIR%%/test/http_test.php
X%%DATADIR%%/test/live_test.php
X%%DATADIR%%/test/options_test.php
X%%DATADIR%%/test/page_test.php
X%%DATADIR%%/test/parser_test.php
X%%DATADIR%%/test/real_sites_test.php
X%%DATADIR%%/test/remote_test.php
X%%DATADIR%%/test/shell_test.php
X%%DATADIR%%/test/shell_tester_test.php
X%%DATADIR%%/test/simple_mock_test.php
X%%DATADIR%%/test/socket_test.php
X%%DATADIR%%/test/tag_test.php
X%%DATADIR%%/test/unit_tests.php
X%%DATADIR%%/test/url_test.php
X%%DATADIR%%/test/user_agent_test.php
X%%DATADIR%%/test/visual_test.php
X%%DATADIR%%/test/web_tester_test.php
X%%DATADIR%%/test/xml_test.php
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X@dirrm %%DATADIR%%/test
X@dirrm %%DATADIR%%
X@dirrm %%PEARDIR%%/simpletest/extensions
X@dirrm %%PEARDIR%%/simpletest
X@unexec rmdir %D/%%PEARDIR%% 2>/dev/null || true
END-of-devel/simpletest/pkg-plist
exit
--- devel::simpletest-1.0RC1.patch ends here ---


>Release-Note:
>Audit-Trail:

From: Gerrit Beine <tux@pinguru.net>
To: Roman Neuhauser <neuhauser@chello.cz>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/72061: [New Port] SimpleTest 1.0RC1, PHP unit testing	framework
Date: Fri, 24 Sep 2004 17:49:59 +0200

 Roman Neuhauser wrote:
 > 
 >>Description:
 > 
 > See the attached shar. SimpleTest is not exactly a PEAR package, but
 > I have it installed in `${PHP_CONFIG} --prefix` anyway. Makes sense IMO.
 > 
 Hi,
 
 long time ago, I've sent a request with a port of simple test.
 
 Here's the link:
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/70775
 
 So long...
 
 Gerrit
 -- 
 Der einfachste Weg zum Herzen einer Frau ist Aufrichtigkeit.
 Wenn Du die vorteuschen kannst, dann hast Du es schon geschafft.
 
 mail tux@pinguru.net
 icq  123851585
 web  http://arme-und-beine.de

From: Roman Neuhauser <neuhauser@chello.cz>
To: Gerrit Beine <tux@pinguru.net>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/72061: [New Port] SimpleTest 1.0RC1, PHP unit testing	framework
Date: Fri, 24 Sep 2004 18:02:45 +0200

 # tux@pinguru.net / 2004-09-24 17:49:59 +0200:
 > Roman Neuhauser wrote:
 > >>Description:
 > >
 > >See the attached shar. SimpleTest is not exactly a PEAR package, but
 > >I have it installed in `${PHP_CONFIG} --prefix` anyway. Makes sense IMO.
 >
 > long time ago, I've sent a request with a port of simple test.
 > 
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/70775
 
     Do you want maintainership? I can request a close of this PR if
     you'd prefer to maintain the port yourself. We use the software here
     at work so I should be able to keep track of this software pretty
     closely, but don't mind either way.
 
 -- 
 FreeBSD 4.10-STABLE
 5:58PM up 8:32, 2 users, load averages: 0.06, 0.03, 0.01

From: Gerrit Beine <tux@pinguru.net>
To: Roman Neuhauser <neuhauser@chello.cz>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/72061: [New Port] SimpleTest 1.0RC1, PHP unit testing	framework
Date: Sat, 25 Sep 2004 09:42:40 +0200

 Roman Neuhauser wrote:
 >     I can see now that this question wasn't very clear; what I meant
 >     is what do you think about my version from the PEAR-compliance
 >     side.
 > 
 I miss the package.xml, that's all ;-)
 
 So long...
 
 Indy
 -- 
 Der einfachste Weg zum Herzen einer Frau ist Aufrichtigkeit.
 Wenn Du die vorteuschen kannst, dann hast Du es schon geschafft.
 
 mail tux@pinguru.net
 icq  123851585
 web  http://arme-und-beine.de
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Tue Dec 21 23:14:34 GMT 2004 
State-Changed-Why:  
Committed, thanks! 
Sorry for the delay 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72061 
>Unformatted:
