mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Update to 2.0.1.
This commit is contained in:
parent
18557d0d54
commit
ed81c957c1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=187627
@ -7,18 +7,22 @@
|
||||
#
|
||||
|
||||
PORTNAME= itext
|
||||
PORTVERSION= 1.4.8
|
||||
PORTVERSION= 2.0.1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= devel java
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${EXTRA_JARS}
|
||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= stefan@FreeBSD.org
|
||||
COMMENT= A Java-PDF Library
|
||||
|
||||
WRKSRC= ${WRKDIR}/src
|
||||
EXTRACT_AFTER_ARGS= | (${MKDIR} ${WRKSRC} && ${TAR} -xf - -C ${WRKSRC})
|
||||
USE_DOS2UNIX= yes
|
||||
DOS2UNIX_REGEX= .*\.xml
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.2+
|
||||
USE_ANT= yes
|
||||
@ -29,6 +33,13 @@ PORTDOCS= *
|
||||
.endif
|
||||
|
||||
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
|
||||
EXTRA_JARS= bcmail-jdk14-135.jar bcprov-jdk14-135.jar
|
||||
|
||||
post-extract:
|
||||
${MKDIR} ${WRKDIR}/build/bin
|
||||
.for jarfile in ${EXTRA_JARS}
|
||||
${CP} ${DISTDIR}/${jarfile} ${WRKDIR}/build/bin
|
||||
.endfor
|
||||
|
||||
do-install:
|
||||
@${INSTALL_DATA} ${WRKDIR}/build/bin/iText.jar \
|
||||
|
@ -1,3 +1,9 @@
|
||||
MD5 (itext-src-1.4.8.tar.gz) = 51a799be0141d08afc793318a6dee111
|
||||
SHA256 (itext-src-1.4.8.tar.gz) = b283ac094389516e9914b31622e08842dd9220a026dcc4ce9138084b685e77a2
|
||||
SIZE (itext-src-1.4.8.tar.gz) = 1165951
|
||||
MD5 (itext-src-2.0.1.tar.gz) = 944ea5a58e84bb3ca75907029dd8c579
|
||||
SHA256 (itext-src-2.0.1.tar.gz) = 2df9eb0bb170a39e3116474aa1e76d6505b398bb41a3958b894e35889e2167f4
|
||||
SIZE (itext-src-2.0.1.tar.gz) = 1137551
|
||||
MD5 (bcmail-jdk14-135.jar) = bc118ba738543b39202b2667389b8cc6
|
||||
SHA256 (bcmail-jdk14-135.jar) = f7ccd807b14946ac2f2a90754193e324c640497f105a72225ce722e5c2c0aabd
|
||||
SIZE (bcmail-jdk14-135.jar) = 181054
|
||||
MD5 (bcprov-jdk14-135.jar) = 077b1bfbbaac7855abae9012ed12527e
|
||||
SHA256 (bcprov-jdk14-135.jar) = 22393563acb0207256eb6095673be8bb1b7510a932b624511155619fd68e8694
|
||||
SIZE (bcprov-jdk14-135.jar) = 1249802
|
||||
|
20
devel/itext/files/patch-ant_compile.xml
Normal file
20
devel/itext/files/patch-ant_compile.xml
Normal file
@ -0,0 +1,20 @@
|
||||
--- ant/compile.xml.orig Sun Mar 18 10:31:15 2007
|
||||
+++ ant/compile.xml Sun Mar 18 10:31:32 2007
|
||||
@@ -34,8 +34,6 @@
|
||||
|
||||
<target name="compile" description="--> compiles the iText code">
|
||||
<mkdir dir="${itext.bin}" />
|
||||
- <get usetimestamp="true" src="http://kent.dl.sourceforge.net/sourceforge/itext/bcmail-jdk14-135.jar" dest="${itext.bin}/bcmail-jdk14-135.jar" verbose="true" />
|
||||
- <get usetimestamp="true" src="http://kent.dl.sourceforge.net/sourceforge/itext/bcprov-jdk14-135.jar" dest="${itext.bin}/bcprov-jdk14-135.jar" verbose="true" />
|
||||
<mkdir dir="${itext.classes}" />
|
||||
<javac source="1.4" target="1.4" srcdir="${itext.src}" destdir="${itext.classes}">
|
||||
<classpath refid="itext.classpath"/>
|
||||
@@ -48,8 +46,6 @@
|
||||
|
||||
<target name="compile.debug" description="--> compiles the iText code for debugging">
|
||||
<mkdir dir="${itext.bin}" />
|
||||
- <get usetimestamp="true" src="http://kent.dl.sourceforge.net/sourceforge/itext/bcmail-jdk14-135.jar" dest="${itext.bin}/bcmail-jdk14-135.jar" verbose="true" />
|
||||
- <get usetimestamp="true" src="http://kent.dl.sourceforge.net/sourceforge/itext/bcprov-jdk14-135.jar" dest="${itext.bin}/bcprov-jdk14-135.jar" verbose="true" />
|
||||
<mkdir dir="${itext.classes}" />
|
||||
<javac source="1.4" target="1.4" srcdir="${itext.src}" destdir="${itext.classes}" listfiles="yes" debug="true" debuglevel="lines,vars,source">
|
||||
<classpath refid="itext.classpath"/>
|
Loading…
Reference in New Issue
Block a user