diff options
author | ale <ale@FreeBSD.org> | 2008-11-25 16:24:06 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2008-11-25 16:24:06 +0800 |
commit | 70d85663bdb5f79359b7bf59febb7deac845b134 (patch) | |
tree | 109e8dd730b89efec0d96473322fa63f41e89ef1 /print/pdf-renderer | |
parent | 26618b1823db3244ba4d7ccffd7ee8df38674ff8 (diff) | |
download | freebsd-ports-gnome-70d85663bdb5f79359b7bf59febb7deac845b134.tar.gz freebsd-ports-gnome-70d85663bdb5f79359b7bf59febb7deac845b134.tar.zst freebsd-ports-gnome-70d85663bdb5f79359b7bf59febb7deac845b134.zip |
The PDF Renderer is an open source, all Java library which renders
PDF documents to the screen using Java2D.
Some features:
* view PDFs in your own app
* print-preview before exporting PDF files
* render PDFs to PNGs in a server-side web application
* view PDFs in a 3D scene
* draw on top of PDFs and annotate them in a networked viewer
WWW: https://pdf-renderer.dev.java.net/
Diffstat (limited to 'print/pdf-renderer')
-rw-r--r-- | print/pdf-renderer/Makefile | 42 | ||||
-rw-r--r-- | print/pdf-renderer/distinfo | 3 | ||||
-rw-r--r-- | print/pdf-renderer/files/patch-nbproject_project.properties | 10 | ||||
-rw-r--r-- | print/pdf-renderer/pkg-descr | 15 |
4 files changed, 70 insertions, 0 deletions
diff --git a/print/pdf-renderer/Makefile b/print/pdf-renderer/Makefile new file mode 100644 index 000000000000..4256f6fb212e --- /dev/null +++ b/print/pdf-renderer/Makefile @@ -0,0 +1,42 @@ +# Ports collection makefile for: pdf-renderer +# Date created: 21 Nov 2008 +# Whom: Alex Dupre <ale@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= pdf-renderer +PORTVERSION= 0.20081121 +CATEGORIES= print java +MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= ale + +MAINTAINER= ale@FreeBSD.org +COMMENT= A 100% Java PDF renderer and viewer + +USE_JAVA= yes +JAVA_VERSION= 1.5+ +USE_ANT= yes + +ALL_TARGET= jar +.if !defined(NOPORTDOCS) +ALL_TARGET+= javadoc +.endif + +PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar + +PORTDOCS= * + +do-install: + @${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}.jar..." + @${INSTALL_DATA} ${WRKSRC}/dist/PDFRenderer.jar ${JAVAJARDIR}/${PORTNAME}.jar + @${ECHO_MSG} " [DONE]" +.if !defined(NOPORTDOCS) + @${ECHO_MSG} -n ">> Installing documentation..." + @${MKDIR} ${DOCSDIR} + @cd ${WRKSRC}/dist && ${FIND} javadoc \ + | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1 + @${ECHO_MSG} " [DONE]" +.endif + +.include <bsd.port.mk> diff --git a/print/pdf-renderer/distinfo b/print/pdf-renderer/distinfo new file mode 100644 index 000000000000..c1da4cf3aac1 --- /dev/null +++ b/print/pdf-renderer/distinfo @@ -0,0 +1,3 @@ +MD5 (pdf-renderer-0.20081121.tar.gz) = 0457a1921eff75a4c14b1457574c0a20 +SHA256 (pdf-renderer-0.20081121.tar.gz) = c0745a008499feafa2a24142adde0d4d8ea640b207b85ab7ae6b675a673e78ed +SIZE (pdf-renderer-0.20081121.tar.gz) = 1408932 diff --git a/print/pdf-renderer/files/patch-nbproject_project.properties b/print/pdf-renderer/files/patch-nbproject_project.properties new file mode 100644 index 000000000000..6cd611b74e58 --- /dev/null +++ b/print/pdf-renderer/files/patch-nbproject_project.properties @@ -0,0 +1,10 @@ +--- nbproject/project.properties.orig 2008-11-21 17:46:37.000000000 +0100 ++++ nbproject/project.properties 2008-11-21 17:47:11.000000000 +0100 +@@ -45,6 +45,7 @@ + javadoc.nonavbar=false + javadoc.notree=false + javadoc.private=false ++javadoc.srcpath=${src.dir} + javadoc.splitindex=true + javadoc.use=true + javadoc.version=false diff --git a/print/pdf-renderer/pkg-descr b/print/pdf-renderer/pkg-descr new file mode 100644 index 000000000000..aa70ee5657f4 --- /dev/null +++ b/print/pdf-renderer/pkg-descr @@ -0,0 +1,15 @@ +The PDF Renderer is an open source, all Java library which renders +PDF documents to the screen using Java2D. + +Some features: + + * view PDFs in your own app + * print-preview before exporting PDF files + * render PDFs to PNGs in a server-side web application + * view PDFs in a 3D scene + * draw on top of PDFs and annotate them in a networked viewer + +WWW: https://pdf-renderer.dev.java.net/ + +- Alex Dupre +ale@FreeBSD.org |