Merge branch 'staged'
[dports.git] / graphics / iccxml / Makefile
1 PORTNAME=       iccxml
2 PORTVERSION=    0.9.8
3 PORTREVISION=   2
4 CATEGORIES=     graphics
5 MASTER_SITES=   SF/${PORTNAME}/IccXML-Src/${DISTNAME}
6 DISTNAME=       IccXML-${PORTVERSION}
7
8 MAINTAINER=     ports@FreeBSD.org
9 COMMENT=        Tools for reading and writing the ICC profile contents as XML files
10 WWW=            http://iccxml.sourceforge.net/
11
12 LIB_DEPENDS=    libSampleICC.so:graphics/sampleicc
13
14 USES=           gmake gnome libtool pathfix pkgconfig
15 USE_CXXSTD=     c++14
16 USE_GNOME=      libxml2
17 USE_LDCONFIG=   yes
18
19 GNU_CONFIGURE=  yes
20
21 INSTALL_TARGET= install-strip
22
23 post-patch:
24         @${REINPLACE_CMD} -e 's,return NULL,return false,' \
25                 ${WRKSRC}/IccLibXML/IccProfileXml.cpp
26
27 .include <bsd.port.mk>