[Midnightbsd-cvs] mports [23118] trunk/print/qpdf: qpdf-7.1.1
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Mar 8 16:58:40 EST 2018
Revision: 23118
http://svnweb.midnightbsd.org/mports/?rev=23118
Author: laffer1
Date: 2018-03-08 16:58:39 -0500 (Thu, 08 Mar 2018)
Log Message:
-----------
qpdf-7.1.1
Modified Paths:
--------------
trunk/print/qpdf/Makefile
trunk/print/qpdf/distinfo
trunk/print/qpdf/pkg-plist
Added Paths:
-----------
trunk/print/qpdf/files/patch-make_libtool.mk
Removed Paths:
-------------
trunk/print/qpdf/files/patch-configure
trunk/print/qpdf/files/patch-include_QPDFExc.hh
trunk/print/qpdf/files/patch-include_QUtil.hh
trunk/print/qpdf/files/patch-include_qpdf_QPDF.hh
Modified: trunk/print/qpdf/Makefile
===================================================================
--- trunk/print/qpdf/Makefile 2018-03-08 19:35:43 UTC (rev 23117)
+++ trunk/print/qpdf/Makefile 2018-03-08 21:58:39 UTC (rev 23118)
@@ -2,7 +2,7 @@
# $FreeBSD: head/print/qpdf/Makefile 369562 2014-09-29 22:38:09Z bdrewery $
PORTNAME= qpdf
-PORTVERSION= 5.1.2
+PORTVERSION= 7.1.1
CATEGORIES= print
MASTER_SITES= SF
@@ -10,23 +10,17 @@
COMMENT= Command-line tools for transforming and inspecting PDF documents
LICENSE= artistic2
+LICENSE_FILE= ${WRKSRC}/Artistic-2.0
-BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
-LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
-
-OPTIONS_DEFINE= SDK
-OPTIONS_DEFAULT= SDK
-OPTIONS_SUB= yes
-
-SDK_DESC= Install header files (required for cups-filters)
-
+USES= gmake jpeg libtool localbase
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --disable-static
USE_LDCONFIG= yes
-USES= gmake libtool
+OPTIONS_DEFINE= DOCS
+
post-patch:
- @${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \
- -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
+ @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
${WRKSRC}/make/libtool.mk
.include <bsd.port.mk>
Modified: trunk/print/qpdf/distinfo
===================================================================
--- trunk/print/qpdf/distinfo 2018-03-08 19:35:43 UTC (rev 23117)
+++ trunk/print/qpdf/distinfo 2018-03-08 21:58:39 UTC (rev 23118)
@@ -1,2 +1,3 @@
-SHA256 (qpdf-5.1.2.tar.gz) = e9dd8d5d0a322078ffd573f057f03d24a734cc5b7dd925b089ebcb0f6e867bfd
-SIZE (qpdf-5.1.2.tar.gz) = 7664268
+TIMESTAMP = 1517797977
+SHA256 (qpdf-7.1.1.tar.gz) = 8a0dbfa000a5c257abbc03721c7be277920fe0fcff08202b61c9c2464eedf2fa
+SIZE (qpdf-7.1.1.tar.gz) = 7099282
Deleted: trunk/print/qpdf/files/patch-configure
===================================================================
--- trunk/print/qpdf/files/patch-configure 2018-03-08 19:35:43 UTC (rev 23117)
+++ trunk/print/qpdf/files/patch-configure 2018-03-08 21:58:39 UTC (rev 23118)
@@ -1,66 +0,0 @@
---- ./configure.orig 2012-09-06 23:48:38.000000000 +0400
-+++ ./configure 2013-01-05 00:13:47.000000000 +0400
-@@ -12,6 +12,12 @@
- ## M4sh Initialization. ##
- ## -------------------- ##
-
-+CPPFLAGS="$CPPFLAGS -I/usr/local/include"
-+LDFLAGS="$LDFLAGS -L/usr/local/lib"
-+CONFIG_SHELL=/usr/local/bin/bash
-+
-+ac_make=gmake
-+
- # Be more Bourne compatible
- DUALCASE=1; export DUALCASE # for MKS sh
- if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
-@@ -1333,7 +1339,7 @@
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
--By default, \`make install' will install all the files in
-+By default, \`${ac_make} install' will install all the files in
- \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
- an installation prefix other than \`$ac_default_prefix' using \`--prefix',
- for instance \`--prefix=\$HOME'.
-@@ -2381,7 +2387,7 @@
- $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
- $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
-- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-+ as_fn_error $? "run \`${ac_make} distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
- fi
- ## -------------------- ##
- ## Main body of script. ##
-@@ -8663,8 +8669,8 @@
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
- $as_echo "$hard_links" >&6; }
- if test "$hard_links" = no; then
-- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
--$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`${ac_make} -j' may be unsafe" >&5
-+$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`${ac_make} -j' may be unsafe" >&2;}
- need_locks=warn
- fi
- else
-@@ -13795,8 +13801,8 @@
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
- $as_echo "$hard_links" >&6; }
- if test "$hard_links" = no; then
-- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
--$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`${ac_make} -j' may be unsafe" >&5
-+$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`${ac_make} -j' may be unsafe" >&2;}
- need_locks=warn
- fi
- else
-@@ -15399,8 +15405,8 @@
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnu make >= 3.81" >&5
- $as_echo_n "checking for gnu make >= 3.81... " >&6; }
- make_okay=0
--if make --version >/dev/null 2>&1; then
-- v=`make --version | grep 'GNU Make' | sed -e 's/.*Make //'`
-+if ${ac_make} --version >/dev/null 2>&1; then
-+ v=`${ac_make} --version | grep 'GNU Make' | sed -e 's/.*Make //'`
- maj=`echo $v | cut -d. -f 1`
- min=`echo $v | cut -d. -f 2`
- if test $maj -gt 3 -o '(' $maj -eq 3 -a $min -ge 81 ')'; then
Deleted: trunk/print/qpdf/files/patch-include_QPDFExc.hh
===================================================================
--- trunk/print/qpdf/files/patch-include_QPDFExc.hh 2018-03-08 19:35:43 UTC (rev 23117)
+++ trunk/print/qpdf/files/patch-include_QPDFExc.hh 2018-03-08 21:58:39 UTC (rev 23118)
@@ -1,10 +0,0 @@
---- include/qpdf/QPDFExc.hh.orig 2013-10-22 10:56:42.542484811 +0400
-+++ include/qpdf/QPDFExc.hh 2013-10-22 10:57:02.738482806 +0400
-@@ -13,6 +13,7 @@
-
- #include <qpdf/Constants.h>
- #include <stdexcept>
-+#include <string>
-
- class QPDFExc: public std::runtime_error
- {
Deleted: trunk/print/qpdf/files/patch-include_QUtil.hh
===================================================================
--- trunk/print/qpdf/files/patch-include_QUtil.hh 2018-03-08 19:35:43 UTC (rev 23117)
+++ trunk/print/qpdf/files/patch-include_QUtil.hh 2018-03-08 21:58:39 UTC (rev 23118)
@@ -1,10 +0,0 @@
---- include/qpdf/QUtil.hh.orig 2013-10-22 10:53:22.013499403 +0400
-+++ include/qpdf/QUtil.hh 2013-10-22 10:53:41.216497407 +0400
-@@ -14,6 +14,7 @@
- #include <list>
- #include <stdexcept>
- #include <stdio.h>
-+#include <ctime>
-
- namespace QUtil
- {
Deleted: trunk/print/qpdf/files/patch-include_qpdf_QPDF.hh
===================================================================
--- trunk/print/qpdf/files/patch-include_qpdf_QPDF.hh 2018-03-08 19:35:43 UTC (rev 23117)
+++ trunk/print/qpdf/files/patch-include_qpdf_QPDF.hh 2018-03-08 21:58:39 UTC (rev 23118)
@@ -1,10 +0,0 @@
---- include/qpdf/QPDF.hh.orig 2013-10-22 10:30:42.941592225 +0400
-+++ include/qpdf/QPDF.hh 2013-10-22 10:30:54.303595364 +0400
-@@ -16,6 +16,7 @@
- #include <map>
- #include <list>
- #include <iostream>
-+#include <ctime>
-
- #include <qpdf/QPDFObjGen.hh>
- #include <qpdf/QPDFXRefEntry.hh>
Added: trunk/print/qpdf/files/patch-make_libtool.mk
===================================================================
--- trunk/print/qpdf/files/patch-make_libtool.mk (rev 0)
+++ trunk/print/qpdf/files/patch-make_libtool.mk 2018-03-08 21:58:39 UTC (rev 23118)
@@ -0,0 +1,30 @@
+--- make/libtool.mk.orig 2018-01-15 01:09:20 UTC
++++ make/libtool.mk
+@@ -1,7 +1,7 @@
+ # --- Required interface definitions ---
+
+-# LIBTOOL needs bash
+-SHELL=/bin/bash
++# LIBTOOL needs sh
++SHELL?=/bin/sh
+
+ OBJ=o
+ LOBJ=lo
+@@ -112,14 +112,14 @@ install: all
+ ./mkinstalldirs $(DESTDIR)$(includedir)/qpdf
+ ./mkinstalldirs $(DESTDIR)$(docdir)
+ ./mkinstalldirs $(DESTDIR)$(mandir)/man1
+- $(LIBTOOL) --mode=install ./install-sh \
++ $(LIBTOOL) --mode=install ./install-sh -s \
+ libqpdf/$(OUTPUT_DIR)/libqpdf.la \
+ $(DESTDIR)$(libdir)/libqpdf.la
+ $(LIBTOOL) --finish $(DESTDIR)$(libdir)
+- $(LIBTOOL) --mode=install ./install-sh \
++ $(LIBTOOL) --mode=install ./install-sh -s \
+ qpdf/$(OUTPUT_DIR)/qpdf \
+ $(DESTDIR)$(bindir)/qpdf
+- $(LIBTOOL) --mode=install ./install-sh \
++ $(LIBTOOL) --mode=install ./install-sh -s \
+ zlib-flate/$(OUTPUT_DIR)/zlib-flate \
+ $(DESTDIR)$(bindir)/zlib-flate
+ cp qpdf/fix-qdf $(DESTDIR)$(bindir)
Property changes on: trunk/print/qpdf/files/patch-make_libtool.mk
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/print/qpdf/pkg-plist
===================================================================
--- trunk/print/qpdf/pkg-plist 2018-03-08 19:35:43 UTC (rev 23117)
+++ trunk/print/qpdf/pkg-plist 2018-03-08 21:58:39 UTC (rev 23118)
@@ -1,41 +1,42 @@
bin/fix-qdf
bin/qpdf
bin/zlib-flate
-%%SDK%%include/qpdf/Buffer.hh
-%%SDK%%include/qpdf/BufferInputSource.hh
-%%SDK%%include/qpdf/Constants.h
-%%SDK%%include/qpdf/DLL.h
-%%SDK%%include/qpdf/FileInputSource.hh
-%%SDK%%include/qpdf/InputSource.hh
-%%SDK%%include/qpdf/Pipeline.hh
-%%SDK%%include/qpdf/Pl_Buffer.hh
-%%SDK%%include/qpdf/Pl_Concatenate.hh
-%%SDK%%include/qpdf/Pl_Count.hh
-%%SDK%%include/qpdf/Pl_Discard.hh
-%%SDK%%include/qpdf/Pl_Flate.hh
-%%SDK%%include/qpdf/Pl_StdioFile.hh
-%%SDK%%include/qpdf/PointerHolder.hh
-%%SDK%%include/qpdf/QPDF.hh
-%%SDK%%include/qpdf/QPDFExc.hh
-%%SDK%%include/qpdf/QPDFObjGen.hh
-%%SDK%%include/qpdf/QPDFObject.hh
-%%SDK%%include/qpdf/QPDFObjectHandle.hh
-%%SDK%%include/qpdf/QPDFTokenizer.hh
-%%SDK%%include/qpdf/QPDFWriter.hh
-%%SDK%%include/qpdf/QPDFXRefEntry.hh
-%%SDK%%include/qpdf/QTC.hh
-%%SDK%%include/qpdf/QUtil.hh
-%%SDK%%include/qpdf/RandomDataProvider.hh
-%%SDK%%include/qpdf/Types.h
-%%SDK%%include/qpdf/qpdf-c.h
-lib/libqpdf.a
+include/qpdf/Buffer.hh
+include/qpdf/BufferInputSource.hh
+include/qpdf/Constants.h
+include/qpdf/DLL.h
+include/qpdf/FileInputSource.hh
+include/qpdf/InputSource.hh
+include/qpdf/Pipeline.hh
+include/qpdf/Pl_Buffer.hh
+include/qpdf/Pl_Concatenate.hh
+include/qpdf/Pl_Count.hh
+include/qpdf/Pl_DCT.hh
+include/qpdf/Pl_Discard.hh
+include/qpdf/Pl_Flate.hh
+include/qpdf/Pl_RunLength.hh
+include/qpdf/Pl_StdioFile.hh
+include/qpdf/PointerHolder.hh
+include/qpdf/QPDF.hh
+include/qpdf/QPDFExc.hh
+include/qpdf/QPDFObjGen.hh
+include/qpdf/QPDFObject.hh
+include/qpdf/QPDFObjectHandle.hh
+include/qpdf/QPDFTokenizer.hh
+include/qpdf/QPDFWriter.hh
+include/qpdf/QPDFXRefEntry.hh
+include/qpdf/QTC.hh
+include/qpdf/QUtil.hh
+include/qpdf/RandomDataProvider.hh
+include/qpdf/Types.h
+include/qpdf/qpdf-c.h
lib/libqpdf.so
-lib/libqpdf.so.13
-lib/libqpdf.so.13.1.2
+lib/libqpdf.so.18
+lib/libqpdf.so.18.2.1
libdata/pkgconfig/libqpdf.pc
man/man1/fix-qdf.1.gz
man/man1/qpdf.1.gz
man/man1/zlib-flate.1.gz
-share/doc/qpdf/qpdf-manual.html
-share/doc/qpdf/qpdf-manual.pdf
-share/doc/qpdf/stylesheet.css
+%%PORTDOCS%%%%DOCSDIR%%/qpdf-manual.html
+%%PORTDOCS%%%%DOCSDIR%%/qpdf-manual.pdf
+%%PORTDOCS%%%%DOCSDIR%%/stylesheet.css
More information about the Midnightbsd-cvs
mailing list