From owner-svn-ports-head@freebsd.org Mon Aug 15 18:07:24 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C4874BBB812; Mon, 15 Aug 2016 18:07:24 +0000 (UTC) (envelope-from pawel@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 mx1.freebsd.org (Postfix) with ESMTPS id 9FD5E15EB; Mon, 15 Aug 2016 18:07:24 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7FI7NJ1069626; Mon, 15 Aug 2016 18:07:23 GMT (envelope-from pawel@FreeBSD.org) Received: (from pawel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7FI7N15069623; Mon, 15 Aug 2016 18:07:23 GMT (envelope-from pawel@FreeBSD.org) Message-Id: <201608151807.u7FI7N15069623@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pawel set sender to pawel@FreeBSD.org using -f From: Pawel Pekala Date: Mon, 15 Aug 2016 18:07:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r420259 - in head/graphics/jpgraph2: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 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: Mon, 15 Aug 2016 18:07:24 -0000 Author: pawel Date: Mon Aug 15 18:07:23 2016 New Revision: 420259 URL: https://svnweb.freebsd.org/changeset/ports/420259 Log: - Update to version 4.0.1 - Clarify license, update WWW homepage - MASTER_SITE change: MASTER_SITE has been changed to fossies.org because I have contacted with jpgraph.net and ask if they can provide to me direct download link instead of some php script url, but they wont. - Convert to USES=php - Use COPYTREE_SHARE in place of CP to make sure proper permissions on files are set and simplify things a bit - Split install target to option helpers ones PR: 211772 (based on) Submitted by: Eero Hanninen Deleted: head/graphics/jpgraph2/files/ Modified: head/graphics/jpgraph2/Makefile head/graphics/jpgraph2/distinfo head/graphics/jpgraph2/pkg-descr Modified: head/graphics/jpgraph2/Makefile ============================================================================== --- head/graphics/jpgraph2/Makefile Mon Aug 15 17:55:18 2016 (r420258) +++ head/graphics/jpgraph2/Makefile Mon Aug 15 18:07:23 2016 (r420259) @@ -2,27 +2,26 @@ # $FreeBSD$ PORTNAME= jpgraph -PORTVERSION= 3.0.7 -PORTREVISION= 1 +PORTVERSION= 4.0.1 CATEGORIES= graphics -MASTER_SITES= http://hem.bredband.net/jpgraph2/ -PKGNAMESUFFIX= 2 +MASTER_SITES= http://fossies.org/linux/www/ MAINTAINER= ports@FreeBSD.org COMMENT= Draw both "quick and dirty" graphs with a minimum of code -LICENSE= jpgraph -LICENSE_NAME= JpGraph license -LICENSE_FILE= ${WRKSRC}/README -LICENSE_PERMS= dist-mirror pkg-mirror auto-accept +LICENSE= QPL +LICENSE_NAME= Q PUBLIC LICENSE version 1.0 +LICENSE_TEXT= Please refer to: http://www.opensource.org/licenses/qtpl.php for details +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + +RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu BROKEN_powerpc64= Does not build -USES= tar:bzip2 +USES= php tar:bzip2 +USE_PHP= gd NO_ARCH= yes NO_BUILD= yes -NO_WRKSUBDIR= yes -USE_PHP= gd NO_CDROM= The free version cannot be used in a commercial context @@ -32,14 +31,23 @@ PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES +post-patch: + @${REINPLACE_CMD} '/TrueType/ s|// ||; \ + s|/usr/share/fonts/TrueType|${LOCALBASE}/share/fonts/dejavu|' \ + ${WRKSRC}/src/jpg-config.inc.php + do-install: @${MKDIR} ${STAGEDIR}${DATADIR} - ${CP} ${WRKSRC}/src/*.php ${STAGEDIR}${DATADIR} - ${CP} ${WRKSRC}/src/*.dat ${STAGEDIR}${DATADIR} - ${CP} -R ${WRKSRC}/src/lang ${STAGEDIR}${DATADIR} + (cd ${WRKSRC}/src && ${COPYTREE_SHARE} "*.php *.dat lang themes" \ + ${STAGEDIR}${DATADIR}) + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${CP} -R ${WRKSRC}/docportal/* ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + +do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - ${CP} ${WRKSRC}/src/Examples/* ${STAGEDIR}${EXAMPLESDIR} + ${RM} ${WRKSRC}/src/Examples/jpgraph + (cd ${WRKSRC}/src/Examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include Modified: head/graphics/jpgraph2/distinfo ============================================================================== --- head/graphics/jpgraph2/distinfo Mon Aug 15 17:55:18 2016 (r420258) +++ head/graphics/jpgraph2/distinfo Mon Aug 15 18:07:23 2016 (r420259) @@ -1,2 +1,3 @@ -SHA256 (jpgraph-3.0.7.tar.bz2) = 412a1aaf47c7d70c5a4350d1c571ebb88c77138d9b95afd51895c44f188a03b6 -SIZE (jpgraph-3.0.7.tar.bz2) = 10541173 +TIMESTAMP = 1470907503 +SHA256 (jpgraph-4.0.1.tar.bz2) = 256ce5c5f9c111841fcafc2fd53d5042176c91f03724bc76cbca29f23ece3771 +SIZE (jpgraph-4.0.1.tar.bz2) = 12710087 Modified: head/graphics/jpgraph2/pkg-descr ============================================================================== --- head/graphics/jpgraph2/pkg-descr Mon Aug 15 17:55:18 2016 (r420258) +++ head/graphics/jpgraph2/pkg-descr Mon Aug 15 18:07:23 2016 (r420259) @@ -4,4 +4,4 @@ professional looking graphs which requir The library assigns context sensitive default values for most parameters which helps minimize the learning curve. -WWW: http://www.aditus.nu/jpgraph/ +WWW: http://jpgraph.net/