blob: 95d02153271192d218ec5edfe9aa113eb79d0870 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# $FreeBSD$
PORTNAME= iccexamin
PORTVERSION= 0.55
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF/oyranos/ICC%20Examin/ICC%20Examin%20${PORTVERSION}
DISTNAME= icc_examin-${PORTVERSION}
MAINTAINER= bsam@FreeBSD.org
COMMENT= ICC profile viewer and colour visualisation
LICENSE= GPLv2
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= desktop-file-utils gettext iconv pkgconfig tar:bzip2
HAS_CONFIGURE= yes
INSTALLS_ICONS= yes
USE_XORG= #
CONFIGURE_ARGS+=--mandir=${PREFIX}/man
post-patch:
@${REINPLACE_CMD} 's:\\$$(iconv):${ICONV_LIB}:' \
${WRKSRC}/configure ${WRKSRC}/fl_i18n/makefile.in
@${REINPLACE_CMD} 's:-xdg:#-xdg:' ${WRKSRC}/makefile.in
@${REINPLACE_CMD} 's:-mimpure-text::' ${WRKSRC}/configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/iccexamin
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps
${INSTALL_DATA} ${WRKSRC}/iccexamin.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/iccexamin.png
.include <bsd.port.mk>
|