Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Feb 2015 17:33:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 195464] New port: devel/PHPUnit4 - a unit testframework for php
Message-ID:  <bug-195464-13-ZNJ3OXMkOj@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-195464-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-195464-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195464

fullermd@over-yonder.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fullermd@over-yonder.net

--- Comment #1 from fullermd@over-yonder.net ---
I for one would very much like to see this brought in.

Here's an adjusted version with some changes I suggest:

- Just call it 'phpunit'; the mixed-case name just makes things harder, and the
version number in the directory would only become necessary if we start
carrying multiple versions.  We can deal with that if it ever happens.

- Correct LICENSE.

- Adjust the "build" process in a few ways.
  - Use INSTALL_SCRIPT instead of INSTALL_PROGRAM + messing with STRIP
  - Use an explicit do-extract target override, rather than EXTRACT_ONLY fakery
to avoid doing any extraction, and then extra ugliness by overriding WRKSRC to
point at DISTDIR.  Ugh.
  - Explicitly copying into WRKDIR in a custom do-extract, then
INSTALL_SCRIPT'ing in a custom do-install, is IMO a lot cleaner and most
self-documenting.

- Update to the now-current version, since this submission is a couple months
old now.  (I note that the next minor version is actually due in the next
couple days).


This installs cleanly on my system, and runs/passes/fails some of my phpunit
tests as expected in some quick testing.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195464-13-ZNJ3OXMkOj>