aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2012-01-10 23:23:26 +0800
committerale <ale@FreeBSD.org>2012-01-10 23:23:26 +0800
commit671b46dd01de224f8d28f84951da2253611cab78 (patch)
tree88c082c11e1c1f1ddd2cd3214b6df0a5a3ec86e4 /textproc
parentc1e775b7e2f77e382504be1a746eef3958e8c51f (diff)
downloadfreebsd-ports-gnome-671b46dd01de224f8d28f84951da2253611cab78.tar.gz
freebsd-ports-gnome-671b46dd01de224f8d28f84951da2253611cab78.tar.zst
freebsd-ports-gnome-671b46dd01de224f8d28f84951da2253611cab78.zip
Update to 1.4.2 release.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/xstream/Makefile24
-rw-r--r--textproc/xstream/distinfo4
-rw-r--r--textproc/xstream/files/patch-build.xml12
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>
-