summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/fop/DESCR5
-rw-r--r--textproc/fop/Makefile43
-rw-r--r--textproc/fop/PLIST191
-rw-r--r--textproc/fop/PLIST.docs2
-rw-r--r--textproc/fop/distinfo6
-rw-r--r--textproc/fop/options.mk2
6 files changed, 247 insertions, 2 deletions
diff --git a/textproc/fop/DESCR b/textproc/fop/DESCR
new file mode 100644
index 00000000000..4ab7989b641
--- /dev/null
+++ b/textproc/fop/DESCR
@@ -0,0 +1,5 @@
+FOP is a print formatter driven by XSL formatting objects (XSL-FO).
+It is a Java application that reads a formatting object (FO) tree
+and renders it into a specified output.
+Many output formats are supported, including PDF, PS, PCL, AFP, XML,
+Print, AWT, Tiff, PNG, RTF, TXT. The primary output target is PDF.
diff --git a/textproc/fop/Makefile b/textproc/fop/Makefile
new file mode 100644
index 00000000000..77798912e7a
--- /dev/null
+++ b/textproc/fop/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.32 2011/01/16 09:58:37 wiz Exp $
+#
+# Note: we currently use the pre-built (-bin) distribution of FOP,
+#
+
+DISTNAME= fop-${VERSION}-bin
+PKGNAME= fop-${VERSION}
+VERSION= 1.0
+CATEGORIES= textproc www
+MASTER_SITES= ${MASTER_SITE_APACHE:=xmlgraphics/fop/binaries/}
+
+MAINTAINER= ftigeot@users.sourceforge.net
+HOMEPAGE= http://xmlgraphics.apache.org/fop/
+COMMENT= Print formatter driven by XSL Formatting Objects (XSL-FO)
+LICENSE= apache-2.0
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_JAVA= run
+USE_TOOLS+= pax
+NO_CONFIGURE= yes
+NO_BUILD= yes
+INSTALLATION_DIRS= bin share/java/fop
+
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+
+PLIST_SRC= ${PKGDIR}/PLIST
+
+SUBST_CLASSES+= java_home
+SUBST_STAGE.java_home= post-patch
+SUBST_MESSAGE.java_home= Setting JAVA_HOME to a sane value.
+SUBST_FILES.java_home= fop
+SUBST_SED.java_home= -e 's,@JAVA_HOME@,${PKG_JAVA_HOME},g'
+
+.include "options.mk"
+
+do-install:
+ cd ${WRKSRC} && ${PAX} -rw . ${DESTDIR}${PREFIX}/share/java/fop
+ ${LN} -sf ../share/java/fop/fop ${DESTDIR}${PREFIX}/bin
+ ${RM} -f ${DESTDIR}${PREFIX}/share/java/fop/fop.orig
+
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/fop/PLIST b/textproc/fop/PLIST
new file mode 100644
index 00000000000..117b608d8ad
--- /dev/null
+++ b/textproc/fop/PLIST
@@ -0,0 +1,191 @@
+@comment $NetBSD: PLIST,v 1.5 2011/01/16 09:58:37 wiz Exp $
+bin/fop
+share/java/fop/fop
+share/java/fop/KEYS
+share/java/fop/conf/fop.xconf
+share/java/fop/lib/commons-logging.LICENSE.txt
+share/java/fop/lib/xml-apis-ext.LICENSE.dom-software.txt
+share/java/fop/lib/avalon-framework.NOTICE.TXT
+share/java/fop/lib/xml-apis-ext.LICENSE.dom-documentation.txt
+share/java/fop/lib/xml-apis-1.3.04.jar
+share/java/fop/lib/xml-apis-ext-1.3.04.jar
+share/java/fop/lib/commons-logging-1.0.4.jar
+share/java/fop/lib/xml-apis.LICENSE.txt
+share/java/fop/lib/README.txt
+share/java/fop/lib/xml-apis-ext.README.dom.txt
+share/java/fop/lib/serializer-2.7.0.jar
+share/java/fop/lib/xalan.BCEL.LICENSE.txt
+share/java/fop/lib/xml-apis.LICENSE.DOM-documentation.html
+share/java/fop/lib/avalon-framework-4.2.0.jar
+share/java/fop/lib/xercesImpl-2.7.1.jar
+share/java/fop/lib/xmlgraphics-commons.LICENSE.txt
+share/java/fop/lib/xmlgraphics-commons-1.4.jar
+share/java/fop/lib/xercesImpl.LICENSE.txt
+share/java/fop/lib/xml-apis-ext.LICENSE.sac.html
+share/java/fop/lib/commons-io.NOTICE.txt
+share/java/fop/lib/xml-apis.LICENSE-SAX.html
+share/java/fop/lib/xercesImpl.NOTICE.txt
+share/java/fop/lib/xalan-2.7.0.jar
+share/java/fop/lib/xmlgraphics-commons.NOTICE.txt
+share/java/fop/lib/commons-io-1.3.1.jar
+share/java/fop/lib/xalan.runtime.LICENSE.txt
+share/java/fop/lib/serializer.NOTICE.txt
+share/java/fop/lib/xalan.LICENSE.txt
+share/java/fop/lib/batik.LICENSE.txt
+share/java/fop/lib/batik-all-1.7.jar
+share/java/fop/lib/xerces.LICENSE.txt
+share/java/fop/lib/xalan.NOTICE.txt
+share/java/fop/lib/xml-apis-ext.LICENSE.txt
+share/java/fop/lib/xml-apis.NOTICE.txt
+share/java/fop/lib/batik.NOTICE.txt
+share/java/fop/lib/commons-logging.NOTICE.txt
+share/java/fop/lib/xalan.regexp.LICENSE.txt
+share/java/fop/lib/avalon-framework.LICENSE.txt
+share/java/fop/lib/xml-apis.LICENSE.DOM-software.html
+share/java/fop/lib/commons-io.LICENSE.txt
+share/java/fop/lib/xml-apis-ext.NOTICE.txt
+share/java/fop/lib/serializer.LICENSE.txt
+share/java/fop/NOTICE
+share/java/fop/status.xml
+share/java/fop/build/fop.jar
+share/java/fop/fop.bat
+share/java/fop/fop.cmd
+share/java/fop/LICENSE
+share/java/fop/README
+share/java/fop/examples/mathml/README
+share/java/fop/examples/fo/region_body/simplecol.fo
+share/java/fop/examples/fo/region_body/simplecol4.fo
+share/java/fop/examples/fo/region_body/simplecol3.fo
+share/java/fop/examples/fo/region_body/simplecol2.fo
+share/java/fop/examples/fo/svg/ref.svg
+share/java/fop/examples/fo/svg/boxes.svg
+share/java/fop/examples/fo/svg/view.svg
+share/java/fop/examples/fo/svg/embedding.fo
+share/java/fop/examples/fo/svg/external.fo
+share/java/fop/examples/fo/svg/multi.svg
+share/java/fop/examples/fo/tables/background.fo
+share/java/fop/examples/fo/tables/headfoot.fo
+share/java/fop/examples/fo/tables/keep.fo
+share/java/fop/examples/fo/tables/break.fo
+share/java/fop/examples/fo/tables/borders.fo
+share/java/fop/examples/fo/tables/space.fo
+share/java/fop/examples/fo/tables/omit.fo
+share/java/fop/examples/fo/fo-reference/xslfoRef.xml
+share/java/fop/examples/fo/fo-reference/xml2pdf.xsl
+share/java/fop/examples/fo/basic/corresprop.fo
+share/java/fop/examples/fo/basic/pdfoutline.fo
+share/java/fop/examples/fo/basic/textdeko.fo
+share/java/fop/examples/fo/basic/simple.fo
+share/java/fop/examples/fo/basic/images.fo
+share/java/fop/examples/fo/basic/fonts.fo
+share/java/fop/examples/fo/basic/bordershorthand.fo
+share/java/fop/examples/fo/basic/table.fo
+share/java/fop/examples/fo/basic/tableunits.fo
+share/java/fop/examples/fo/basic/normalex.fo
+share/java/fop/examples/fo/basic/readme.fo
+share/java/fop/examples/fo/basic/leader.fo
+share/java/fop/examples/fo/basic/border.fo
+share/java/fop/examples/fo/basic/normal.fo
+share/java/fop/examples/fo/basic/character.fo
+share/java/fop/examples/fo/basic/inhprop.fo
+share/java/fop/examples/fo/basic/link.fo
+share/java/fop/examples/fo/basic/hyphen.fo
+share/java/fop/examples/fo/basic/alignment.fo
+share/java/fop/examples/fo/basic/extensive.fo
+share/java/fop/examples/fo/basic/list.fo
+share/java/fop/examples/fo/basic/instream.fo
+share/java/fop/examples/fo/basic/newlinktest.fo
+share/java/fop/examples/fo/basic/blockcontainer.fo
+share/java/fop/examples/fo/keeps_and_breaks/columnlevel1.fo
+share/java/fop/examples/fo/keeps_and_breaks/pagelevel4.fo
+share/java/fop/examples/fo/keeps_and_breaks/pagelevel3.fo
+share/java/fop/examples/fo/keeps_and_breaks/pagelevel2.fo
+share/java/fop/examples/fo/keeps_and_breaks/pagelevel1.fo
+share/java/fop/examples/fo/advanced/bar.conf.xml
+share/java/fop/examples/fo/advanced/cid-fonts.pdf
+share/java/fop/examples/fo/advanced/K3.xml
+share/java/fop/examples/fo/advanced/giro.fo
+share/java/fop/examples/fo/advanced/cid-fonts.fo
+share/java/fop/examples/fo/advanced/K3.TTF
+share/java/fop/examples/fo/advanced/K3.README
+share/java/fop/examples/fo/advanced/barcode.fo
+share/java/fop/examples/fo/advanced/bleed-and-crop-marks.fo
+share/java/fop/examples/fo/graphics/fop.jpg
+share/java/fop/examples/fo/graphics/page.gif
+share/java/fop/examples/fo/graphics/asf-logo.png
+share/java/fop/examples/fo/graphics/linux.bmp
+share/java/fop/examples/fo/graphics/xml_fax.tif
+share/java/fop/examples/fo/graphics/xml_feather.gif
+share/java/fop/examples/fo/graphics/asf-logo-nt.png
+share/java/fop/examples/fo/graphics/listgeometry.gif
+share/java/fop/examples/fo/graphics/asf-logo.tif
+share/java/fop/examples/fo/graphics/xml_feather_transparent.gif
+share/java/fop/examples/fo/markers/glossary.xml
+share/java/fop/examples/fo/markers/hide.fo
+share/java/fop/examples/fo/markers/glossary.xsl
+share/java/fop/examples/fo/pagination/basic2.fo
+share/java/fop/examples/fo/pagination/franklin_alt.fo
+share/java/fop/examples/fo/pagination/franklin_rep.fo
+share/java/fop/examples/fo/pagination/franklin_2pageseqs.fo
+share/java/fop/examples/fo/pagination/allregions.fo
+share/java/fop/examples/fo/footnotes/simple.fo
+share/java/fop/examples/fo/footnotes/columns.fo
+share/java/fop/examples/fo/build.xml
+share/java/fop/examples/embedding/xml/svg/helloworld.svg
+share/java/fop/examples/embedding/xml/fo/helloworld.fo
+share/java/fop/examples/embedding/xml/xml/projectteam.xml
+share/java/fop/examples/embedding/xml/xslt/ifstamp.xsl
+share/java/fop/examples/embedding/xml/xslt/projectteam2fo.xsl
+share/java/fop/examples/embedding/xml/xslt/atstamp.xsl
+share/java/fop/examples/embedding/build.xml
+share/java/fop/examples/embedding/README
+share/java/fop/examples/embedding/java/embedding/ExampleDOM2PDF.java
+share/java/fop/examples/embedding/java/embedding/ExampleObj2PDF.java
+share/java/fop/examples/embedding/java/embedding/ExampleFO2PDF.java
+share/java/fop/examples/embedding/java/embedding/ExampleFO2PDFUsingSAXParser.java
+share/java/fop/examples/embedding/java/embedding/ExampleFO2RTF.java
+share/java/fop/examples/embedding/java/embedding/ExampleSVG2PDF.java
+share/java/fop/examples/embedding/java/embedding/ExampleXML2PDF.java
+share/java/fop/examples/embedding/java/embedding/ExampleFO2OldStylePrint.java
+share/java/fop/examples/embedding/java/embedding/atxml/ExampleStamp.java
+share/java/fop/examples/embedding/java/embedding/atxml/ExampleConcat.java
+share/java/fop/examples/embedding/java/embedding/events/missing-image.fo
+share/java/fop/examples/embedding/java/embedding/events/ExampleEvents.java
+share/java/fop/examples/embedding/java/embedding/model/ProjectTeamInputSource.java
+share/java/fop/examples/embedding/java/embedding/model/ProjectMember.java
+share/java/fop/examples/embedding/java/embedding/model/ProjectTeam.java
+share/java/fop/examples/embedding/java/embedding/model/ProjectTeamXMLReader.java
+share/java/fop/examples/embedding/java/embedding/MultipleFO2PDF.java
+share/java/fop/examples/embedding/java/embedding/tools/AbstractObjectReader.java
+share/java/fop/examples/embedding/java/embedding/tools/EasyGenerationContentHandlerProxy.java
+share/java/fop/examples/embedding/java/embedding/ExampleAWTViewer.java
+share/java/fop/examples/embedding/java/embedding/intermediate/ExampleStamp.java
+share/java/fop/examples/embedding/java/embedding/intermediate/ExampleConcat.java
+share/java/fop/examples/embedding/java/embedding/ExampleFO2JPSPrint.java
+share/java/fop/examples/embedding/java/embedding/ExampleXML2FO.java
+share/java/fop/examples/embedding/java/embedding/ExampleObj2XML.java
+share/java/fop/examples/hyphenation/analyse
+share/java/fop/examples/hyphenation/analyse.cmd
+share/java/fop/examples/hyphenation/src/org/apache/fop/hyphenation/TernaryTreeAnalysis.java
+share/java/fop/examples/hyphenation/src/org/apache/fop/hyphenation/HyphenationTreeAnalysis.java
+share/java/fop/examples/hyphenation/build.xml
+share/java/fop/examples/hyphenation/README
+share/java/fop/examples/plan/docs/plan.fo
+share/java/fop/examples/plan/docs/june.xml
+share/java/fop/examples/plan/src/org/apache/fop/plan/GroupInfo.java
+share/java/fop/examples/plan/src/org/apache/fop/plan/ActionInfo.java
+share/java/fop/examples/plan/src/org/apache/fop/plan/SimplePlanDrawer.java
+share/java/fop/examples/plan/src/org/apache/fop/plan/PlanDrawer.java
+share/java/fop/examples/plan/src/org/apache/fop/plan/PreloaderPlan.java
+share/java/fop/examples/plan/src/org/apache/fop/plan/PlanObj.java
+share/java/fop/examples/plan/src/org/apache/fop/plan/EventList.java
+share/java/fop/examples/plan/src/org/apache/fop/plan/Main.java
+share/java/fop/examples/plan/src/org/apache/fop/plan/PlanElement.java
+share/java/fop/examples/plan/src/org/apache/fop/plan/PlanHints.java
+share/java/fop/examples/plan/src/org/apache/fop/plan/PlanRenderer.java
+share/java/fop/examples/plan/src/org/apache/fop/plan/PlanElementMapping.java
+share/java/fop/examples/plan/resources/META-INF/services/org.apache.fop.fo.ElementMapping
+share/java/fop/examples/plan/resources/META-INF/services/org.apache.xmlgraphics.image.loader.spi.ImagePreloader
+share/java/fop/examples/plan/build.xml
+share/java/fop/examples/plan/README
+share/java/fop/fop.js
diff --git a/textproc/fop/PLIST.docs b/textproc/fop/PLIST.docs
index 5a5c5c65cc0..937391a5354 100644
--- a/textproc/fop/PLIST.docs
+++ b/textproc/fop/PLIST.docs
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.docs,v 1.1.1.1 2011/01/16 09:56:01 wiz Exp $
+@comment $NetBSD: PLIST.docs,v 1.2 2011/01/16 09:58:37 wiz Exp $
share/java/fop/docs/.htaccess
share/java/fop/docs/skin/CommonMessages_en_US.xml
share/java/fop/docs/skin/CommonMessages_fr.xml
diff --git a/textproc/fop/distinfo b/textproc/fop/distinfo
new file mode 100644
index 00000000000..421bb34c376
--- /dev/null
+++ b/textproc/fop/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.5 2011/01/16 09:58:37 wiz Exp $
+
+SHA1 (fop-1.0-bin.tar.gz) = 2e81bc0b6d26cba8af7d008cffe6a46955a82a4f
+RMD160 (fop-1.0-bin.tar.gz) = 44318681ffb997952560900fb6c103e8eb6aac3c
+Size (fop-1.0-bin.tar.gz) = 20125989 bytes
+SHA1 (patch-aa) = d9c299cc8b7a6808daf0f55008b5f74eacf568ea
diff --git a/textproc/fop/options.mk b/textproc/fop/options.mk
index 2af5aa674ea..baf8b43cf8f 100644
--- a/textproc/fop/options.mk
+++ b/textproc/fop/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1.1.1 2011/01/16 09:56:01 wiz Exp $
+# $NetBSD: options.mk,v 1.2 2011/01/16 09:58:37 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.fop
PKG_SUPPORTED_OPTIONS= doc