[32813] trunk/dports/java

nox at macports.org nox at macports.org
Sun Jan 13 17:16:15 PST 2008


Revision: 32813
          http://trac.macosforge.org/projects/macports/changeset/32813
Author:   nox at macports.org
Date:     2008-01-13 17:16:14 -0800 (Sun, 13 Jan 2008)

Log Message:
-----------
hamcrest-core: New port.

Added Paths:
-----------
    trunk/dports/java/hamcrest-core/
    trunk/dports/java/hamcrest-core/Portfile

Added: trunk/dports/java/hamcrest-core/Portfile
===================================================================
--- trunk/dports/java/hamcrest-core/Portfile	                        (rev 0)
+++ trunk/dports/java/hamcrest-core/Portfile	2008-01-14 01:16:14 UTC (rev 32813)
@@ -0,0 +1,47 @@
+# $Id$
+
+PortSystem      1.0
+
+name            hamcrest-core
+set my_name     hamcrest
+version         1.1
+categories      java devel
+platforms       darwin
+maintainers     nox
+description     library of matchers for building test expressions
+
+long_description \
+    Provides a library of matcher objects (also known as constraints \
+    or predicates) allowing 'match' rules to be defined declaratively, \
+    to be used in other frameworks. Typical scenarios include testing \
+    frameworks, mocking libraries and UI validation rules.
+
+homepage        http://code.google.com/p/hamcrest/
+master_sites    googlecode:${my_name}
+dist_subdir     ${my_name}
+distname        ${my_name}-${version}
+extract.suffix  .tgz
+
+checksums       md5 1bd4fd301c1a0dc748082378a59cb281 \
+                sha1 e7c8511e3702545eb50b38e5aa2c3d887d8393ef \
+                rmd160 6b1a6a5ca753b965ee1a3260db654c2405498213
+
+depends_build   port:apache-ant
+
+use_configure   no
+
+build.cmd       ant
+build.target    core
+build.args      -Dversion=${version}
+
+destroot {
+    set javadir ${prefix}/share/java
+    set docdir ${prefix}/share/doc/${name}-${version}
+    
+    xinstall -d ${destroot}${javadir} ${destroot}${docdir}
+    xinstall -m 0644 ${worksrcpath}/build/hamcrest-core-1.1.jar ${destroot}${javadir}/hamcrest-core.jar
+    xinstall -m 0644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \
+        ${destroot}${docdir}
+}   
+
+universal_variant   no


Property changes on: trunk/dports/java/hamcrest-core/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080113/0a8a753d/attachment.html


More information about the macports-changes mailing list