1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/graphics/oyranos/Makefile
Gerald Pfeifer e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00

59 lines
1.5 KiB
Makefile

# $FreeBSD$
PORTNAME= oyranos
PORTVERSION= 0.9.6
PORTREVISION= 3
CATEGORIES= graphics
MAINTAINER= bsam@FreeBSD.org
COMMENT= Colour Management System (CMS)
LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${LOCALBASE}/share/color/icc/OpenICC/sRGB.icc:graphics/icc-profiles-openicc \
${LOCALBASE}/share/color/icc/basICColor/ISOcoated_v2_300_bas.ICC:graphics/icc-profiles-basiccolor \
xcalib:x11/xcalib
LIB_DEPENDS= libraw.so:graphics/libraw \
libexiv2.so:graphics/exiv2 \
libpng.so:graphics/png \
libcairo.so:graphics/cairo \
libyajl.so:devel/yajl \
libfltk.so:x11-toolkits/fltk \
libcups.so:print/cups \
libxdot.so:graphics/graphviz \
liblcms.so:graphics/lcms \
liblcms2.so:graphics/lcms2 \
libXcm.so:x11/libXcm \
libltdl.so:devel/libltdl \
libfontconfig.so:x11-fonts/fontconfig \
libOpenICC.so:graphics/openicc-config
USE_GITHUB= yes
GH_ACCOUNT= oyranos-cms
USES= cmake compiler:c++11-lib desktop-file-utils gettext iconv jpeg pkgconfig
USE_GL= gl
USE_LDCONFIG= yes
USE_GNOME= libxml2
USE_QT4= corelib gui moc_build qmake_build rcc_build uic_build
USE_XORG= ice sm x11 xcursor xext xfixes xinerama xrandr xft xxf86vm
CMAKE_ARGS+= -DXDG_CONFIG_DIR=${PREFIX}/etc/xdg
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
MAKE_JOBS_UNSAFE=yes
OPTIONS_DEFINE= DOXYGEN
DOXYGEN_BUILD_DEPENDS= ${LOCALBASE}/bin/doxygen:devel/doxygen
PORTDOCS= *
PLIST_SUB+= VER=${PORTVERSION}
.if !exists(/usr/bin/clang)
USE_GCC= yes
.endif
post-patch:
@${REINPLACE_CMD} -e 's|lib|libdata|' \
${WRKSRC}/extras/CMakeLists.txt
.include <bsd.port.mk>