pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pdftk: partially fix package. At least fetches now.



Module Name:	pkgsrc-wip
Committed By:	Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By:	tnn
Date:		Fri Oct 9 11:54:57 2015 +0200
Changeset:	1769257f18a0a5542af71f305acef4c17747e537

Modified Files:
	pdftk/Makefile
	pdftk/distinfo

Log Message:
pdftk: partially fix package. At least fetches now.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1769257f18a0a5542af71f305acef4c17747e537

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 pdftk/Makefile | 14 ++++++++++----
 pdftk/distinfo |  8 ++++----
 2 files changed, 14 insertions(+), 8 deletions(-)

diffs:
diff --git a/pdftk/Makefile b/pdftk/Makefile
index d3c673b..0d5f888 100644
--- a/pdftk/Makefile
+++ b/pdftk/Makefile
@@ -1,18 +1,20 @@
 # $NetBSD: Makefile,v 1.2 2012/10/05 08:46:09 asau Exp $
 #
 
-DISTNAME=		pdftk-1.41
+DISTNAME=		pdftk-2.02-src
 CATEGORIES=		print
-MASTER_SITES=		http://www.pdfhacks.com/pdftk/
+MASTER_SITES=		https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
+EXTRACT_SUFX=		.zip
 
 MAINTAINER=		mwicks%kettering.edu@localhost
-HOMEPAGE=		http://www.pdfhacks.com/pdftk/
+HOMEPAGE=		https://www.pdflabs.com/tools/pdftk-server/
 COMMENT=		Swiss army knife for PDF files
 
 PKG_DESTDIR_SUPPORT=	none
 
 BUILD_DIRS=		pdftk
-MAKE_FILE=		Makefile.Generic
+MAKE_FILE=		Makefile.FreeBSD
+WRKSRC=			${WRKDIR}/${DISTNAME:S/-src/-dist/}
 
 USE_TOOLS+=		gmake
 USE_LANGUAGES+=		c++
@@ -31,6 +33,10 @@ post-install:
 	${INSTALL_DATA} ${WRKSRC}/java_libs/com/lowagie/text/pdf/fonts/License-Adobe.txt ${LOCALBASE}/share/doc/pdftk
 	${INSTALL_DATA} files/COPYING ${LOCALBASE}/share/doc/pdftk
 
+# XXX figure out why this is needed (something about gcc34)
+# (maybe try to use gcc5 instead?)
+.include "../../mk/bsd.prefs.mk"
+
 pre-configure:
 .include "../../lang/gcc34/preconfigure.mk"
 
diff --git a/pdftk/distinfo b/pdftk/distinfo
index ccb3d35..02200da 100644
--- a/pdftk/distinfo
+++ b/pdftk/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2006/12/01 04:32:13 mwicks Exp $
+$NetBSD$
 
-SHA1 (pdftk-1.41.tar.gz) = 256583800c213419a845b28fe9ad5baccceddf80
-RMD160 (pdftk-1.41.tar.gz) = 09394a3d772556fa2c053bcef843b1e593feab1d
-Size (pdftk-1.41.tar.gz) = 1011368 bytes
+SHA1 (pdftk-2.02-src.zip) = a4a27e984c5e1401cfa44b8e92a64113d7396a06
+RMD160 (pdftk-2.02-src.zip) = 4d9e75abc4a966041bd0be7b1db13bb73819d2ae
+Size (pdftk-2.02-src.zip) = 2239008 bytes


Home | Main Index | Thread Index | Old Index