[50259] trunk/dports/java/hamcrest-core/Portfile

nox at macports.org nox at macports.org
Tue Apr 28 08:34:15 PDT 2009


Revision: 50259
          http://trac.macports.org/changeset/50259
Author:   nox at macports.org
Date:     2009-04-28 08:34:15 -0700 (Tue, 28 Apr 2009)
Log Message:
-----------
hamcrest-core:
Revert r50223, this port is called hamcrest-core and thus should install
only hamcrest-core, please create an hamcrest-library port if you need it.
By the way, this change broke junit port as it expects to find an hamcrest-core jar.

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

Modified: trunk/dports/java/hamcrest-core/Portfile
===================================================================
--- trunk/dports/java/hamcrest-core/Portfile	2009-04-28 15:32:53 UTC (rev 50258)
+++ trunk/dports/java/hamcrest-core/Portfile	2009-04-28 15:34:15 UTC (rev 50259)
@@ -1,12 +1,12 @@
 # -*- 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
-# $Id: Portfile 41686 2008-11-09 03:48:19Z nox at macports.org $
+# $Id$
 
 PortSystem      1.0
 
 name            hamcrest-core
 set my_name     hamcrest
 version         1.1
-revision        1
+revision        2
 categories      java devel
 platforms       darwin
 maintainers     nox openmaintainer
@@ -33,7 +33,7 @@
 use_configure   no
 
 build.cmd       ant
-build.target    bigjar
+build.target    core
 build.args      -Dversion=${version}
 
 destroot {
@@ -41,8 +41,7 @@
     set docdir ${prefix}/share/doc/${name}-${version}
     
     xinstall -d ${destroot}${javadir} ${destroot}${docdir}
-    xinstall -m 0644 ${worksrcpath}/build/hamcrest-core-${version}.jar ${destroot}${javadir}/hamcrest-core.jar
-    xinstall -m 0644 ${worksrcpath}/build/hamcrest-all-${version}.jar ${destroot}${javadir}/hamcrest-all.jar
+    xinstall -m 0644 ${worksrcpath}/build/${name}-${version}.jar ${destroot}${javadir}/${name}.jar
     xinstall -m 0644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \
         ${destroot}${docdir}
 }   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090428/092d8a51/attachment.html>


More information about the macports-changes mailing list