summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/leptonica/Makefile13
-rw-r--r--graphics/leptonica/distinfo6
-rw-r--r--graphics/leptonica/files/patch-configure11
-rw-r--r--graphics/leptonica/pkg-plist6
4 files changed, 13 insertions, 23 deletions
diff --git a/graphics/leptonica/Makefile b/graphics/leptonica/Makefile
index 95cd8e05ad25..af5a027e120e 100644
--- a/graphics/leptonica/Makefile
+++ b/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 @@ LIB_DEPENDS= libgif.so:graphics/giflib \
libtiff.so:graphics/tiff \
libwebp.so:graphics/webp
+LICENSE_FILE= leptonica-license.txt
+
CONFLICTS= leptonlib-[0-9]*
+CONFLICTS_BUILD= openjpeg15
+
+USES= autoreconf jpeg libtool pathfix pkgconfig
+
+USE_GITHUB= yes
+GH_ACCOUNT= DanBloomberg
-USES= jpeg libtool pathfix
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/graphics/leptonica/distinfo b/graphics/leptonica/distinfo
index 8a1764793bab..31fd7266c77f 100644
--- a/graphics/leptonica/distinfo
+++ b/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
diff --git a/graphics/leptonica/files/patch-configure b/graphics/leptonica/files/patch-configure
deleted file mode 100644
index d071860e1651..000000000000
--- a/graphics/leptonica/files/patch-configure
+++ /dev/null
@@ -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"
diff --git a/graphics/leptonica/pkg-plist b/graphics/leptonica/pkg-plist
index 794684d918f8..1006f70adeeb 100644
--- a/graphics/leptonica/pkg-plist
+++ b/graphics/leptonica/pkg-plist
@@ -6,10 +6,6 @@ bin/convertsegfilestops
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 @@ include/leptonica/watershed.h
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