diff options
author | John Marino <marino@FreeBSD.org> | 2015-03-29 22:05:29 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2015-03-29 22:05:29 +0000 |
commit | 39804ff91770c0e44dbc9041b7044a638c9044e8 (patch) | |
tree | 3a374b6756722c60fb30004c1143557a4d018e61 | |
parent | devel/rubygem-ffi: update to 1.9.8 (diff) |
devel/gps: Require librsvg2 to display menu icons
Also rework empty directory removal from stagedir to fix failed
check-plist.
Notes
Notes:
svn path=/head/; revision=382628
-rw-r--r-- | devel/gps/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/devel/gps/Makefile b/devel/gps/Makefile index af53959cd116..3c566363fc07 100644 --- a/devel/gps/Makefile +++ b/devel/gps/Makefile @@ -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:${PORTSDIR}/devel/gprbuild \ 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}) |