|
|||||||||
Saturday the 7th of November, 2009 |
|||||||||
junit most recent diffversion 4.6
Scroll down toward the bottom of the page to get installation instructions for junit. The raw portfile for junit 4.6 is located here: http://junit.darwinports.com/dports/java/junit/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/junit # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 The junit Portfile 52234 2009-06-12 20:20:09Z nox PortSystem 1.0 Name: junit Version: 4.6 Revision: 1 Category: java devel Platform: darwin Maintainers: nox openmaintainer Description: Java framework for repeatable tests Long Description: JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks. Homepage: http://www.junit.org/ Master Sites: sourceforge distname ${name}${version} use_zip yes Checksums: md5 2e59ed558001fd3b10d2146189167ff5 sha1 98c8c625e999f0c7463397a684a5c47a0ea106e3 rmd160 4f87024e91b7252af89ad925db5cda0e17128525 Patch Files: patch-build.xml.diff patch-src-main-java-org-junit-matchers-package-info.java.diff patch-hamcrest-1.2-upgrade.diff post-extract { file mkdir ${worksrcpath}/src/main/java system "cd ${worksrcpath}/src/main/java && jar xvf ${worksrcpath}/${name}-${version}-src.jar" } depends_build bin:ant:apache-ant depends_lib port:hamcrest-core use_configure no build.cmd ant build.target build build.args -Dprefix=${prefix} -Dtestsrc=org/junit/tests -Ddist=. set docdir ${prefix}/share/doc/${name}-${version} set javadir ${prefix}/share/java set junitpkg junit.jar destroot { system "jar cvf ${worksrcpath}/${junitpkg} -C ${worksrcpath}/target/main ." xinstall -d ${destroot}${javadir} ${destroot}${docdir} xinstall -m 0644 ${worksrcpath}/${junitpkg} ${destroot}${javadir} copy ${worksrcpath}/doc ${destroot}${docdir}/html } Variant: doc description {Install extra documentation} { build.target-append javadoc post-destroot { file copy ${worksrcpath}/javadoc ${destroot}${docdir}/ } } universal_variant no If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/junitYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using junit with these commands: % man junit Where to find more information:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |




