From owner-svn-ports-head@FreeBSD.ORG Fri Nov 15 18:32:18 2013 Return-Path: Delivered-To: svn-ports-head@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 D8C7DB04; Fri, 15 Nov 2013 18:32:18 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AD0CF2CD4; Fri, 15 Nov 2013 18:32:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAFIWILt027947; Fri, 15 Nov 2013 18:32:18 GMT (envelope-from dinoex@svn.freebsd.org) Received: (from dinoex@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAFIWIWT027946; Fri, 15 Nov 2013 18:32:18 GMT (envelope-from dinoex@svn.freebsd.org) Message-Id: <201311151832.rAFIWIWT027946@svn.freebsd.org> From: Dirk Meyer Date: Fri, 15 Nov 2013 18:32:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333909 - head/graphics/gd 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.16 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, 15 Nov 2013 18:32:18 -0000 Author: dinoex Date: Fri Nov 15 18:32:18 2013 New Revision: 333909 URL: http://svnweb.freebsd.org/changeset/ports/333909 Log: - use STAGEDIR - use OPT_CONFIGURE_* Modified: head/graphics/gd/Makefile Modified: head/graphics/gd/Makefile ============================================================================== --- head/graphics/gd/Makefile Fri Nov 15 18:04:33 2013 (r333908) +++ head/graphics/gd/Makefile Fri Nov 15 18:32:18 2013 (r333909) @@ -11,13 +11,12 @@ MASTER_SITES= http://cdn.bitbucket.org/l MAINTAINER?= dinoex@FreeBSD.org COMMENT?= A graphics library for fast creation of images -LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \ - tiff:${PORTSDIR}/graphics/tiff \ - png15:${PORTSDIR}/graphics/png \ - freetype:${PORTSDIR}/print/freetype2 +LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ + libtiff.so:${PORTSDIR}/graphics/tiff \ + libpng15.so:${PORTSDIR}/graphics/png \ + libfreetype.so:${PORTSDIR}/print/freetype2 CONFLICTS= bazaar-1.* -NO_STAGE= yes USE_XZ= yes USES= pkgconfig @@ -29,6 +28,14 @@ USE_LDCONFIG= yes OPTIONS_DEFINE= FONTCONFIG ICONV VPX XPM OPTIONS_DEFAULT=FONTCONFIG NO_OPTIONS_SORT=yes +FONTCONFIG_LIB_DEPENDS+= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig +FONTCONFIG_CONFIGURE_OFF= --with-fontconfig=no +ICONV_USES= iconv +ICONV_CONFIGURE_WITH= libiconv +ICONV_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} +ICONV_CONFIGURE_OFF= --with-libiconv-prefix=no +VPX_LIB_DEPENDS= libvpx.so:${PORTSDIR}/multimedia/libvpx +VPX_CONFIGURE_OFF= --without-vpx .include @@ -36,26 +43,6 @@ PKGCONFIGDIR?= ${LOCALBASE}/libdata/pkgc # force gdlib-config --ldflags LDFLAGS+= -L${LOCALBASE}/lib -.if ${PORT_OPTIONS:MFONTCONFIG} -LIB_DEPENDS+= fontconfig:${PORTSDIR}/x11-fonts/fontconfig -.else -GNU_CONFIGURE_ARGS+= --with-fontconfig=no -.endif - -.if ${PORT_OPTIONS:MICONV} -USES+= iconv -GNU_CONFIGURE_ARGS+= ${ICONV_CONFIGURE_ARG} -.else -GNU_CONFIGURE_ARGS+= --without-libiconv -GNU_CONFIGURE_ARGS+= --with-libiconv-prefix=no -.endif - -.if ${PORT_OPTIONS:MVPX} -LIB_DEPENDS+= vpx:${PORTSDIR}/multimedia/libvpx -.else -CONFIGURE_ARGS+= --without-vpx -.endif - # honor global WITHOUT_X11 .if !defined(WITHOUT_X11) .if ${PORT_OPTIONS:MXPM} @@ -127,6 +114,6 @@ pre-build: post-install: ${INSTALL_DATA} ${WRKSRC}/src/gdhelpers.h \ - ${PREFIX}/include/ + ${STAGEDIR}${PREFIX}/include/ .include