From owner-svn-ports-all@freebsd.org Sat Jun 2 09:05:50 2018 Return-Path: Delivered-To: svn-ports-all@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 223BBEF8E12; Sat, 2 Jun 2018 09:05:50 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CB813766B0; Sat, 2 Jun 2018 09:05:49 +0000 (UTC) (envelope-from yuri@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 AD8B05BAF; Sat, 2 Jun 2018 09:05:49 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5295nmX020474; Sat, 2 Jun 2018 09:05:49 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5295ngl020473; Sat, 2 Jun 2018 09:05:49 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201806020905.w5295ngl020473@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 2 Jun 2018 09:05:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r471352 - head/graphics/gmic X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/graphics/gmic X-SVN-Commit-Revision: 471352 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2018 09:05:50 -0000 Author: yuri Date: Sat Jun 2 09:05:49 2018 New Revision: 471352 URL: https://svnweb.freebsd.org/changeset/ports/471352 Log: graphics/gmic: Add options PLUGINS X11 Also simplify EXTRACT_ONLY and move plist to pkg-plist. Reported by: mat (EXTRACT_ONLY simplification) Added: head/graphics/gmic/pkg-plist (contents, props changed) Modified: head/graphics/gmic/Makefile Modified: head/graphics/gmic/Makefile ============================================================================== --- head/graphics/gmic/Makefile Sat Jun 2 08:56:35 2018 (r471351) +++ head/graphics/gmic/Makefile Sat Jun 2 09:05:49 2018 (r471352) @@ -3,11 +3,12 @@ PORTNAME= gmic DISTVERSIONPREFIX= v. DISTVERSION= 2.2.3 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://gmic.eu/:gmic_stdlib DISTFILES= gmic_stdlib.h:gmic_stdlib DIST_SUBDIR= ${PORTNAME}-${DISTVERSIONFULL} -EXTRACT_ONLY= dtschump-gmic-${DISTVERSIONFULL}_GH0.tar.gz +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= yuri@FreeBSD.org COMMENT= Framework for image processing @@ -33,17 +34,23 @@ LIB_DEPENDS= libfftw3.so:math/fftw3 \ USES= cmake:outsource compiler:c++11-lang jpeg pkgconfig USE_GITHUB= yes GH_ACCOUNT= dtschump -USE_XORG= ice sm x11 xext USE_LDCONFIG= yes CMAKE_OFF= BUILD_LIB_STATIC CMAKE_ON= ENABLE_DYNAMIC_LINKING -PLIST_FILES= bin/gmic \ - include/gmic.h \ - lib/libgmic.so \ - lib/libgmic.so.1 \ - man/man1/gmic.1.gz +OPTIONS_DEFINE= PLUGINS X11 +OPTIONS_DEFAULT= X11 +OPTIONS_SUB= yes + +PLUGINS_CMAKE_BOOL= BUILD_PLUGIN +PLUGINS_USE= GNOME=atk,cairo,gdkpixbuf2,glib20,gtk20,pango +PLUGINS_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 \ + libgimp-2.0.so:graphics/gimp-app + +X11_CMAKE_BOOL= ENABLE_X +X11_USE= XORG=ice,sm,x11,xext post-extract: @${CP} ${DISTDIR}/${DIST_SUBDIR}/gmic_stdlib.h ${WRKSRC}/src/ Added: head/graphics/gmic/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/gmic/pkg-plist Sat Jun 2 09:05:49 2018 (r471352) @@ -0,0 +1,7 @@ +bin/gmic +include/gmic.h +lib/libgmic.so +lib/libgmic.so.1 +man/man1/gmic.1.gz +%%PLUGINS%%libexec/gimp/2.2/plug-ins/gmic_film_cluts.gmz +%%PLUGINS%%libexec/gimp/2.2/plug-ins/gmic_gimp_gtk