From owner-svn-ports-all@freebsd.org Sat May 2 07:13:44 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 972702C5DBF; Sat, 2 May 2020 07:13:44 +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.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 49DgMX3XcWz3LlN; Sat, 2 May 2020 07:13:44 +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 74C0F1DEB4; Sat, 2 May 2020 07:13:44 +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 0427DivD069663; Sat, 2 May 2020 07:13:44 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0427DijE069662; Sat, 2 May 2020 07:13:44 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202005020713.0427DijE069662@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 2 May 2020 07:13:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r533670 - head/graphics/mscgen X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/graphics/mscgen X-SVN-Commit-Revision: 533670 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.29 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 May 2020 07:13:44 -0000 Author: yuri Date: Sat May 2 07:13:44 2020 New Revision: 533670 URL: https://svnweb.freebsd.org/changeset/ports/533670 Log: graphics/mscgen: Add missing dependencies; Add licence; Change to use option helpers Approved by: portmgr (port compliance) Modified: head/graphics/mscgen/Makefile Modified: head/graphics/mscgen/Makefile ============================================================================== --- head/graphics/mscgen/Makefile Sat May 2 06:45:30 2020 (r533669) +++ head/graphics/mscgen/Makefile Sat May 2 07:13:44 2020 (r533670) @@ -3,7 +3,7 @@ PORTNAME= mscgen PORTVERSION= 0.20 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics MASTER_SITES= http://www.mcternan.me.uk/mscgen/software/ \ http://romain.blogreen.org/distfiles/ @@ -12,26 +12,27 @@ DISTNAME= ${PORTNAME}-src-${PORTVERSION} MAINTAINER= romain@FreeBSD.org COMMENT= Message Sequence Chart Renderer -OPTIONS_DEFINE= FREETYPE PNG -OPTIONS_DEFAULT=FREETYPE PNG +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING -.include +LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ + libtiff.so:graphics/tiff \ + libwebp.so:graphics/webp -.if ${PORT_OPTIONS:MFREETYPE} -CONFIGURE_ARGS+=--with-freetype -LIB_DEPENDS+= libfreetype.so:print/freetype2 -.else -CONFIGURE_ARGS+=--without-freetype -.endif +USES= jpeg -.if ${PORT_OPTIONS:MPNG} -CONFIGURE_ARGS+=--with-png -LIB_DEPENDS+= libgd.so:graphics/gd -.else -CONFIGURE_ARGS+=--without-png -.endif +GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -GNU_CONFIGURE= yes + +OPTIONS_DEFINE= FREETYPE PNG +OPTIONS_DEFAULT= FREETYPE PNG + +FREETYPE_CONFIGURE_WITH= freetype +FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 + +PNG_CONFIGURE_WITH= png +PNG_LIB_DEPENDS= libgd.so:graphics/gd \ + libpng16.so:graphics/png .include