openbsd-ports/textproc/pdftk/patches/patch-java_Makefile
sthen fcf0644613 import ports/textproc/pdftk, from maintainer Christopher Zimmermann
with tweaks from myself and landry@. ok landry@

If PDF is electronic paper, then pdftk is an electronic staple-remover,
hole-punch, binder, secret-decoder-ring, and X-Ray-glasses.  Pdftk is a
simple tool for doing everyday things with PDF documents.  Use it to:

* Merge and/or split PDF Documents
* Rotate PDF Documents or Pages
* Decrypt/Encrypt PDF Documents
* Fill PDF Forms with X/FDF Data and/or Flatten Forms
* Apply a Background Watermark or a Foreground Stamp
* Report or update PDF Metrics such as Metadata and Bookmarks
* Attach Files to PDF Pages or the PDF Document
* Unpack PDF Attachments
* Uncompress and Re-Compress Page Streams
* Repair Corrupted PDF (Where Possible)
2011-05-20 10:09:57 +00:00

16 lines
841 B
Plaintext

$OpenBSD: patch-java_Makefile,v 1.1.1.1 2011/05/20 10:09:57 sthen Exp $
--- java/Makefile.orig Tue Feb 8 17:10:56 2011
+++ java/Makefile Tue Feb 8 17:11:06 2011
@@ -21,9 +21,9 @@ JAVALIBPATH= $(CURDIR)
# preprocess this file so it might include our local copies of library objects: libgcj_local
com/lowagie/text/pdf/PdfEncryption.java : com/lowagie/text/pdf/PdfEncryption.java.c
ifdef USE_LOCAL_LIBGCJ
- cpp -C -P -DPDFTK_JAVA_LOCAL com/lowagie/text/pdf/PdfEncryption.java.c com/lowagie/text/pdf/PdfEncryption.java
+ cpp -C -P -DPDFTK_JAVA_LOCAL com/lowagie/text/pdf/PdfEncryption.java.c >com/lowagie/text/pdf/PdfEncryption.java
else
- cpp -C -P com/lowagie/text/pdf/PdfEncryption.java.c com/lowagie/text/pdf/PdfEncryption.java
+ cpp -C -P com/lowagie/text/pdf/PdfEncryption.java.c >com/lowagie/text/pdf/PdfEncryption.java
endif
#