2013-05-03 14:46:30 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2017-08-03 19:47:32 +02:00
|
|
|
PORTNAME= icc-examin
|
|
|
|
PORTVERSION= 0.56
|
2013-05-03 14:46:30 +02:00
|
|
|
CATEGORIES= graphics
|
|
|
|
|
|
|
|
MAINTAINER= bsam@FreeBSD.org
|
|
|
|
COMMENT= ICC profile viewer and colour visualisation
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \
|
2017-08-03 19:47:32 +02:00
|
|
|
libfontconfig.so:x11-fonts/fontconfig \
|
|
|
|
libfreetype.so:print/freetype2 \
|
2016-04-01 16:00:51 +02:00
|
|
|
libftgl.so:graphics/ftgl \
|
2017-08-03 19:47:32 +02:00
|
|
|
liblcms2.so:graphics/lcms2 \
|
|
|
|
libOyranos.so:graphics/oyranos \
|
2016-04-01 16:00:51 +02:00
|
|
|
libpng.so:graphics/png \
|
|
|
|
libtiff.so:graphics/tiff \
|
2017-08-03 19:47:32 +02:00
|
|
|
libXcm.so:x11/libXcm
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= oyranos-cms
|
2013-05-03 14:46:30 +02:00
|
|
|
|
2013-07-10 13:26:34 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2017-08-03 19:47:32 +02:00
|
|
|
USES= desktop-file-utils gettext iconv jpeg pkgconfig
|
2013-05-03 14:46:30 +02:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
INSTALLS_ICONS= yes
|
2017-08-03 19:47:32 +02:00
|
|
|
USE_GL= gl glu
|
|
|
|
USE_XORG= x11 xcursor xext xfixes xft xinerama xpm xrandr xxf86vm
|
2016-03-16 12:48:47 +01:00
|
|
|
CONFIGURE_ARGS+=--mandir=${PREFIX}/man --disable-openmp
|
2013-05-03 14:46:30 +02:00
|
|
|
|
2013-11-21 14:50:36 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} 's:\\$$(iconv):${ICONV_LIB}:' \
|
|
|
|
${WRKSRC}/configure ${WRKSRC}/fl_i18n/makefile.in
|
|
|
|
@${REINPLACE_CMD} 's:-xdg:#-xdg:' ${WRKSRC}/makefile.in
|
2014-03-17 20:36:01 +01:00
|
|
|
@${REINPLACE_CMD} 's:-mimpure-text::' ${WRKSRC}/configure
|
2013-11-21 14:50:36 +01:00
|
|
|
|
|
|
|
post-install:
|
2014-03-17 20:36:01 +01:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/iccexamin
|
2013-11-21 14:50:36 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps
|
2014-03-17 20:36:01 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/iccexamin.png \
|
2013-11-21 14:50:36 +01:00
|
|
|
${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/iccexamin.png
|
2013-05-03 14:46:30 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|