From owner-svn-ports-all@FreeBSD.ORG Sat Jan 18 19:47:14 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 6C464931; Sat, 18 Jan 2014 19:47:14 +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 3DC781A9D; Sat, 18 Jan 2014 19:47:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0IJlEtj009986; Sat, 18 Jan 2014 19:47:14 GMT (envelope-from rakuco@svn.freebsd.org) Received: (from rakuco@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0IJlDZS009984; Sat, 18 Jan 2014 19:47:13 GMT (envelope-from rakuco@svn.freebsd.org) Message-Id: <201401181947.s0IJlDZS009984@svn.freebsd.org> From: Raphael Kubo da Costa Date: Sat, 18 Jan 2014 19:47:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r340209 - in branches/2014Q1/graphics/gts: . files X-SVN-Group: ports-branches 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: Sat, 18 Jan 2014 19:47:14 -0000 Author: rakuco Date: Sat Jan 18 19:47:13 2014 New Revision: 340209 URL: http://svnweb.freebsd.org/changeset/ports/340209 QAT: https://qat.redports.org/buildarchive/r340209/ Log: MFH: r340194 - Pass -lm when using gts' pkg-config file. [1] This is also done in the package's upstream darcs repository. - Support staging. - Set LICENSE. - Use the new OPTIONS/LIB_DEPENDS syntax. PR: ports/185263 [1] Submitted by: Tatsuki Makino Approved by: Erik Greenwald (maintainer) Approved by: portmgr (mat) Added: branches/2014Q1/graphics/gts/files/patch-gts.pc.in - copied unchanged from r340194, head/graphics/gts/files/patch-gts.pc.in Modified: branches/2014Q1/graphics/gts/Makefile Directory Properties: branches/2014Q1/ (props changed) Modified: branches/2014Q1/graphics/gts/Makefile ============================================================================== --- branches/2014Q1/graphics/gts/Makefile Sat Jan 18 19:44:47 2014 (r340208) +++ branches/2014Q1/graphics/gts/Makefile Sat Jan 18 19:47:13 2014 (r340209) @@ -3,34 +3,31 @@ PORTNAME= gts PORTVERSION= 0.7.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= erik@bz.bzflag.bz COMMENT= GNU Triangulated Surface Library +LICENSE= LGPL20 + USES= pkgconfig USE_GNOME= glib20 GNU_CONFIGURE= yes USE_LDCONFIG= yes OPTIONS_DEFINE= NETPBM -NETPBM_DESC= Build with libnetpbm support +OPTIONS_SUB= yes + +NETPBM_DESC= Build with libnetpbm support +NETPBM_LIB_DEPENDS= libnetpbm.so:${PORTSDIR}/graphics/netpbm CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes .include -.if ${PORT_OPTIONS:MNETPBM} -LIB_DEPENDS+= netpbm.1:${PORTSDIR}/graphics/netpbm -PLIST_SUB= NETPBM="" -.else -PLIST_SUB= NETPBM="@comment " -.endif - post-extract: .if ! ${PORT_OPTIONS:MNETPBM} @${REINPLACE_CMD} -e 's|netpbm="true"|netpbm="false"|' \ Copied: branches/2014Q1/graphics/gts/files/patch-gts.pc.in (from r340194, head/graphics/gts/files/patch-gts.pc.in) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2014Q1/graphics/gts/files/patch-gts.pc.in Sat Jan 18 19:47:13 2014 (r340209, copy of r340194, head/graphics/gts/files/patch-gts.pc.in) @@ -0,0 +1,10 @@ +--- ./gts.pc.in.orig 2005-01-19 04:48:19.000000000 +0000 ++++ ./gts.pc.in 2013-12-29 08:54:18.000000000 +0000 +@@ -6,6 +6,6 @@ + Name: GTS + Description: GNU Triangulated Surface Library + Version: @VERSION@ + Requires: glib-2.0,gthread-2.0,gmodule-2.0 +-Libs: -L${libdir} @LIBS@ -lgts ++Libs: -L${libdir} @LIBS@ -lgts -lm + Cflags: -I${includedir}