Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 2013 14:48:43 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r328572 - head/devel/simpletest
Message-ID:  <201309281448.r8SEmhXZ021113@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sat Sep 28 14:48:43 2013
New Revision: 328572
URL: http://svnweb.freebsd.org/changeset/ports/328572

Log:
  - Change maintainer email to @FreeBSD.org
  - Add stage support
  - Silent mkdir
  - Add pkg-plist file
  
  Approved by:	wg (mentor)

Added:
  head/devel/simpletest/pkg-plist   (contents, props changed)
Modified:
  head/devel/simpletest/Makefile

Modified: head/devel/simpletest/Makefile
==============================================================================
--- head/devel/simpletest/Makefile	Sat Sep 28 14:46:25 2013	(r328571)
+++ head/devel/simpletest/Makefile	Sat Sep 28 14:48:43 2013	(r328572)
@@ -7,7 +7,7 @@ CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}_${PORTVERSION:C/\.0//}
 DISTNAME=	${PORTNAME:L}_${PORTVERSION}
 
-MAINTAINER=	danilogondolfo@gmail.com
+MAINTAINER=	danilo@FreeBSD.org
 COMMENT=	Unit testing, mock objects, and web testing framework for PHP
 
 LICENSE=	LGPL21
@@ -21,43 +21,21 @@ WRKSRC=		${WRKDIR}/${PORTNAME:L}
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
 DOCFILES=	HELP_MY_TESTS_DONT_WORK_ANYMORE README
 HTMLDOCFILES=	docs/en/*
-.endif
-
 DATAFILES=	*.php extensions test LICENSE VERSION
 
 do-install:
-	${MKDIR} ${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}
 	cd ${WRKSRC}/ \
-	  && ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \; \
-	  && ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${MKDIR} ${DOCSDIR}/html
+	  && ${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} ${DOCSDIR}
+	${CP} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
 .for file in ${HTMLDOCFILES}
-	${CP} ${WRKSRC}/${file} ${DOCSDIR}/html
+	${CP} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}/html
 .endfor
-.endif
-
-post-install:
-	@${FIND} -s ${DATAFILES:S,^,${WRKSRC}/,} -not -type d \
-	  | ${SED} -ne 's,^${WRKSRC},${DATADIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
-	@${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 ${PORT_OPTIONS:MDOCS}
-	@${FIND} -s ${DOCSDIR} -not -type d \
-	  | ${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST}
-	@${FIND} -s -d ${DOCSDIR} -type d \
-	  | ${SED} -ne 's,^${PREFIX}/,@dirrm ,p' >> ${TMPPLIST}
-.endif
 
 .include <bsd.port.mk>

Added: head/devel/simpletest/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/simpletest/pkg-plist	Sat Sep 28 14:48:43 2013	(r328572)
@@ -0,0 +1,127 @@
+%%PORTDOCS%%%%DOCSDIR%%/HELP_MY_TESTS_DONT_WORK_ANYMORE
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/html/authentication_documentation.html
+%%PORTDOCS%%%%DOCSDIR%%/html/browser_documentation.html
+%%PORTDOCS%%%%DOCSDIR%%/html/docs.css
+%%PORTDOCS%%%%DOCSDIR%%/html/expectation_documentation.html
+%%PORTDOCS%%%%DOCSDIR%%/html/form_testing_documentation.html
+%%PORTDOCS%%%%DOCSDIR%%/html/group_test_documentation.html
+%%PORTDOCS%%%%DOCSDIR%%/html/index.html
+%%PORTDOCS%%%%DOCSDIR%%/html/mock_objects_documentation.html
+%%PORTDOCS%%%%DOCSDIR%%/html/overview.html
+%%PORTDOCS%%%%DOCSDIR%%/html/partial_mocks_documentation.html
+%%PORTDOCS%%%%DOCSDIR%%/html/reporter_documentation.html
+%%PORTDOCS%%%%DOCSDIR%%/html/unit_test_documentation.html
+%%PORTDOCS%%%%DOCSDIR%%/html/web_tester_documentation.html
+%%DATADIR%%/LICENSE
+%%DATADIR%%/VERSION
+%%DATADIR%%/arguments.php
+%%DATADIR%%/authentication.php
+%%DATADIR%%/autorun.php
+%%DATADIR%%/browser.php
+%%DATADIR%%/collector.php
+%%DATADIR%%/compatibility.php
+%%DATADIR%%/cookies.php
+%%DATADIR%%/default_reporter.php
+%%DATADIR%%/detached.php
+%%DATADIR%%/dumper.php
+%%DATADIR%%/eclipse.php
+%%DATADIR%%/encoding.php
+%%DATADIR%%/errors.php
+%%DATADIR%%/exceptions.php
+%%DATADIR%%/expectation.php
+%%DATADIR%%/extensions/pear_test_case.php
+%%DATADIR%%/extensions/testdox.php
+%%DATADIR%%/extensions/testdox/test.php
+%%DATADIR%%/form.php
+%%DATADIR%%/frames.php
+%%DATADIR%%/http.php
+%%DATADIR%%/invoker.php
+%%DATADIR%%/mock_objects.php
+%%DATADIR%%/page.php
+%%DATADIR%%/php_parser.php
+%%DATADIR%%/recorder.php
+%%DATADIR%%/reflection_php4.php
+%%DATADIR%%/reflection_php5.php
+%%DATADIR%%/remote.php
+%%DATADIR%%/reporter.php
+%%DATADIR%%/scorer.php
+%%DATADIR%%/selector.php
+%%DATADIR%%/shell_tester.php
+%%DATADIR%%/simpletest.php
+%%DATADIR%%/socket.php
+%%DATADIR%%/tag.php
+%%DATADIR%%/test/acceptance_test.php
+%%DATADIR%%/test/adapter_test.php
+%%DATADIR%%/test/all_tests.php
+%%DATADIR%%/test/arguments_test.php
+%%DATADIR%%/test/authentication_test.php
+%%DATADIR%%/test/autorun_test.php
+%%DATADIR%%/test/bad_test_suite.php
+%%DATADIR%%/test/browser_test.php
+%%DATADIR%%/test/collector_test.php
+%%DATADIR%%/test/command_line_test.php
+%%DATADIR%%/test/compatibility_test.php
+%%DATADIR%%/test/cookies_test.php
+%%DATADIR%%/test/detached_test.php
+%%DATADIR%%/test/dumper_test.php
+%%DATADIR%%/test/eclipse_test.php
+%%DATADIR%%/test/encoding_test.php
+%%DATADIR%%/test/errors_test.php
+%%DATADIR%%/test/exceptions_test.php
+%%DATADIR%%/test/expectation_test.php
+%%DATADIR%%/test/form_test.php
+%%DATADIR%%/test/frames_test.php
+%%DATADIR%%/test/http_test.php
+%%DATADIR%%/test/interfaces_test.php
+%%DATADIR%%/test/interfaces_test_php5_1.php
+%%DATADIR%%/test/live_test.php
+%%DATADIR%%/test/mock_objects_test.php
+%%DATADIR%%/test/page_test.php
+%%DATADIR%%/test/parse_error_test.php
+%%DATADIR%%/test/parsing_test.php
+%%DATADIR%%/test/php_parser_test.php
+%%DATADIR%%/test/recorder_test.php
+%%DATADIR%%/test/reflection_php5_test.php
+%%DATADIR%%/test/remote_test.php
+%%DATADIR%%/test/shell_test.php
+%%DATADIR%%/test/shell_tester_test.php
+%%DATADIR%%/test/simpletest_test.php
+%%DATADIR%%/test/site/file.html
+%%DATADIR%%/test/socket_test.php
+%%DATADIR%%/test/support/collector/collectable.1
+%%DATADIR%%/test/support/collector/collectable.2
+%%DATADIR%%/test/support/empty_test_file.php
+%%DATADIR%%/test/support/failing_test.php
+%%DATADIR%%/test/support/latin1_sample
+%%DATADIR%%/test/support/passing_test.php
+%%DATADIR%%/test/support/recorder_sample.php
+%%DATADIR%%/test/support/spl_examples.php
+%%DATADIR%%/test/support/supplementary_upload_sample.txt
+%%DATADIR%%/test/support/test1.php
+%%DATADIR%%/test/support/upload_sample.txt
+%%DATADIR%%/test/tag_test.php
+%%DATADIR%%/test/test_with_parse_error.php
+%%DATADIR%%/test/unit_tester_test.php
+%%DATADIR%%/test/unit_tests.php
+%%DATADIR%%/test/url_test.php
+%%DATADIR%%/test/user_agent_test.php
+%%DATADIR%%/test/visual_test.php
+%%DATADIR%%/test/web_tester_test.php
+%%DATADIR%%/test/xml_test.php
+%%DATADIR%%/test_case.php
+%%DATADIR%%/tidy_parser.php
+%%DATADIR%%/unit_tester.php
+%%DATADIR%%/url.php
+%%DATADIR%%/user_agent.php
+%%DATADIR%%/web_tester.php
+%%DATADIR%%/xml.php
+@dirrmtry %%DATADIR%%/test/support/collector
+@dirrmtry %%DATADIR%%/test/support
+@dirrmtry %%DATADIR%%/test/site
+@dirrmtry %%DATADIR%%/test
+@dirrmtry %%DATADIR%%/extensions/testdox
+@dirrmtry %%DATADIR%%/extensions
+@dirrmtry %%DATADIR%%
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/html
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309281448.r8SEmhXZ021113>