blob: 0907625d877602dce467b4fe1ed6781c7b9fdc0e (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Created by: Lev Serebryakov <lev@FreeBSD.org>
# $FreeBSD$
PORTNAME= vips
PORTVERSION= 8.4.5
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= http://www.vips.ecs.soton.ac.uk/supported/${PORTVERSION:R}/
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-2_2.so:graphics/ilmbase \
libhdf5.so:science/hdf5
USES= cpe gettext gmake jpeg libtool pathfix pkgconfig 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
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_USES= python:2.7
PYTHON_CONFIGURE_WITH= python
PYTHON_CONFIGURE_ENABLE= pyvips8
PYTHON_USE= GNOME=pygobject3
.include <bsd.port.mk>
|