[Bug 195464] New port: devel/PHPUnit4 - a unit testframework for php

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 4 17:33:39 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195464

fullermd at over-yonder.net changed:

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

--- Comment #1 from fullermd at 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.


More information about the freebsd-ports-bugs mailing list