From owner-svn-ports-all@FreeBSD.ORG Thu Nov 21 13:50:37 2013 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 4559160F; Thu, 21 Nov 2013 13:50:37 +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 2618A2909; Thu, 21 Nov 2013 13:50:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rALDobLw008585; Thu, 21 Nov 2013 13:50:37 GMT (envelope-from bsam@svn.freebsd.org) Received: (from bsam@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rALDoaEI008583; Thu, 21 Nov 2013 13:50:36 GMT (envelope-from bsam@svn.freebsd.org) Message-Id: <201311211350.rALDoaEI008583@svn.freebsd.org> From: Boris Samorodov Date: Thu, 21 Nov 2013 13:50:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334492 - head/graphics/iccexamin 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.16 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: Thu, 21 Nov 2013 13:50:37 -0000 Author: bsam Date: Thu Nov 21 13:50:36 2013 New Revision: 334492 URL: http://svnweb.freebsd.org/changeset/ports/334492 Log: . support STAGE; . use new LIB_DEPENDS syntax; . use native iconv at FreeBSD > 9.x; . remove build dependency upon devel/xdg-utils (they install files to PREFIX) and use post-install target to install files to STAGEDIR. Modified: head/graphics/iccexamin/Makefile head/graphics/iccexamin/pkg-plist Modified: head/graphics/iccexamin/Makefile ============================================================================== --- head/graphics/iccexamin/Makefile Thu Nov 21 13:38:43 2013 (r334491) +++ head/graphics/iccexamin/Makefile Thu Nov 21 13:50:36 2013 (r334492) @@ -12,14 +12,13 @@ COMMENT= ICC profile viewer and colour v LICENSE= GPLv2 -BUILD_DEPENDS= ${LOCALBASE}/bin/xdg-desktop-menu:${PORTSDIR}/devel/xdg-utils -LIB_DEPENDS= fltk:${PORTSDIR}/x11-toolkits/fltk \ - ftgl:${PORTSDIR}/graphics/ftgl \ - lcms:${PORTSDIR}/graphics/lcms \ - png15:${PORTSDIR}/graphics/png \ - tiff:${PORTSDIR}/graphics/tiff \ - jpeg:${PORTSDIR}/graphics/jpeg \ - oyranos:${PORTSDIR}/graphics/oyranos +LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk \ + libftgl.so:${PORTSDIR}/graphics/ftgl \ + liblcms.so:${PORTSDIR}/graphics/lcms \ + libpng15.so:${PORTSDIR}/graphics/png \ + libtiff.so:${PORTSDIR}/graphics/tiff \ + libjpeg.so:${PORTSDIR}/graphics/jpeg \ + liboyranos.so:${PORTSDIR}/graphics/oyranos MAKE_JOBS_UNSAFE= yes USES= gettext iconv pkgconfig @@ -27,9 +26,16 @@ USE_BZIP2= yes HAS_CONFIGURE= yes INSTALLS_ICONS= yes USE_XORG= # -CONFIGURE_ARGS+=--mandir=${PREFIX}/man --prefix=${PREFIX} +CONFIGURE_ARGS+=--mandir=${PREFIX}/man -MAN1= iccexamin.1 +post-patch: + @${REINPLACE_CMD} 's:\\$$(iconv):${ICONV_LIB}:' \ + ${WRKSRC}/configure ${WRKSRC}/fl_i18n/makefile.in + @${REINPLACE_CMD} 's:-xdg:#-xdg:' ${WRKSRC}/makefile.in + +post-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps + ${INSTALL_DATA} ${WRKSRC}/icc_examin.svg \ + ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/iccexamin.png -NO_STAGE= yes .include Modified: head/graphics/iccexamin/pkg-plist ============================================================================== --- head/graphics/iccexamin/pkg-plist Thu Nov 21 13:38:43 2013 (r334491) +++ head/graphics/iccexamin/pkg-plist Thu Nov 21 13:50:36 2013 (r334492) @@ -2,13 +2,14 @@ bin/iccexamin share/applications/iccexamin.desktop share/fonts/FreeSans.ttf share/icons/hicolor/128x128/apps/iccexamin.png -share/pixmaps/hicolor/scalable/iccexamin.svg -share/pixmaps/iccexamin.png share/locale/cs/LC_MESSAGES/icc_examin.mo share/locale/de/LC_MESSAGES/icc_examin.mo share/locale/eo/LC_MESSAGES/icc_examin.mo share/locale/eu/LC_MESSAGES/icc_examin.mo share/locale/fr/LC_MESSAGES/icc_examin.mo +share/pixmaps/hicolor/scalable/iccexamin.svg +share/pixmaps/iccexamin.png +man/man1/iccexamin.1.gz @dirrmtry share/pixmaps/hicolor/scalable @dirrmtry share/pixmaps/hicolor @dirrmtry share/fonts