View | Details | Raw Unified | Return to bug 241851
Collapse All | Expand All

(-)vips/Makefile (-24 / +91 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	vips
4
PORTNAME=	vips
5
PORTVERSION=	8.8.3
5
PORTVERSION=	8.8.3
6
PORTREVISION=	1
6
CATEGORIES=	graphics
7
CATEGORIES=	graphics
7
MASTER_SITES=	https://github.com/libvips/libvips/releases/download/v${PORTVERSION}/
8
MASTER_SITES=	https://github.com/libvips/libvips/releases/download/v${PORTVERSION}/
8
9
Lines 13-48 Link Here
13
LICENSE_FILE=	${WRKSRC}/COPYING
14
LICENSE_FILE=	${WRKSRC}/COPYING
14
15
15
RUN_DEPENDS=	bash:shells/bash
16
RUN_DEPENDS=	bash:shells/bash
16
LIB_DEPENDS=	libcfitsio.so:astro/cfitsio \
17
LIB_DEPENDS=	libgirepository-1.0.so:devel/gobject-introspection \
17
		liborc-0.4.so:devel/orc \
18
		libGraphicsMagick.so:graphics/GraphicsMagick \
19
		libIlmImf.so:graphics/openexr \
20
		liblcms2.so:graphics/lcms2 \
21
		libexif.so:graphics/libexif	\
22
		libpng.so:graphics/png \
23
		libtiff.so:graphics/tiff \
24
		libwebp.so:graphics/webp \
25
		libfftw3.so:math/fftw3 \
26
		libmatio.so:math/matio \
27
		libgirepository-1.0.so:devel/gobject-introspection \
28
		libfontconfig.so:x11-fonts/fontconfig \
18
		libfontconfig.so:x11-fonts/fontconfig \
29
		libfreetype.so:print/freetype2 \
19
		libfreetype.so:print/freetype2 \
30
		libgif.so:graphics/giflib \
20
		libexpat.so:textproc/expat2
31
		libpoppler-glib.so:graphics/poppler-glib \
32
		libImath.so:graphics/ilmbase \
33
		libhdf5.so:science/hdf5 \
34
		libexpat.so:textproc/expat2 \
35
		libcurl.so:ftp/curl
36
21
37
USES=		compiler:c++11-lang cpe gettext gmake gnome jpeg libtool \
22
USES=		compiler:c++11-lang cpe gettext gmake gnome libtool \
38
		pathfix pkgconfig python:2.7 shebangfix
23
		pathfix pkgconfig python shebangfix
39
24
40
SHEBANG_FILES=	tools/vips-${PORTVERSION:R} tools/vipsprofile
25
SHEBANG_FILES=	tools/vips-${PORTVERSION:R} tools/vipsprofile
41
USE_GNOME=	cairo gdkpixbuf2 glib20 libgsf librsvg2 libxml2 pango
26
USE_GNOME=	glib20
42
GNU_CONFIGURE=	yes
27
GNU_CONFIGURE=	yes
43
CONFIGURE_ARGS+=	--without-x \
28
CONFIGURE_ARGS+=	--without-nifti \
44
			--without-openslide \
29
			--without-openslide \
45
			--with-magickpackage=GraphicsMagick
30
			--without-pdfium \
31
			--without-imagequant
32
46
INSTALL_TARGET=	install-strip
33
INSTALL_TARGET=	install-strip
47
USE_LDCONFIG=	yes
34
USE_LDCONFIG=	yes
48
35
Lines 51-59 Link Here
51
38
52
PLIST_SUB=	VERSION="${PORTVERSION:R}"
39
PLIST_SUB=	VERSION="${PORTVERSION:R}"
53
40
54
OPTIONS_DEFINE=		DOCS
41
OPTIONS_DEFINE=		DOCS X11 GSF FFTW ORC LCMS2 OPENEXR HEIF POPPLER LIBRSVG2 MATIO CFITSIO WEBP PANGO TIFF GIF PNG JPEG LIBEXIF
42
OPTIONS_RADIO=		MAGICK
43
OPTIONS_RADIO_MAGICK=	MAGICKCORE GRAPHICSMAGICK
44
OPTIONS_DEFAULT=	X11 GSF FFTW ORC LCMS2 OPENEXR HEIF POPPLER LIBRSVG2 MATIO CFITSIO WEBP PANGO TIFF GIF PNG JPEG LIBEXIF MAGICKCORE
55
45
56
DOCS_CONFIGURE_ENABLE=	gtk-doc gtk-doc-html
46
DOCS_CONFIGURE_ENABLE=	gtk-doc gtk-doc-html
57
DOCS_BUILD_DEPENDS=	gtkdocize:textproc/gtk-doc
47
DOCS_BUILD_DEPENDS=	gtkdocize:textproc/gtk-doc
58
48
49
X11_CONFIGURE_WITH=	x
50
51
MAGICKCORE_CONFIGURE_ON=	--with-magickpackage=MagickCore
52
GRAPHICSMAGICK_CONFIGURE_ON=	--with-magickpackage=GraphicsMagick
53
54
GSF_DESC=		Structured file formats support
55
GSF_CONFIGURE_WITH=	gsf
56
GSF_USE=		GNOME=libgsf
57
58
FFTW_CONFIGURE_WITH=	fftw
59
FFTW_LIB_DEPENDS=	libfftw3.so:math/fftw3
60
61
ORC_DESC=		ORC language support
62
ORC_CONFIGURE_WITH=	orc
63
ORC_LIB_DEPENDS=	liborc-0.4.so:devel/orc
64
65
LCMS2_CONFIGURE_WITH=	lcms
66
LCMS2_LIB_DEPENDS=	liblcms2.so:graphics/lcms2
67
68
OPENEXR_CONFIGURE_WITH=	OpenEXR
69
OPENEXR_LIB_DEPENDS=	libIlmImf.so:graphics/openexr \
70
			libImath.so:graphics/ilmbase
71
72
HEIF_DESC=		HEIF image format support
73
HEIF_CONFIGURE_WITH=	heif
74
HEIF_LIB_DEPENDS=	libheif.so:graphics/libheif
75
76
POPPLER_CONFIGURE_WITH=	poppler
77
POPPLER_LIB_DEPENDS=	libpoppler-glib.so:graphics/poppler-glib
78
POPPLER_USE=		GNOME=cairo
79
80
LIBRSVG2_CONFIGURE_WITH=rsvg
81
LIBRSVG2_USE=		GNOME=librsvg2 GNOME=cairo
82
83
MATIO_DESC=		Matlab MAT format support
84
MATIO_CONFIGURE_WITH=	matio
85
MATIO_LIB_DEPENDS=	libmatio.so:math/matio \
86
			libhdf5.so:science/hdf5
87
88
CFITSIO_CONFIGURE_WITH=	cfitsio
89
CFITSIO_LIB_DEPENDS=	libcfitsio.so:astro/cfitsio
90
91
WEBP_CONFIGURE_WITH=	libwebp
92
WEBP_LIB_DEPENDS=	libwebp.so:graphics/webp
93
94
PANGO_CONFIGURE_WITH=pangoft2
95
PANGO_USE=		GNOME=pango
96
97
TIFF_CONFIGURE_WITH=	tiff
98
TIFF_LIB_DEPENDS=	libtiff.so:graphics/tiff
99
100
GIF_CONFIGURE_WITH=	giflib
101
GIF_LIB_DEPENDS=	libgif.so:graphics/giflib
102
103
PNG_CONFIGURE_WITH=	png
104
PNG_LIB_DEPENDS=	libpng.so:graphics/png
105
106
JPEG_CONFIGURE_WITH=	jpeg
107
JPEG_USES=		jpeg
108
109
LIBEXIF_CONFIGURE_WITH=	libexif
110
LIBEXIF_LIB_DEPENDS=	libexif.so:graphics/libexif
111
112
.include <bsd.port.options.mk>
113
114
.if ${PORT_OPTIONS:MMAGICKCORE}
115
. if ${PORT_OPTIONS:MX11}
116
LIB_DEPENDS+=		libMagickCore-7.so:graphics/ImageMagick7
117
. else
118
LIB_DEPENDS+=		libMagickCore-7.so:graphics/ImageMagick7-nox11
119
. endif
120
.elif ${PORT_OPTIONS:MGRAPHICSMAGICK}
121
LIB_DEPENDS+=		libGraphicsMagick.so:graphics/GraphicsMagick
122
.else
123
CONFIGURE_ARGS+=	--without-magick
124
.endif
125
59
.include <bsd.port.mk>
126
.include <bsd.port.mk>

Return to bug 241851