aboutsummaryrefslogtreecommitdiff
path: root/graphics/iccexamin
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2013-11-21 13:50:36 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2013-11-21 13:50:36 +0000
commit0e2dd4165b78752a1cbd79f13ef7802dd976c230 (patch)
tree5401abbb885ed3090051673c604bf4c6e89bd515 /graphics/iccexamin
parent4a55da64d551101edd961f55106d608b60ca730d (diff)
downloadports-0e2dd4165b78752a1cbd79f13ef7802dd976c230.tar.gz
ports-0e2dd4165b78752a1cbd79f13ef7802dd976c230.zip
Notes
Diffstat (limited to 'graphics/iccexamin')
-rw-r--r--graphics/iccexamin/Makefile28
-rw-r--r--graphics/iccexamin/pkg-plist5
2 files changed, 20 insertions, 13 deletions
diff --git a/graphics/iccexamin/Makefile b/graphics/iccexamin/Makefile
index b6f712636a23..abb05acc15dc 100644
--- a/graphics/iccexamin/Makefile
+++ b/graphics/iccexamin/Makefile
@@ -12,14 +12,13 @@ COMMENT= ICC profile viewer and colour visualisation
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>
diff --git a/graphics/iccexamin/pkg-plist b/graphics/iccexamin/pkg-plist
index 6cfcd454da7f..e09a3b03ef31 100644
--- a/graphics/iccexamin/pkg-plist
+++ b/graphics/iccexamin/pkg-plist
@@ -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