[38374] trunk/dports/java

William Siegrist wsiegrist at apple.com
Thu Jul 17 22:11:14 PDT 2008


This port fetches for me, but mirror fails.  Can you see if mirror  
works for you?

-Bill


On Jul 17, 2008, at 7:42 PM, blair at macports.org wrote:

> Revision38374Authorblair at macports.orgDate2008-07-17 19:42:21 -0700  
> (Thu, 17 Jul 2008)Log Message
> New port for Java Native Access 3.0.4.
> Added Paths
> 	• trunk/dports/java/jna/
> 	• trunk/dports/java/jna/Portfile
> Diff
> Added: trunk/dports/java/jna/Portfile (0 => 38374)
> --- trunk/dports/java/jna/Portfile	                        (rev 0)
> +++ trunk/dports/java/jna/Portfile	2008-07-18 02:42:21 UTC (rev 38374)
> @@ -0,0 +1,53 @@
> +# $Id$
> +
> +PortSystem 1.0
> +
> +name			jna
> +version			3.0.4
> +categories		java
> +platforms		darwin
> +maintainers		blair
> +description		Access to native shared libraries with pure Java code
> +
> +long_description	Java Native Access provides Java programs easy \
> +			access to native shared libraries (DLLs on Windows) \
> +			without writing anything but Java code - no JNI or \
> +			native code is required.  This functionality is \
> +			comparable to Windows' Platform/Invoke and Python's \
> +			ctypes.  Access is dynamic at runtime without code \
> +			generation.  JNA's design aims to provide native \
> +			access in a natural way with a minimum of effort.  \
> +			No boilerplate or generated code is required.  While \
> +			some attention is paid to performance, correctness \
> +			and ease of use take priority.
> +
> +homepage		https://jna.dev.java.net/
> +
> +master_sites		'https://${name}.dev.java.net/source/browse/ 
> *checkout*/${name}/tags/${version}/jnalib/dist/'
> +distfiles		${name}.jar
> +fetch.ignore_sslcert	yes
> +extract.only
> +
> +checksums		md5 7b6754e18e6145b7289c343a34c417e7 \
> +			sha1 2f348d9c132272434c910e15c25b6d1a06c7fd52 \
> +			rmd160 d1e264201808a2f9b16af49b1d319683135fe41c
> +
> +depends_lib		bin:java:kaffe
> +
> +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 {
> +	set javadir ${destroot}${prefix}/share/java
> +
> +	xinstall -d -m 755 ${javadir}
> +
> +	file copy ${distpath}/${name}.jar ${javadir}/
> +}
> Property changes on: trunk/dports/java/jna/Portfile
> ___________________________________________________________________
> Name: svn:keywords
>    + Id
> Name: svn:eol-style
>    + native
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-changes




----
William Siegrist
Mac OS Forge
http://macosforge.org/







-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2421 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/macports-dev/attachments/20080717/38ef9fbe/attachment.bin 


More information about the macports-dev mailing list