diff options
author | hq <hq@FreeBSD.org> | 2006-06-22 06:16:05 +0800 |
---|---|---|
committer | hq <hq@FreeBSD.org> | 2006-06-22 06:16:05 +0800 |
commit | 8d8bec82681bb8d36995b9c1def44b3c54f1689b (patch) | |
tree | d5deea2e8c2262dfbaeedc8a435a5442a93c99d1 /textproc/xpp3 | |
parent | fc72e71309c7c9f6ee4b929a22302734089942bb (diff) | |
download | freebsd-ports-gnome-8d8bec82681bb8d36995b9c1def44b3c54f1689b.tar.gz freebsd-ports-gnome-8d8bec82681bb8d36995b9c1def44b3c54f1689b.tar.zst freebsd-ports-gnome-8d8bec82681bb8d36995b9c1def44b3c54f1689b.zip |
- Update to 1.1.3_8 [1]
- Remove deprecated patch (fix for Java 1.5)
Reported by: portscout [1]
Diffstat (limited to 'textproc/xpp3')
-rw-r--r-- | textproc/xpp3/Makefile | 8 | ||||
-rw-r--r-- | textproc/xpp3/distinfo | 6 | ||||
-rw-r--r-- | textproc/xpp3/files/patch-java1.5 | 38 |
3 files changed, 7 insertions, 45 deletions
diff --git a/textproc/xpp3/Makefile b/textproc/xpp3/Makefile index e805cdd6707f..985a978b86de 100644 --- a/textproc/xpp3/Makefile +++ b/textproc/xpp3/Makefile @@ -6,11 +6,11 @@ # PORTNAME= xpp3 -PORTVERSION= 1.1.3.4.M +DISTVERSION= 1.1.3_8 PORTEPOCH= 1 CATEGORIES= textproc java MASTER_SITES= http://www.extreme.indiana.edu/dist/java-repository/xpp3/distributions/ -DISTNAME= ${PORTNAME}-${PORTVERSION}_src +DISTNAME= ${PORTNAME}-${DISTVERSION}_src EXTRACT_SUFX= .tgz MAINTAINER= hq@FreeBSD.org @@ -22,7 +22,7 @@ RUN_DEPENDS= ${JAVAJARDIR}/xmlpull.jar:${PORTSDIR}/textproc/xmlpull USE_JAVA= yes JAVA_VERSION= 1.3+ -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} USE_ANT= yes ALL_TARGET= jar @@ -31,7 +31,7 @@ MAKE_ARGS= -Djavadoc_packages=org.xmlpull.mxp1 ALL_TARGET+= javadoc PORTDOCS= api_impl ABOUT.txt THANKS.txt TODO.html build.txt changes.html faq.html .endif -JARFILE= ${PORTNAME}-${PORTVERSION}.jar +JARFILE= ${PORTNAME}-${DISTVERSION}.jar DESTJARFILE= ${PORTNAME}.jar PLIST_FILES= %%JAVAJARDIR%%/${DESTJARFILE} diff --git a/textproc/xpp3/distinfo b/textproc/xpp3/distinfo index e24dbbc712b5..35d307d44665 100644 --- a/textproc/xpp3/distinfo +++ b/textproc/xpp3/distinfo @@ -1,3 +1,3 @@ -MD5 (xpp3-1.1.3.4.M_src.tgz) = 4f3c02abb76368ff29e3bbc30f067dad -SHA256 (xpp3-1.1.3.4.M_src.tgz) = e0fd7fd8a681c736097546fbcdbc1999f8ce75cef7178c076a10506ea5f38eff -SIZE (xpp3-1.1.3.4.M_src.tgz) = 567986 +MD5 (xpp3-1.1.3_8_src.tgz) = 6d1847c8c71cf4eb01d20c38bb3afc58 +SHA256 (xpp3-1.1.3_8_src.tgz) = 1a8d08734fd18d07c069710d02dcfe57977881ee3924ffca12104d72da12c6ed +SIZE (xpp3-1.1.3_8_src.tgz) = 571719 diff --git a/textproc/xpp3/files/patch-java1.5 b/textproc/xpp3/files/patch-java1.5 deleted file mode 100644 index a87c0c025e16..000000000000 --- a/textproc/xpp3/files/patch-java1.5 +++ /dev/null @@ -1,38 +0,0 @@ -$FreeBSD$ - -With Java 1.5, 'enum' is a keyword - ---- src/java/xpath/org/xmlpull/v1/builder/xpath/jaxen/function/ext/LocaleFunctionSupport.java.orig Sat Apr 15 02:21:03 2006 -+++ src/java/xpath/org/xmlpull/v1/builder/xpath/jaxen/function/ext/LocaleFunctionSupport.java Sat Apr 15 02:21:40 2006 -@@ -130,24 +130,24 @@ - * be found - */ - protected Locale findLocale(String localeText) { -- StringTokenizer enum = new StringTokenizer( localeText, "-" ); -- if (enum.hasMoreTokens()) -+ StringTokenizer _enum = new StringTokenizer( localeText, "-" ); -+ if (_enum.hasMoreTokens()) - { -- String language = enum.nextToken(); -- if (! enum.hasMoreTokens()) -+ String language = _enum.nextToken(); -+ if (! _enum.hasMoreTokens()) - { - return findLocaleForLanguage(language); - } - else - { -- String country = enum.nextToken(); -- if (! enum.hasMoreTokens()) -+ String country = _enum.nextToken(); -+ if (! _enum.hasMoreTokens()) - { - return new Locale(language, country); - } - else - { -- String variant = enum.nextToken(); -+ String variant = _enum.nextToken(); - return new Locale(language, country, variant); - } - } |