From owner-svn-ports-all@FreeBSD.ORG Sun Mar 29 22:05:30 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BEF61B9B; Sun, 29 Mar 2015 22:05:30 +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 904B675; Sun, 29 Mar 2015 22:05:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2TM5UZn063507; Sun, 29 Mar 2015 22:05:30 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2TM5UIX063506; Sun, 29 Mar 2015 22:05:30 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201503292205.t2TM5UIX063506@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Sun, 29 Mar 2015 22:05:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r382628 - head/devel/gps 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.18-1 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: Sun, 29 Mar 2015 22:05:30 -0000 Author: marino Date: Sun Mar 29 22:05:29 2015 New Revision: 382628 URL: https://svnweb.freebsd.org/changeset/ports/382628 QAT: https://qat.redports.org/buildarchive/r382628/ Log: devel/gps: Require librsvg2 to display menu icons Also rework empty directory removal from stagedir to fix failed check-plist. Modified: head/devel/gps/Makefile Modified: head/devel/gps/Makefile ============================================================================== --- head/devel/gps/Makefile Sun Mar 29 21:29:29 2015 (r382627) +++ head/devel/gps/Makefile Sun Mar 29 22:05:29 2015 (r382628) @@ -3,7 +3,7 @@ PORTNAME= gps PORTVERSION= 6.1.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://downloads.dragonlace.net/src/ PKGNAMESUFFIX= -ide @@ -19,6 +19,7 @@ BUILD_DEPENDS= gprbuild>=20140417:${PORT templates_parser>11:${PORTSDIR}/textproc/templates_parser LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \ libgtkada.so:${PORTSDIR}/x11-toolkits/gtkada3 +RUN_DEPENDS= rsvg-convert:${PORTSDIR}/graphics/librsvg2 # See note GNU_CONFIGURE= yes USES= ada gmake perl5 pkgconfig python tar:bzip2 @@ -31,6 +32,12 @@ GPSVER= GPS_VERSION=${PORTVERSION} ALL_TARGET= default NO_MTREE= yes +# note: librsvg2 is needed to display the svg icons in the menu. Actually +# needed is lib/gdk-pixbuf-2.0/%%GTK2_VER%%/loaders/libpixbufloader-svg.so , +# but it's a variable library needed only at runtime, which is obnoxious so +# we just request the sole binary to pull in the package which effectively +# accomplishes what is desired. + OPTIONS_DEFINE= READLINE SYSLOG PGSQL DEBUG DOCS EXAMPLES OPTIONS_DEFAULT= READLINE SYSLOG OPTIONS_SUB= yes @@ -121,8 +128,7 @@ post-install: ${RM} -rf ${STAGEDIR}${PREFIX}/share/doc/gps/html/tutorial/_sources echo "This is the GPS GPL Edition for the FreeBSD Ports Collection." \ > ${STAGEDIR}${PREFIX}/share/gps/about.txt - @(cd ${STAGEDIR}${PREFIX} ; \ - ${FIND} * -type d -empty -print | ${XARGS} ${RMDIR}) + ${FIND} ${STAGEDIR}${PREFIX} -type d -empty -delete @(cd ${STAGEDIR}${PREFIX} ; \ ${FIND} * \( -type f -or -type l \) | ${SORT} >> ${TMPPLIST})