From owner-svn-ports-all@FreeBSD.ORG Mon Apr 28 10:14:20 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6B73A7FF; Mon, 28 Apr 2014 10:14:20 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 5817915D8; Mon, 28 Apr 2014 10:14:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3SAEKjo069072; Mon, 28 Apr 2014 10:14:20 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3SAEKdU069071; Mon, 28 Apr 2014 10:14:20 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201404281014.s3SAEKdU069071@svn.freebsd.org> From: Pawel Pekala Date: Mon, 28 Apr 2014 10:14:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r352479 - head/graphics/phplot X-SVN-Group: ports-head 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.17 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: Mon, 28 Apr 2014 10:14:20 -0000 Author: pawel Date: Mon Apr 28 10:14:19 2014 New Revision: 352479 URL: http://svnweb.freebsd.org/changeset/ports/352479 QAT: https://qat.redports.org/buildarchive/r352479/ Log: - Add staging support - Convert to new LIB_DEPENDS format - Use option helper - Define DOCS option - Unmute install commands Modified: head/graphics/phplot/Makefile Modified: head/graphics/phplot/Makefile ============================================================================== --- head/graphics/phplot/Makefile Mon Apr 28 09:57:02 2014 (r352478) +++ head/graphics/phplot/Makefile Mon Apr 28 10:14:19 2014 (r352479) @@ -13,35 +13,26 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}${E MAINTAINER= ports@FreeBSD.org COMMENT= PHP class for creating scientific and business charts -LIB_DEPENDS+= gd:${PORTSDIR}/graphics/gd +LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd USES= zip USE_PHP= yes DEFAULT_PHP_VER= 5 NO_BUILD= YES -PHPLOT_DIR= ${PREFIX}/include/php/phplot +PHPLOT_DIR= ${STAGEDIR}${PREFIX}/include/php/phplot LIBS= phplot.php rgb.inc.php -OPTIONS_DEFINE= FONTS +OPTIONS_DEFINE= DOCS FONTS OPTIONS_DEFAULT= FONTS FONTS_DESC= install TrueType fonts - -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MFONTS} -LIB_DEPENDS+= libfreetype.so:${PORTSDIR}/print/freetype2 -.endif +FONTS_LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 do-install: @${MKDIR} ${PHPLOT_DIR} - @${INSTALL_DATA} ${LIBS:S,^,${WRKSRC}/,} ${PHPLOT_DIR}/ - -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @cd ${WRKDIR}/phplotdocs && ${COPYTREE_SHARE} . ${DOCSDIR}/ -.endif + ${INSTALL_DATA} ${LIBS:S,^,${WRKSRC}/,} ${PHPLOT_DIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKDIR}/phplotdocs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include