[38404] trunk/dports/java/jna/Portfile

blair at macports.org blair at macports.org
Fri Jul 18 10:43:35 PDT 2008


Revision: 38404
          http://trac.macosforge.org/projects/macports/changeset/38404
Author:   blair at macports.org
Date:     2008-07-18 10:43:35 -0700 (Fri, 18 Jul 2008)
Log Message:
-----------
* java/jna/Portfile:
  Use the standard fetch mechanism to get jna.jar.

Modified Paths:
--------------
    trunk/dports/java/jna/Portfile

Modified: trunk/dports/java/jna/Portfile
===================================================================
--- trunk/dports/java/jna/Portfile	2008-07-18 17:20:49 UTC (rev 38403)
+++ trunk/dports/java/jna/Portfile	2008-07-18 17:43:35 UTC (rev 38404)
@@ -23,7 +23,7 @@
 
 homepage		https://jna.dev.java.net/
 
-master_sites		'https://${name}.dev.java.net/source/browse/*checkout*/${name}/tags/${version}/jnalib/dist/'
+master_sites		${homepage}source/browse/*checkout*/${name}/tags/${version}/jnalib/dist/
 distfiles		${name}.jar
 fetch.ignore_sslcert	yes
 extract.only
@@ -36,12 +36,6 @@
 
 use_configure		no
 
-fetch {
-	system "curl -v -k 'https://${name}.dev.java.net/source/browse/*checkout*/${name}/tags/${version}/jnalib/dist/jna.jar' -o ${distpath}/${name}.jar.TMP"
-	file delete -force ${distpath}/${name}.jar
-	file rename ${distpath}/${name}.jar.TMP ${distpath}/${name}.jar
-}
-
 build { }
 
 destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080718/dfa86fb2/attachment.html 


More information about the macports-changes mailing list