blob: 222ec4891c7d4d1f7e6d7f8febde12a6d5894bf2 (
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
|
# Created by: Lev Serebryakov <lev@FreeBSD.org>
# $FreeBSD$
PORTNAME= vips
PORTVERSION= 8.0.2
PORTREVISION= 1
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
LIB_DEPENDS= libcfitsio.so:${PORTSDIR}/astro/cfitsio \
liborc-0.4.so:${PORTSDIR}/devel/orc \
libGraphicsMagick.so:${PORTSDIR}/graphics/GraphicsMagick \
libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \
liblcms2.so:${PORTSDIR}/graphics/lcms2 \
libexif.so:${PORTSDIR}/graphics/libexif \
libpng.so:${PORTSDIR}/graphics/png \
libtiff.so:${PORTSDIR}/graphics/tiff \
libwebp.so:${PORTSDIR}/graphics/webp \
libfftw3.so:${PORTSDIR}/math/fftw3 \
libmatio.so:${PORTSDIR}/math/matio \
libgirepository-1.0.so:${PORTSDIR}/devel/gobject-introspection
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
USES= cpe gettext gmake jpeg libtool pathfix pkgconfig shebangfix
SHEBANG_FILES= tools/vips-${PORTVERSION:R} tools/vipsprofile
USE_GNOME= glib20 libgsf 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
PYTHON_CONFIGURE_WITH= python
PYTHON_CONFIGURE_ENABLE= pyvips8
PYTHON_USE= GNOME=pygobject3
.include <bsd.port.mk>
|