Hi, Here is an update to pdftk-2.02. Also adds HOMEPAGE, since there is none in the port currently, and sets NO_TEST.
Tested a several features (concatenation, burst, passworded files, bundle extraction) on amd64/i386. No response from maintainer. ok? Index: Makefile =================================================================== RCS file: /cvs/ports/textproc/pdftk/Makefile,v retrieving revision 1.7 diff -u -p -u -p -r1.7 Makefile --- Makefile 11 Mar 2013 11:42:45 -0000 1.7 +++ Makefile 20 Sep 2013 02:32:42 -0000 @@ -1,8 +1,7 @@ # $OpenBSD: Makefile,v 1.7 2013/03/11 11:42:45 espie Exp $ COMMENT= pdf swiss army knife -VERSION= 1.44 -REVISION= 1 +VERSION= 2.02 DISTNAME= pdftk-$(VERSION) EXTRACT_SUFX= -src.zip CATEGORIES= textproc @@ -14,7 +13,9 @@ PERMIT_PACKAGE_CDROM= Yes WANTLIB += ${MODGCC4_GCJWANTLIB} c m pthread z -MASTER_SITES= http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/ +HOMEPAGE = http://www.pdflabs.com/tools/pdftk-server/ + +MASTER_SITES = http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/ MODULES= converters/libiconv gcc4 MODGCC4_ARCHS= * @@ -53,6 +54,8 @@ MAKE_ENV+= CXX="$(CXX)" \ CXXFLAGS="$(CXXFLAGS)" \ ARFLAGS="${ARFLAGS} rs" \ LDLIBS="$(LDLIBS)" + +NO_TEST = Yes do-install: $(INSTALL_PROGRAM) $(WRKSRC)/pdftk $(PREFIX)/bin Index: distinfo =================================================================== RCS file: /cvs/ports/textproc/pdftk/distinfo,v retrieving revision 1.1.1.1 diff -u -p -u -p -r1.1.1.1 distinfo --- distinfo 20 May 2011 10:09:57 -0000 1.1.1.1 +++ distinfo 20 Sep 2013 02:32:42 -0000 @@ -1,5 +1,2 @@ -MD5 (pdftk-1.44-src.zip) = nrUP/81iGmJ9OHdQxgmCtA== -RMD160 (pdftk-1.44-src.zip) = ys0oZ1kAXwAvWkbAryjToaqtc+s= -SHA1 (pdftk-1.44-src.zip) = fLE33LqIXK/zL/lrfhHJ3Eziy6c= -SHA256 (pdftk-1.44-src.zip) = 1wyz+vKvhJwr7mw15OgpJ3pQkMu1lTIfBLWclNeEqiQ= -SIZE (pdftk-1.44-src.zip) = 1137086 +SHA256 (pdftk-2.02-src.zip) = EY9qJf06yq+1iCTc5vl83AflYFDmZrkOTE70Juo3uME= +SIZE (pdftk-2.02-src.zip) = 2239008 Index: patches/patch-java_Makefile =================================================================== RCS file: patches/patch-java_Makefile diff -N patches/patch-java_Makefile --- patches/patch-java_Makefile 20 May 2011 10:09:57 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,15 +0,0 @@ -$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 - - #