Index: head/graphics/gtk-update-icon-cache/Makefile =================================================================== --- head/graphics/gtk-update-icon-cache/Makefile (revision 297046) +++ head/graphics/gtk-update-icon-cache/Makefile (revision 297047) @@ -1,70 +1,70 @@ # New ports collection makefile for: gtk-update-icon-cache # Date Created: 4 Mar 2011 # Whom: Koop Mast # # $FreeBSD$ # $MCom: ports/graphics/gtk-update-icon-cache/Makefile,v 1.6 2011/06/16 17:36:39 kwm Exp $ # PORTNAME= gtk-update-icon-cache PORTVERSION= 2.24.6 PORTREVISION?= 0 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/,} \ ftp://ftp.gtk.org/pub/gtk/%SUBDIR%/ \ ftp://ftp.gimp.org/pub/%SUBDIR%/ \ ftp://ftp.cs.umn.edu/pub/gimp/%SUBDIR%/ \ http://www.ameth.org/gimp/%SUBDIR%/ \ ftp://ftp.mirror.ac.uk/sites/ftp.gimp.org/pub/%SUBDIR%/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/gimp/%SUBDIR%,} MASTER_SITE_SUBDIR= gtk/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} DISTNAME= gtk+-${PORTVERSION} DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= gtk-update-icon-cache utility from the Gtk+ toolkit. LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING USE_XZ= yes BUILD_DEPENDS+= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection RUN_DEPENDS+= ${LOCALBASE}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info \ ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme USE_GMAKE= yes USE_PERL5_BUILD=yes MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes USE_AUTOTOOLS= libtool USE_GNOME= gnomehack atk pango gdkpixbuf2 ltverhack USE_GETTEXT= yes USE_XORG= xext xrender x11 xinerama xi xrandr xcursor xfixes xdamage \ xcomposite PATCHDIR= ${.CURDIR}/../../x11-toolkits/gtk20/files CONFIGURE_ARGS= --enable-static --with-xinput=yes CPPFLAGS+= -I${LOCALBASE}/include/freetype2 \ -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= bin/gtk-update-icon-cache MAN1= gtk-update-icon-cache.1 .include pre-configure: -.if !exists(${LOCALBASE}/libdata/pkgconfig/cairo-xlib.pc) - @${ECHO_CMD} "${PKGNAME}: Needs cairo build with X11 support." - @${FALSE} -.endif + @if [ ! -f ${LOCALBASE}/libdata/pkgconfig/cairo-xlib.pc ]; then \ + ${ECHO_CMD} "${PKGNAME}: Needs cairo built with X11 support."; \ + ${FALSE}; \ + fi do-build: @cd ${WRKSRC}/gtk && ${GMAKE} gtk-update-icon-cache do-install: @${INSTALL_PROGRAM} ${WRKSRC}/gtk/gtk-update-icon-cache \ ${PREFIX}/bin/ @${INSTALL_MAN} ${WRKSRC}/docs/reference/gtk/gtk-update-icon-cache.1 \ ${PREFIX}/man/man1/ .include Property changes on: head/graphics/gtk-update-icon-cache/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property