Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Dec 2016 12:09:27 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r429409 - in head/devel/jna: . files
Message-ID:  <201612251209.uBPC9RLa091049@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Sun Dec 25 12:09:27 2016
New Revision: 429409
URL: https://svnweb.freebsd.org/changeset/ports/429409

Log:
  1: Upgrade to 4.2.2.
  2: pet portlint.
  3: s/LICENSE_FOLE/LICENSE_FILE/

Modified:
  head/devel/jna/Makefile
  head/devel/jna/distinfo
  head/devel/jna/files/patch-build.xml
  head/devel/jna/files/patch-native_Makefile

Modified: head/devel/jna/Makefile
==============================================================================
--- head/devel/jna/Makefile	Sun Dec 25 11:28:58 2016	(r429408)
+++ head/devel/jna/Makefile	Sun Dec 25 12:09:27 2016	(r429409)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	jna
-PORTVERSION=	4.1.0
+PORTVERSION=	4.2.2
 CATEGORIES=	devel java
 
 MAINTAINER=	ports@FreeBSD.org
@@ -9,18 +9,18 @@ COMMENT=	Java access to native shared li
 
 LICENSE=	LGPL21+ APACHE20
 LICENSE_COMB=	dual
-LICENSE_FOLE=	${WRKSRC}/LICENSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 LICENSE_FILE_LGPL21+ =	${WRKSRC}/LGPL2.1
 LICENSE_FILE_APACHE20=	${WRKSRC}/ASL2.0
 
 BROKEN_FreeBSD_9_i386=	does not build
 
-USES=		gmake
+USES=		autoreconf:build gmake libtool
 USE_ANT=	yes
 USE_JAVA=	yes
 USE_XORG=	x11 xt
 MAKE_ARGS=	-DCC="${CC}" -DLD="${LD}"
-MAKE_ENV=      ANT_OPTS=-Drelease -DARCH=${ANT_ARCH}
+MAKE_ENV=	ANT_OPTS=-Drelease -DARCH=${ANT_ARCH}
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	twall

Modified: head/devel/jna/distinfo
==============================================================================
--- head/devel/jna/distinfo	Sun Dec 25 11:28:58 2016	(r429408)
+++ head/devel/jna/distinfo	Sun Dec 25 12:09:27 2016	(r429409)
@@ -1,2 +1,3 @@
-SHA256 (twall-jna-4.1.0_GH0.tar.gz) = 0e014a162fb0525afdf6803e854e333e649eb3a980c8649ea41f139cce04d43f
-SIZE (twall-jna-4.1.0_GH0.tar.gz) = 52993397
+TIMESTAMP = 1482632331
+SHA256 (twall-jna-4.2.2_GH0.tar.gz) = 46330123be97fa5c11b1747c74470a39f2b1a3396d66fd6ead4d034660eb094a
+SIZE (twall-jna-4.2.2_GH0.tar.gz) = 58638853

Modified: head/devel/jna/files/patch-build.xml
==============================================================================
--- head/devel/jna/files/patch-build.xml	Sun Dec 25 11:28:58 2016	(r429408)
+++ head/devel/jna/files/patch-build.xml	Sun Dec 25 12:09:27 2016	(r429409)
@@ -1,29 +1,19 @@
---- ./build.xml.orig
-+++ ./build.xml
+--- build.xml.orig	2016-03-16 14:37:28 UTC
++++ build.xml
 @@ -99,7 +99,7 @@
    <condition property="test.compatibility" value="1.5" else="${compatibility}">
      <equals arg1="${compatibility}" arg2="1.4"/>
    </condition>
