Date: Thu, 21 Nov 2013 13:50:36 +0000 (UTC) From: Boris Samorodov <bsam@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334492 - head/graphics/iccexamin Message-ID: <201311211350.rALDoaEI008583@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311211350.rALDoaEI008583>