mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
3c40da4dd1
- Change MASTER_SITES to github - Move python to USES due bin/vipsprofile - Update WWW
64 lines
1.7 KiB
Makefile
64 lines
1.7 KiB
Makefile
# Created by: Lev Serebryakov <lev@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= vips
|
|
PORTVERSION= 8.6.1
|
|
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-2_2.so:graphics/ilmbase \
|
|
libhdf5.so:science/hdf5 \
|
|
libexpat.so:textproc/expat2
|
|
|
|
USES= 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>
|