freebsd-ports/print/pdf-renderer/Makefile
Alex Dupre a78b72618f 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/
2008-11-25 08:24:06 +00:00

42 lines
972 B
Makefile

# 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>