Index: graphics/leptonica/Makefile =================================================================== --- graphics/leptonica/Makefile +++ graphics/leptonica/Makefile @@ -2,10 +2,8 @@ # $FreeBSD$ PORTNAME= leptonica -PORTVERSION= 1.74.1 -PORTREVISION= 1 +PORTVERSION= 1.76.0 CATEGORIES= graphics -MASTER_SITES= http://www.leptonica.com/source/ MAINTAINER= hiroto.kagotani@gmail.com COMMENT= C library for efficient image processing and image analysis operations @@ -16,9 +14,16 @@ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp +LICENSE_FILE= leptonica-license.txt + CONFLICTS= leptonlib-[0-9]* +CONFLICTS_BUILD= openjpeg15 + +USES= jpeg autoreconf libtool pathfix pkgconfig + +USE_GITHUB= yes +GH_ACCOUNT= DanBloomberg -USES= jpeg libtool pathfix GNU_CONFIGURE= yes USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include Index: graphics/leptonica/distinfo =================================================================== --- graphics/leptonica/distinfo +++ graphics/leptonica/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1487336576 -SHA256 (leptonica-1.74.1.tar.gz) = 746a517a47a3bd2a90bc8d581ca6464c10f30e91a60209735efe45b3778bec62 -SIZE (leptonica-1.74.1.tar.gz) = 11707064 +TIMESTAMP = 1526412216 +SHA256 (DanBloomberg-leptonica-1.76.0_GH0.tar.gz) = ff98ffef6103cda0e400676f81113a8157569ac0f453c6e03a1a27b305ba25a7 +SIZE (DanBloomberg-leptonica-1.76.0_GH0.tar.gz) = 11557709 Index: graphics/leptonica/files/patch-configure =================================================================== --- graphics/leptonica/files/patch-configure +++ graphics/leptonica/files/patch-configure @@ -1,11 +0,0 @@ ---- configure.orig 2017-01-02 21:49:40 UTC -+++ configure -@@ -12929,7 +12929,7 @@ if test "x$ac_cv_lib_openjp2_opj_create_ - $as_echo "#define HAVE_LIBJP2K 1" >>confdefs.h - LIBJP2K_LIBS=-lopenjp2 - -- for ac_header in openjpeg-2.2/openjpeg.h openjpeg-2.1/openjpeg.h openjpeg-2.0/openjpeg.h -+ for ac_header in openjpeg-2.3/openjpeg.h openjpeg-2.2/openjpeg.h openjpeg-2.1/openjpeg.h openjpeg-2.0/openjpeg.h - do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` - ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" Index: graphics/leptonica/pkg-plist =================================================================== --- graphics/leptonica/pkg-plist +++ graphics/leptonica/pkg-plist @@ -6,10 +6,6 @@ bin/converttopdf bin/converttops bin/fileinfo -bin/printimage -bin/printsplitimage -bin/printtiff -bin/splitimage2pdf bin/xtractprotos include/leptonica/allheaders.h include/leptonica/alltypes.h @@ -45,5 +41,5 @@ lib/liblept.a lib/liblept.so lib/liblept.so.5 -lib/liblept.so.5.0.1 +lib/liblept.so.5.0.3 libdata/pkgconfig/lept.pc