freebsd-ports/graphics/vips/Makefile
Matthias Andree d1cfeab07e Update ilmbase and openexr to 2.3.0, rename OpenEXR to openexr.
Release notes: <https://github.com/openexr/openexr/releases/tag/v2.3.0>

Adjust LIB_DEPENDS of all ports that require ilmbase or openexr to chase
the new lower-case spelling of the name, and to omit the version from the
library name to ease future maintenance.

Bump PORTREVISION of all ports that depend on ilmbase or openexr directly,
so that they all get rebuilt on upgrades.

Add patches to graphics/ampasCTL to keep it alive, with (a) ilmbase now
that its Iex::BaseExc class is no longer derived from std::string,
details were given upstream through https://github.com/ampas/CTL/issues/71
and (b) to unwind semicolon/;-lists in cmake that stem from openexr/
ilmbase pkg-config variables.
(Note ampasCTL is unmaintained as FreeBSD port, and upstream,
and I cannot run-time test it.)

Poudriere build tests on 11.2-RELEASE-p1 amd64 of ALL ports depending
directly or indirectly on ilmbase and/or openexr have passed without
regressions.  Thus invoking due diligence, I believe I have done the
equivalent of an -exp run, and do not require approval for the dependency
chases to third-party ports.
2018-09-22 10:15:22 +00:00

65 lines
1.7 KiB
Makefile

# Created by: Lev Serebryakov <lev@FreeBSD.org>
# $FreeBSD$
PORTNAME= vips
PORTVERSION= 8.6.5
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= https://github.com/${GH_ACCOUNT}/libvips/releases/download/v${PORTVERSION}/
MAINTAINER= danilo@FreeBSD.org
COMMENT= Free image processing system
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= bash:shells/bash
LIB_DEPENDS= libcfitsio.so:astro/cfitsio \
liborc-0.4.so:devel/orc \
libGraphicsMagick.so:graphics/GraphicsMagick \
libIlmImf.so:graphics/openexr \
liblcms2.so:graphics/lcms2 \
libexif.so:graphics/libexif \
libpng.so:graphics/png \
libtiff.so:graphics/tiff \
libwebp.so:graphics/webp \
libfftw3.so:math/fftw3 \
libmatio.so:math/matio \
libgirepository-1.0.so:devel/gobject-introspection \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libgif.so:graphics/giflib \
libpoppler-glib.so:graphics/poppler-glib \
libImath.so:graphics/ilmbase \
libhdf5.so:science/hdf5 \
libexpat.so:textproc/expat2
USES= compiler:c++11-lang cpe gettext gmake jpeg libtool pathfix pkgconfig python:2.7 shebangfix
SHEBANG_FILES= tools/vips-${PORTVERSION:R} tools/vipsprofile
USE_GNOME= cairo gdkpixbuf2 glib20 libgsf librsvg2 libxml2 pango
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-x \
--without-openslide \
--with-magickpackage=GraphicsMagick
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
GH_ACCOUNT= jcupitt
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_SUB= VERSION="${PORTVERSION:R}"
OPTIONS_DEFINE= DOCS PYTHON
OPTIONS_DEFAULT= PYTHON
OPTIONS_SUB= yes
DOCS_CONFIGURE_ENABLE= docs
PYTHON_CONFIGURE_WITH= python
PYTHON_CONFIGURE_ENABLE= pyvips8
PYTHON_USE= GNOME=pygobject3
.include <bsd.port.mk>