aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2018-11-25 06:32:25 +0800
committersunpoet <sunpoet@FreeBSD.org>2018-11-25 06:32:25 +0800
commit58e2e3bd8cb57ad6804ddf21fd414f15225329d7 (patch)
tree887fe6fb308b6c4fb02a6a7f149b4a5902474eff /graphics
parent3f9bb3b2491ba7d070eae4f9e8d8ac45030ec211 (diff)
downloadfreebsd-ports-gnome-58e2e3bd8cb57ad6804ddf21fd414f15225329d7.tar.gz
freebsd-ports-gnome-58e2e3bd8cb57ad6804ddf21fd414f15225329d7.tar.zst
freebsd-ports-gnome-58e2e3bd8cb57ad6804ddf21fd414f15225329d7.zip
Add more options
- Fix LCMS2 option - Bump PORTREVISION for package change PR: 233364 Submitted by: Lorenzo Salvadore <phascolarctos@protonmail.ch>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/GraphicsMagick/Makefile25
1 files changed, 18 insertions, 7 deletions
diff --git a/graphics/GraphicsMagick/Makefile b/graphics/GraphicsMagick/Makefile
index 298d45bfaae3..5bc95da9b6d2 100644
--- a/graphics/GraphicsMagick/Makefile
+++ b/graphics/GraphicsMagick/Makefile
@@ -3,6 +3,7 @@
PORTNAME= GraphicsMagick
PORTVERSION= 1.3.31
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= SF \
@@ -13,12 +14,6 @@ COMMENT= Fast image processing tools based on ImageMagick
LICENSE= MIT
-OPTIONS_DEFINE= DOCS DPS FPX FREETYPE JASPER JBIG JPEG LCMS2 OPENMP Q8BIT PNG SSE TEST TIFF WEBP WMF X11 XML
-OPTIONS_DEFAULT=FREETYPE JASPER JBIG JPEG LCMS2 OPENMP PNG TIFF WEBP WMF X11 XML
-DPS_DESC= Display Ghostscript support
-Q8BIT_DESC= Use 8-bit pixels (speed) instead of 16-bit (quality)
-TEST_DESC= Run bundled self-tests after build
-
USES= libtool localbase pathfix tar:bzip2
GNU_CONFIGURE= yes
@@ -32,10 +27,19 @@ USE_LDCONFIG= yes
# Use fonts installed by x11-fonts/webfonts by default
WINDOWS_FONT_DIR?= ${LOCALBASE}/share/fonts/webfonts
+OPTIONS_DEFINE= BZIP2 DOCS DPS FPX FREETYPE JASPER JBIG JPEG LCMS2 LZMA OPENMP Q8BIT PNG SSE TEST TIFF TRIO UMEM WEBP WMF X11 XML ZLIB ZSTD
+OPTIONS_DEFAULT=BZIP2 FREETYPE JASPER JBIG JPEG LCMS2 LZMA OPENMP PNG TIFF WEBP WMF X11 XML ZLIB
+DPS_DESC= Display Ghostscript support
+Q8BIT_DESC= Use 8-bit pixels (speed) instead of 16-bit (quality)
+TRIO_DESC= TRIO support
+UMEM_DESC= UMEM memory allocation library support
+TEST_DESC= Run bundled self-tests after build
+
DPS_CONFIGURE_WITH= dps
DPS_IMPLIES= X11
DPS_LIB_DEPENDS= libdps.so:x11/dgs
DPS_USE= XORG=xt
+BZIP2_CONFIGURE_WITH= bzlib
FPX_CONFIGURE_WITH= fpx
FPX_LIB_DEPENDS= libfpx.so:graphics/libfpx
FREETYPE_CONFIGURE_WITH=ttf
@@ -46,8 +50,9 @@ JBIG_CONFIGURE_WITH= jbig
JBIG_LIB_DEPENDS= libjbig.so:graphics/jbigkit
JPEG_CONFIGURE_WITH= jpeg
JPEG_USES= jpeg
-LCMS2_CONFIGURE= lcms2
+LCMS2_CONFIGURE_WITH= lcms2
LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2
+LZMA_CONFIGURE_WITH= lzma
OPENMP_CONFIGURE_OFF= --disable-openmp --without-threads
OPENMP_CONFIGURE_ON= --disable-openmp-slow --enable-openmp --with-threads
OPENMP_USES= compiler:gcc-c++11-lib
@@ -61,6 +66,9 @@ TEST_BUILD_DEPENDS= webfonts>=0:x11-fonts/webfonts
TEST_RUN_DEPENDS= webfonts>=0:x11-fonts/webfonts
TIFF_CONFIGURE_WITH= tiff
TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff
+TRIO_CONFIGURE_WITH= trio
+TRIO_LIB_DEPENDS= libtrio.so:devel/trio
+UMEM_CONFIGURE_WITH= umem
WEBP_CONFIGURE_WITH= webp
WEBP_LIB_DEPENDS= libwebp.so:graphics/webp
WMF_CONFIGURE_WITH= wmf
@@ -70,6 +78,9 @@ X11_USE= XORG=ice,sm,x11,xext
XML_CONFIGURE_WITH= xml
XML_USE= GNOME=libxml2
XML_USES= gnome
+ZLIB_CONFIGURE_WITH= zlib
+ZSTD_CONFIGURE_WITH= zstd
+ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd
.include <bsd.port.options.mk>