From owner-svn-ports-head@freebsd.org Fri Apr 12 18:00:57 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B1A3915825D4; Fri, 12 Apr 2019 18:00:57 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 54BD885BB4; Fri, 12 Apr 2019 18:00:57 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 293E724EDB; Fri, 12 Apr 2019 18:00:57 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x3CI0vLt097647; Fri, 12 Apr 2019 18:00:57 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x3CI0ubl097645; Fri, 12 Apr 2019 18:00:56 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201904121800.x3CI0ubl097645@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Fri, 12 Apr 2019 18:00:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r498734 - head/graphics/leptonica X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: head/graphics/leptonica X-SVN-Commit-Revision: 498734 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 54BD885BB4 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.974,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Apr 2019 18:00:57 -0000 Author: swills Date: Fri Apr 12 18:00:56 2019 New Revision: 498734 URL: https://svnweb.freebsd.org/changeset/ports/498734 Log: graphics/leptonica: add options PR: 236087 Submitted by: rozhuk.im@gmail.com Approved by: maintainer timeout (hiroto.kagotani@gmail.com, >6 weeks> Modified: head/graphics/leptonica/Makefile (contents, props changed) head/graphics/leptonica/pkg-plist (contents, props changed) Modified: head/graphics/leptonica/Makefile ============================================================================== --- head/graphics/leptonica/Makefile Fri Apr 12 17:41:19 2019 (r498733) +++ head/graphics/leptonica/Makefile Fri Apr 12 18:00:56 2019 (r498734) @@ -3,22 +3,17 @@ PORTNAME= leptonica PORTVERSION= 1.76.0 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= hiroto.kagotani@gmail.com COMMENT= C library for efficient image processing and image analysis operations -LIB_DEPENDS= libgif.so:graphics/giflib \ - libopenjp2.so:graphics/openjpeg \ - libpng.so:graphics/png \ - libtiff.so:graphics/tiff \ - libwebp.so:graphics/webp - LICENSE_FILE= leptonica-license.txt CONFLICTS= leptonlib-[0-9]* -USES= autoreconf jpeg libtool pathfix pkgconfig +USES= autoreconf libtool pathfix pkgconfig USE_GITHUB= yes GH_ACCOUNT= DanBloomberg @@ -28,6 +23,26 @@ USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip + +OPTIONS_DEFINE= BIN GIF JPEG JPEG2000 PNG TIFF WEBP ZLIB +OPTIONS_DEFAULT= BIN GIF JPEG PNG TIFF WEBP ZLIB +OPTIONS_SUB= yes + +BIN_DESC= Build additional programs +BIN_CONFIGURE_ENABLE= programs +GIF_LIB_DEPENDS= libgif.so:graphics/giflib +GIF_CONFIGURE_WITH= giflib +JPEG_USES= jpeg +JPEG_CONFIGURE_WITH= jpeg +JPEG2000_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg +JPEG2000_CONFIGURE_WITH=libopenjpeg +PNG_LIB_DEPENDS= libpng.so:graphics/png +PNG_CONFIGURE_WITH= libpng +TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff +TIFF_CONFIGURE_WITH= libtiff +WEBP_LIB_DEPENDS= libwebp.so:graphics/webp +WEBP_CONFIGURE_WITH= libwebp +ZLIB_CONFIGURE_WITH= zlib TESTS?= generate compare .if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING) Modified: head/graphics/leptonica/pkg-plist ============================================================================== --- head/graphics/leptonica/pkg-plist Fri Apr 12 17:41:19 2019 (r498733) +++ head/graphics/leptonica/pkg-plist Fri Apr 12 18:00:56 2019 (r498734) @@ -1,12 +1,12 @@ -bin/convertfilestopdf -bin/convertfilestops -bin/convertformat -bin/convertsegfilestopdf -bin/convertsegfilestops -bin/converttopdf -bin/converttops -bin/fileinfo -bin/xtractprotos +%%BIN%%bin/convertfilestopdf +%%BIN%%bin/convertfilestops +%%BIN%%bin/convertformat +%%BIN%%bin/convertsegfilestopdf +%%BIN%%bin/convertsegfilestops +%%BIN%%bin/converttopdf +%%BIN%%bin/converttops +%%BIN%%bin/fileinfo +%%BIN%%bin/xtractprotos include/leptonica/allheaders.h include/leptonica/alltypes.h include/leptonica/array.h