diff options
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/xstream/Makefile | 24 | ||||
-rw-r--r-- | textproc/xstream/distinfo | 4 | ||||
-rw-r--r-- | textproc/xstream/files/patch-build.xml | 12 |
3 files changed, 12 insertions, 28 deletions
diff --git a/textproc/xstream/Makefile b/textproc/xstream/Makefile index 55fd53d8ad72..879779082fa5 100644 --- a/textproc/xstream/Makefile +++ b/textproc/xstream/Makefile @@ -6,37 +6,33 @@ # PORTNAME= xstream -PORTVERSION= 1.3.1 +PORTVERSION= 1.4.2 CATEGORIES= textproc java MASTER_SITES= https://nexus.codehaus.org/content/repositories/releases/com/thoughtworks/xstream/xstream-distribution/${PORTVERSION}/ -DISTNAME= ${PORTNAME}-distribution-${PORTVERSION}-src +DISTFILES= ${PORTNAME}-distribution-${PORTVERSION}-bin${EXTRACT_SUFX} MAINTAINER= ale@FreeBSD.org COMMENT= A simple library to serialize Java objects to XML -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME} +LICENSE= BSD +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + USE_ZIP= yes USE_JAVA= yes -USE_ANT= yes -ALL_TARGET= jar +NO_BUILD= yes PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar -.if !defined(NOPORTDOCS) -OTHERDOCS= LICENSE.txt README.txt -PORTDOCS= javadoc ${OTHERDOCS} -ALL_TARGET+= javadoc -.endif + +PORTDOCS= * do-install: @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..." - @${INSTALL_DATA} ${WRKSRC}/target/${PORTNAME}-SNAPSHOT.jar ${JAVAJARDIR}/${PORTNAME}.jar + @${INSTALL_DATA} ${WRKSRC}/lib/${DISTNAME}.jar ${JAVAJARDIR}/${PORTNAME}.jar @${ECHO_MSG} " [ DONE ]" .if !defined(NOPORTDOCS) @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." @${MKDIR} ${DOCSDIR} - @cd ${WRKSRC}/target/ && ${FIND} javadoc \ - | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1 - @${INSTALL_DATA} ${OTHERDOCS:S,^,${WRKSRC}/../,} ${DOCSDIR}/ + @${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}/ @${ECHO_MSG} " [ DONE ]" .endif diff --git a/textproc/xstream/distinfo b/textproc/xstream/distinfo index ce9979061122..41d48abfcd37 100644 --- a/textproc/xstream/distinfo +++ b/textproc/xstream/distinfo @@ -1,2 +1,2 @@ -SHA256 (xstream-distribution-1.3.1-src.zip) = df645ea4e2e16c4a149fb45966ea50d48b54776ead4727837348195daad94f6b -SIZE (xstream-distribution-1.3.1-src.zip) = 7505723 +SHA256 (xstream-distribution-1.4.2-bin.zip) = 0b295debdab24f7e9e2a6b4d53d707a13f132f758126575ac65908cbe6f1aa3f +SIZE (xstream-distribution-1.4.2-bin.zip) = 7011879 diff --git a/textproc/xstream/files/patch-build.xml b/textproc/xstream/files/patch-build.xml deleted file mode 100644 index 5f6868451f6b..000000000000 --- a/textproc/xstream/files/patch-build.xml +++ /dev/null @@ -1,12 +0,0 @@ ---- build.xml.orig 2008-10-14 17:50:58.000000000 +0200 -+++ build.xml 2008-10-14 17:51:26.000000000 +0200 -@@ -146,9 +146,6 @@ - <jar jarfile="${build.dir}/xstream-${version}.jar"> - <fileset dir="${java.build.dir}"/> - </jar> -- <jar jarfile="${build.dir}/xstream-benchmark-${version}.jar"> -- <fileset dir="${benchmark.build.dir}"/> -- </jar> - <antcall target="jdk-check"/> - </target> - |