Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 15 additions & 16 deletions graphics/leptonica/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,28 @@

PortSystem 1.0

name leptonica
version 1.86.0
revision 0
categories graphics science devel
license BSD
PortGroup github 1.0

maintainers {stromnov @stromnov} openmaintainer
github.setup DanBloomberg leptonica 1.87.0
github.tarball_from releases
revision 0

description image processing and image analysis library
long_description ${name} is an {*}${description}.

homepage http://www.leptonica.org/
master_sites http://www.leptonica.org/source/
categories graphics science devel
license BSD

maintainers {stromnov @stromnov} openmaintainer

checksums rmd160 cfbbf0b6087749509fc110e3ba6e1ee1a0c3388c \
sha256 1fa08e40bb37fd45802d5e6e7b43927449a5c47d4608ef99d3bd3f0fa76baedc \
size 14802116
checksums rmd160 d94a571272ad3ecdd359d91cabc3d354f556bda7 \
sha256 c73363397f96eb1295602bf44d708a994ad42046c791bf03ea0505d829bdb6a7 \
size 14802808

depends_build port:pkgconfig
depends_build-append \
port:pkgconfig

depends_lib port:tiff \
depends_lib-append port:tiff \
port:zlib \
port:libpng \
path:include/turbojpeg.h:libjpeg-turbo \
Expand All @@ -43,6 +44,4 @@ configure.cppflags-prepend \
configure.ldflags-prepend \
-L${prefix}/lib/giflib5/lib

livecheck.type regex
livecheck.url http://www.leptonica.org/download.html
livecheck.regex {leptonica-(\d+(?:\.\d+)*)\.[tz]}
github.livecheck.regex {([0-9.]+)}