diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2005-05-25 16:33:57 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2005-05-25 16:33:57 +0000 |
commit | 66a2df0f2c5f02e0cedb17a1a3b59f896ab900e0 (patch) | |
tree | 8e393eaab51c28b16507c32abb9bc23f704ec714 /textproc | |
parent | 61a4e3b609aed2409c914ebd6ca3bee7d8c51af2 (diff) |
Notes
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/jakarta-poi/Makefile | 53 | ||||
-rw-r--r-- | textproc/jakarta-poi/distinfo | 2 | ||||
-rw-r--r-- | textproc/jakarta-poi/pkg-descr | 8 |
4 files changed, 64 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index c4ae8a2c6d3d..2449f24b4cd2 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -185,6 +185,7 @@ SUBDIR += it-aspell SUBDIR += jade SUBDIR += jakarta-commons-digester + SUBDIR += jakarta-poi SUBDIR += java2html SUBDIR += javacc SUBDIR += jaxup diff --git a/textproc/jakarta-poi/Makefile b/textproc/jakarta-poi/Makefile new file mode 100644 index 000000000000..0bfa53d083a8 --- /dev/null +++ b/textproc/jakarta-poi/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: Jakarta POI API +# Date created: Wed Mar 2 22:01:02 EET 2005 +# Whom: Anton Yudin <toha@toha.org.ua> +# +# $FreeBSD$ +# + +PORTNAME= poi +PORTVERSION= 2.5.1 +CATEGORIES= textproc devel java +MASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA} +MASTER_SITE_SUBDIR= ${PORTNAME:S,-,/,}/release/src +PKGNAMEPREFIX= jakarta- +DISTNAME= ${PORTNAME}-src-${PORTVERSION}-final-20040804 + +MAINTAINER= toha@toha.org.ua +COMMENT= Java API To Access Microsoft Format Files + +BUILD_DEPENDS= ${JAVALIBDIR}/xalan.jar:${PORTSDIR}/textproc/xalan-j + +USE_JAVA= yes +JAVA_VERSION= 1.4+ +USE_JIKES= no + +NO_WRKSUBDIR= yes + +DSTAMP= `date +%Y%m%d` + +USE_ANT= yes +MAKE_ENV+= ANT_INCLUDE_SHARED_JARS=YES +.if !defined(NOPORTDOCS) +PORTDOCS= * +.endif +ALL_TARGET= jar +JARFILE= ${PORTNAME}-${PORTVERSION}-final-${DSTAMP}.jar +DESTJARFILE= ${PORTNAME}.jar + +PLIST_FILES= %%JAVAJARDIR%%/${DESTJARFILE} + +do-install: + @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${DESTJARFILE}..." + @${INSTALL_DATA} ${WRKSRC}/build/dist/${JARFILE} ${JAVAJARDIR}/${DESTJARFILE} + @${ECHO_MSG} " [ DONE ]" + +.if !defined(NOPORTDOCS) + @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." + @cd ${WRKSRC}/docs/apidocs \ + && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \ + && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \; + @${ECHO_MSG} " [ DONE ]" +.endif + +.include <bsd.port.mk> diff --git a/textproc/jakarta-poi/distinfo b/textproc/jakarta-poi/distinfo new file mode 100644 index 000000000000..0008667aa5d6 --- /dev/null +++ b/textproc/jakarta-poi/distinfo @@ -0,0 +1,2 @@ +MD5 (poi-src-2.5.1-final-20040804.tar.gz) = d80052119b2d6746f103d49f915b0ad8 +SIZE (poi-src-2.5.1-final-20040804.tar.gz) = 6870414 diff --git a/textproc/jakarta-poi/pkg-descr b/textproc/jakarta-poi/pkg-descr new file mode 100644 index 000000000000..d7e1374c28cd --- /dev/null +++ b/textproc/jakarta-poi/pkg-descr @@ -0,0 +1,8 @@ +The POI project consists of APIs for manipulating various file formats based +upon Microsoft's OLE 2 Compound Document format using pure Java. In short, you +can read and write MS Excel files using Java. Soon, you'll be able to read and +write Word files using Java. POI is your Java Excel solution as well as your +Word Excel solution. However, we have a complete API for porting other OLE 2 +Compound Document formats and welcome others to participate. + +WWW: http://jakarta.apache.org/poi/ |