2013-03-14 09:17:39 +01:00
|
|
|
# Created by: Lev Serebryakov <lev@FreeBSD.org>
|
2003-12-22 15:06:05 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= vips
|
2018-01-06 14:36:20 +01:00
|
|
|
PORTVERSION= 8.6.1
|
2018-03-10 18:46:04 +01:00
|
|
|
PORTREVISION= 1
|
2003-12-22 15:06:05 +01:00
|
|
|
CATEGORIES= graphics
|
2018-01-06 14:36:20 +01:00
|
|
|
MASTER_SITES= https://github.com/${GH_ACCOUNT}/libvips/releases/download/v${PORTVERSION}/
|
2003-12-22 15:06:05 +01:00
|
|
|
|
2014-08-18 02:00:59 +02:00
|
|
|
MAINTAINER= danilo@FreeBSD.org
|
2003-12-22 15:06:05 +01:00
|
|
|
COMMENT= Free image processing system
|
|
|
|
|
2014-08-10 11:40:41 +02:00
|
|
|
LICENSE= LGPL21
|
2015-04-15 05:56:37 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2007-08-19 18:50:23 +02:00
|
|
|
|
2016-07-26 04:22:23 +02:00
|
|
|
RUN_DEPENDS= bash:shells/bash
|
2016-04-01 16:00:51 +02:00
|
|
|
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 \
|
2016-07-26 04:22:23 +02:00
|
|
|
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-2_2.so:graphics/ilmbase \
|
2018-01-06 14:36:20 +01:00
|
|
|
libhdf5.so:science/hdf5 \
|
|
|
|
libexpat.so:textproc/expat2
|
2007-01-20 02:53:54 +01:00
|
|
|
|
2018-01-06 14:36:20 +01:00
|
|
|
USES= cpe gettext gmake jpeg libtool pathfix pkgconfig python:2.7 shebangfix
|
2014-08-04 21:34:31 +02:00
|
|
|
SHEBANG_FILES= tools/vips-${PORTVERSION:R} tools/vipsprofile
|
2016-07-26 04:22:23 +02:00
|
|
|
USE_GNOME= cairo gdkpixbuf2 glib20 libgsf librsvg2 libxml2 pango
|
2014-06-19 20:06:38 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2014-08-10 11:40:41 +02:00
|
|
|
CONFIGURE_ARGS= --without-x \
|
|
|
|
--without-openslide \
|
|
|
|
--with-magickpackage=GraphicsMagick
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
USE_LDCONFIG= yes
|
2003-12-22 15:06:05 +01:00
|
|
|
|
2018-01-06 14:36:20 +01:00
|
|
|
GH_ACCOUNT= jcupitt
|
|
|
|
|
2014-08-10 11:40:41 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2003-12-22 15:06:05 +01:00
|
|
|
|
2014-08-10 11:40:41 +02:00
|
|
|
PLIST_SUB= VERSION="${PORTVERSION:R}"
|
2011-09-24 00:29:55 +02:00
|
|
|
|
2014-08-10 11:40:41 +02:00
|
|
|
OPTIONS_DEFINE= DOCS PYTHON
|
|
|
|
OPTIONS_DEFAULT= PYTHON
|
|
|
|
OPTIONS_SUB= yes
|
2007-08-19 18:50:23 +02:00
|
|
|
|
2014-08-10 11:40:41 +02:00
|
|
|
DOCS_CONFIGURE_ENABLE= docs
|
2018-01-06 14:36:20 +01:00
|
|
|
|
2014-08-10 11:40:41 +02:00
|
|
|
PYTHON_CONFIGURE_WITH= python
|
2015-01-11 14:48:33 +01:00
|
|
|
PYTHON_CONFIGURE_ENABLE= pyvips8
|
|
|
|
PYTHON_USE= GNOME=pygobject3
|
2003-12-22 15:06:05 +01:00
|
|
|
|
2014-07-01 20:59:49 +02:00
|
|
|
.include <bsd.port.mk>
|