--  <condition property="tests.exclude-patterns" value="**/VarArgsTest.java,**/AnnotatedLibraryTest.java,**/WebStartTest.java,**/PointerBufferTest.java,**/HeadlessLoadLibraryTest.java,**/StructureBufferFieldTest.java,**/PerformanceTest.java,**/*BufferArgumentsMarshalTest.java" else="**/wince/*.java">
-+  <condition property="tests.exclude-patterns" value="**/VarArgsTest.java,**/AnnotatedLibraryTest.java,**/WebStartTest.java,**/PointerBufferTest.java,**/HeadlessLoadLibraryTest.java,**/StructureBufferFieldTest.java,**/PerformanceTest.java,**/*BufferArgumentsMarshalTest.java" else="**/wince/*.java **/LibraryLoadTest.java **/WebStartTest.java">
+-  <condition property="tests.exclude-patterns" value="**/VarArgsTest.java,**/AnnotatedLibraryTest.java,**/WebStartTest.java,**/PointerBufferTest.java,**/HeadlessLoadLibraryTest.java,**/StructureBufferFieldTest.java,**/PerformanceTest.java,**/*BufferArgumentsMarshalTest.java" else="**/wince/*.java,**/WebStartTest.java">
++  <condition property="tests.exclude-patterns" value="**/VarArgsTest.java,**/AnnotatedLibraryTest.java,**/WebStartTest.java,**/PointerBufferTest.java,**/HeadlessLoadLibraryTest.java,**/StructureBufferFieldTest.java,**/PerformanceTest.java,**/*BufferArgumentsMarshalTest.java" else="**/wince/*.java,**/WebStartTest.java,**/LibraryLoadTest.java">
      <equals arg1="${os.prefix}" arg2="w32ce-arm"/>
    </condition>
    <property name="dist-jar" value="${dist}/${jar}"/>
-@@ -805,9 +805,6 @@
-     <jar jarfile="${build}/jws/jnidispatch.jar">
-       <fileset dir="${build.native}" includes="*jnidispatch.*"/>
-     </jar>
--    <signjar alias="jna" keystore="jna.keystore" storepass="jnadev" lazy="true">
--      <fileset dir="${build}/jws" includes="${jar},${testjar},junit.jar,jnidispatch.jar,clover.jar"/>
--    </signjar>
-   </target>
- 
-   <target name="android-test-setup" depends="compile-tests"
-@@ -965,7 +962,6 @@
+@@ -1084,7 +1084,6 @@ osname=macosx;processor=x86;processor=x8
        <doctitle>JNA API Documentation</doctitle>
        <header>${header}</header>
        <bottom>${footer}</bottom>
--      <link href="http://download.oracle.com/javase/1.4.2/docs/api/"/>;
+-      <link href="http://download.oracle.com/javase/${compatibility}/docs/api/"/>;
  
        <packageset dir="${src}" defaultexcludes="yes">
          <patternset>

Modified: head/devel/jna/files/patch-native_Makefile
==============================================================================
--- head/devel/jna/files/patch-native_Makefile	Sun Dec 25 11:28:58 2016	(r429408)
+++ head/devel/jna/files/patch-native_Makefile	Sun Dec 25 12:09:27 2016	(r429409)
@@ -1,6 +1,6 @@
---- native/Makefile.orig	2014-03-06 11:06:40.000000000 -0500
-+++ native/Makefile	2014-03-12 17:29:37.000000000 -0400
-@@ -36,6 +36,8 @@
+--- native/Makefile.orig	2016-03-16 14:37:28 UTC
++++ native/Makefile
+@@ -39,6 +39,8 @@
  # protection simply by defining HAVE_PROTECTION.  This option has been only
  # been enabled for those platforms on which it has been tested successfully.
  
@@ -9,7 +9,7 @@
  OS=$(shell uname | sed -e 's/CYGWIN.*/win32/g' \
  	                -e 's/MINGW32.*/win32/g' \
                          -e 's/SunOS.*/solaris/g' \
-@@ -245,7 +247,7 @@
+@@ -270,7 +272,7 @@ endif
  ifneq (,$(findstring bsd,$(OS)))
  ARCH=$(shell uname -m | sed 's/i.86/i386/g')
  PCFLAGS+=-fPIC



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612251209.uBPC9RLa091049>