diff options
Diffstat (limited to 'graphics')
143 files changed, 203 insertions, 325 deletions
diff --git a/graphics/GraphicsMagick/Makefile b/graphics/GraphicsMagick/Makefile index 07c78e987c02..a1119f145718 100644 --- a/graphics/GraphicsMagick/Makefile +++ b/graphics/GraphicsMagick/Makefile @@ -14,7 +14,6 @@ COMMENT= Fast image processing tools based on ImageMagick LIB_DEPENDS= libjbig.so:${PORTSDIR}/graphics/jbigkit \ libjasper.so:${PORTSDIR}/graphics/jasper \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ liblcms2.so:${PORTSDIR}/graphics/lcms2 \ libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff \ @@ -22,7 +21,7 @@ LIB_DEPENDS= libjbig.so:${PORTSDIR}/graphics/jbigkit \ PORTSCOUT= limit:^1\.3\. -USES= iconv libtool tar:bzip2 +USES= iconv jpeg libtool tar:bzip2 USE_GNOME= libxml2 USE_GHOSTSCRIPT=yes GNU_CONFIGURE= yes diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile index 414a7aa74dac..076082e5d3fe 100644 --- a/graphics/ImageMagick/Makefile +++ b/graphics/ImageMagick/Makefile @@ -194,7 +194,7 @@ PLIST_SUB+= DJVU="@comment " .endif .if ${PORT_OPTIONS:MJPEG} -LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg +USES+= jpeg PLIST_SUB+= JPEG="" .else CONFIGURE_ARGS+= --without-jpeg diff --git a/graphics/aaphoto/Makefile b/graphics/aaphoto/Makefile index 2f9a775d0f8a..86573d5c1ad9 100644 --- a/graphics/aaphoto/Makefile +++ b/graphics/aaphoto/Makefile @@ -13,14 +13,13 @@ COMMENT= Auto Adjust Photo, automatic color correction of photos LICENSE= GPLv3 LIB_DEPENDS= libjasper.so:${PORTSDIR}/graphics/jasper \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpng.so:${PORTSDIR}/graphics/png USE_GITHUB= yes GH_ACCOUNT= log69 GNU_CONFIGURE= yes -USES= compiler:openmp +USES= compiler:openmp jpeg CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib diff --git a/graphics/argyllcms/Makefile b/graphics/argyllcms/Makefile index 229ce2b2eb28..469cce5fc8c6 100644 --- a/graphics/argyllcms/Makefile +++ b/graphics/argyllcms/Makefile @@ -13,12 +13,11 @@ COMMENT= ICC compatible color management system LICENSE= AGPLv3 BUILD_DEPENDS= jam:${PORTSDIR}/devel/jam -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libtiff.so:${PORTSDIR}/graphics/tiff +LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff WRKSRC= ${WRKDIR}/Argyll_V${PORTVERSION} -USES= cpe zip +USES= cpe jpeg zip USE_XORG= x11 xau xdmcp xext xinerama xrandr xscrnsaver xxf86vm post-patch: diff --git a/graphics/autopano-sift-c/Makefile b/graphics/autopano-sift-c/Makefile index 13a756889167..8b36b89aeb06 100644 --- a/graphics/autopano-sift-c/Makefile +++ b/graphics/autopano-sift-c/Makefile @@ -11,7 +11,6 @@ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Automatic panorama control point generation tool, C port LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpng.so:${PORTSDIR}/graphics/png \ libpano13.so:${PORTSDIR}/graphics/libpano13 @@ -20,7 +19,7 @@ RESTRICTED= May be covered by patents CONFLICTS= autopano-sift-[0-9]* USE_GNOME= libxml2 -USES= cmake +USES= cmake jpeg PORTDOCS= * diff --git a/graphics/blender/Makefile b/graphics/blender/Makefile index d2e35f634012..3190a69e79dc 100644 --- a/graphics/blender/Makefile +++ b/graphics/blender/Makefile @@ -13,13 +13,12 @@ COMMENT= 3D modeling/rendering/animation/gaming package LICENSE= GPLv2 -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libpng.so:${PORTSDIR}/graphics/png \ +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ libfreetype.so:${PORTSDIR}/print/freetype2 USE_XORG= x11 xext xmu USE_GL= glew -USES= cmake:outsource compiler:features python:3.4 shebangfix +USES= cmake:outsource compiler:features jpeg python:3.4 shebangfix INSTALLS_ICONS= yes CMAKE_ARGS= -DWITH_PYTHON_INSTALL:BOOL=OFF \ -DWITH_PYTHON_INSTALL_NUMPY:BOOL=OFF \ diff --git a/graphics/bmeps/Makefile b/graphics/bmeps/Makefile index 778fafe5e507..137e0b35d522 100644 --- a/graphics/bmeps/Makefile +++ b/graphics/bmeps/Makefile @@ -13,8 +13,7 @@ COMMENT= Convert PNG/JPEG/TIFF to PDF/EPS LICENSE= BSD3CLAUSE -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libpng.so:${PORTSDIR}/graphics/png \ +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff GNU_CONFIGURE= yes @@ -27,7 +26,7 @@ CONFIGURE_ENV= ac_cv_header_sys_termios_h=no ALL_TARGET= bmpp MAKEFILE= GNUmakefile -USES= gmake +USES= gmake jpeg CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib diff --git a/graphics/cimg/Makefile b/graphics/cimg/Makefile index 680e06a6fc5d..e539d523166d 100644 --- a/graphics/cimg/Makefile +++ b/graphics/cimg/Makefile @@ -53,7 +53,6 @@ LIB_DEPENDS+= libboard.so:${PORTSDIR}/graphics/libboard . if !defined(WITH_DEBUG) LIB_DEPENDS+= libpng.so:${PORTSDIR}/graphics/png \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libtiff.so:${PORTSDIR}/graphics/tiff \ libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \ libgimp-2.0.so:${PORTSDIR}/graphics/gimp-app \ @@ -61,6 +60,7 @@ LIB_DEPENDS+= libpng.so:${PORTSDIR}/graphics/png \ libopencv_legacy.so:${PORTSDIR}/graphics/opencv \ libopencv_core.so:${PORTSDIR}/graphics/opencv-core\ libGraphicsMagick.so:${PORTSDIR}/graphics/GraphicsMagick +USES+= jpeg ALL_TARGET= Mlinux . else ALL_TARGET= dlinux diff --git a/graphics/cinepaint/Makefile b/graphics/cinepaint/Makefile index 253c453fd15c..24e06fe74cf6 100644 --- a/graphics/cinepaint/Makefile +++ b/graphics/cinepaint/Makefile @@ -15,7 +15,6 @@ LICENSE_COMB= multi LIB_DEPENDS= libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \ libftgl.so:${PORTSDIR}/graphics/ftgl \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ liblcms.so:${PORTSDIR}/graphics/lcms \ libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff \ @@ -26,7 +25,7 @@ OYRANOS_DESC= ICC profile support via Oyranos PRINT_DESC= Gutenprint (gimp-print) plugin GNU_CONFIGURE= yes -USES= autoreconf desktop-file-utils gettext gmake libtool \ +USES= autoreconf desktop-file-utils gettext gmake jpeg libtool \ pkgconfig python USE_XORG= xmu USE_GNOME= gtk20 diff --git a/graphics/commons-utilities/Makefile b/graphics/commons-utilities/Makefile index 0bdd02e007c6..4039b288fe73 100644 --- a/graphics/commons-utilities/Makefile +++ b/graphics/commons-utilities/Makefile @@ -12,7 +12,6 @@ COMMENT= Wikimedia Commons (MediaWiki) utilities for bulk image uploading LICENSE= GPLv3 -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg RUN_DEPENDS= p5-Image-ExifTool>=0:${PORTSDIR}/graphics/p5-Image-ExifTool \ p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey \ p5-Text-CSV_XS>=0:${PORTSDIR}/textproc/p5-Text-CSV_XS \ @@ -20,7 +19,7 @@ RUN_DEPENDS= p5-Image-ExifTool>=0:${PORTSDIR}/graphics/p5-Image-ExifTool \ ${PYTHON_PKGNAMEPREFIX}mechanize>=0.2:${PORTSDIR}/www/py-mechanize \ exiv2:${PORTSDIR}/graphics/exiv2 -USES= perl5 python +USES= jpeg perl5 python USE_PERL5= run NO_BUILD= yes diff --git a/graphics/cthumb/Makefile b/graphics/cthumb/Makefile index c41f56d8974b..52bf5e893731 100644 --- a/graphics/cthumb/Makefile +++ b/graphics/cthumb/Makefile @@ -11,12 +11,11 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Themeable web picture album generator RUN_DEPENDS= ${LOCALBASE}/bin/pnmscale:${PORTSDIR}/graphics/netpbm \ - ${LOCALBASE}/bin/djpeg:${PORTSDIR}/graphics/jpeg \ ${LOCALBASE}/bin/jhead:${PORTSDIR}/graphics/jhead \ p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \ p5-URI>=0:${PORTSDIR}/net/p5-URI -USES= perl5 +USES= jpeg:run perl5 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-themedir=${DATADIR} CONFIGURE_ENV= perl_path=${PERL} diff --git a/graphics/dataplot/Makefile b/graphics/dataplot/Makefile index 2b3131b204a6..9e562740b7f4 100644 --- a/graphics/dataplot/Makefile +++ b/graphics/dataplot/Makefile @@ -17,13 +17,12 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Free software system for statistical visualization LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd \ - libpng.so:${PORTSDIR}/graphics/png \ - libjpeg.so:${PORTSDIR}/graphics/jpeg + libpng.so:${PORTSDIR}/graphics/png OPTIONS_DEFINE= DOCS DOCS_DISTFILES= dpsnapsh.pdf:doc -USES= fortran +USES= fortran jpeg USE_XORG= x11 xi NO_WRKSUBDIR= yes MAXOBV?= 400000 # Change if you need more observations/variable diff --git a/graphics/dcraw-m/Makefile b/graphics/dcraw-m/Makefile index 0d1798de202f..619327cd3fea 100644 --- a/graphics/dcraw-m/Makefile +++ b/graphics/dcraw-m/Makefile @@ -12,7 +12,6 @@ COMMENT= Modified Decoder for RAW files from digital cameras LICENSE= GPLv2 LIB_DEPENDS= libjasper.so:${PORTSDIR}/graphics/jasper \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ liblcms2.so:${PORTSDIR}/graphics/lcms2 \ libMagickWand-6.so:${PORTSDIR}/graphics/ImageMagick @@ -20,7 +19,7 @@ USE_GITHUB= yes GH_ACCOUNT= waitman GH_TAGNAME= 1392579 -USES= pkgconfig +USES= jpeg pkgconfig CFLAGS += -Wall -I${LOCALBASE}/include \ `MagickWand-config --cflags --cppflags` \ diff --git a/graphics/dcraw/Makefile b/graphics/dcraw/Makefile index b58e2e1f3bee..00fbe8c0408c 100644 --- a/graphics/dcraw/Makefile +++ b/graphics/dcraw/Makefile @@ -10,12 +10,11 @@ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Decoder for RAW files from digital cameras LIB_DEPENDS= libjasper.so:${PORTSDIR}/graphics/jasper \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ liblcms2.so:${PORTSDIR}/graphics/lcms2 CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/jasper LDFLAGS+= -L${LOCALBASE}/lib -lm -ljasper -ljpeg -llcms2 -USES= tar:xz +USES= jpeg tar:xz PLIST_FILES= bin/${PORTNAME} \ man/man1/${PORTNAME}.1.gz diff --git a/graphics/devil/Makefile b/graphics/devil/Makefile index 95b66b01e25b..dff629a2e200 100644 --- a/graphics/devil/Makefile +++ b/graphics/devil/Makefile @@ -46,7 +46,7 @@ SQUISH_DESC= Enable DXT compression via libsquish NVTT_DESC= Enable NVidia texture tools support SIMD_DESC= Enable SIMD autodetection (AltiVec, SSE3,...) -JPEG_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg +JPEG_USES= jpeg JPEG_CONFIGURE_ENABLE= jpeg JASPER_LIB_DEPENDS= libjasper.so:${PORTSDIR}/graphics/jasper JASPER_CONFIGURE_ENABLE=jp2 diff --git a/graphics/djvulibre/Makefile b/graphics/djvulibre/Makefile index c23030355b3c..ad774caf41c7 100644 --- a/graphics/djvulibre/Makefile +++ b/graphics/djvulibre/Makefile @@ -13,8 +13,7 @@ COMMENT= DjVu base libraries and utilities LICENSE= GPLv2 # or later LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libtiff.so:${PORTSDIR}/graphics/tiff +LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff GNU_CONFIGURE= yes CONFIGURE_ENV= JPEG_CFLAGS="-I${LOCALBASE}/include" \ @@ -22,7 +21,7 @@ CONFIGURE_ENV= JPEG_CFLAGS="-I${LOCALBASE}/include" \ TIFF_CFLAGS="-I${LOCALBASE}/include" \ TIFF_LIBS="-L${LOCALBASE}/lib -ltiff" LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} -USES= cpe iconv libtool pathfix +USES= cpe iconv jpeg libtool pathfix CPE_VENDOR= djvulibre_project USE_LDCONFIG= yes CONFLICTS= djvulibre-nox11-3* diff --git a/graphics/enblend/Makefile b/graphics/enblend/Makefile index ce8b98616301..a437db154489 100644 --- a/graphics/enblend/Makefile +++ b/graphics/enblend/Makefile @@ -13,8 +13,7 @@ COMMENT= Tool for image blending with multiresolution splines BUILD_DEPENDS= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo \ OpenEXR>=1.0:${PORTSDIR}/graphics/OpenEXR -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - liblcms2.so:${PORTSDIR}/graphics/lcms2 \ +LIB_DEPENDS= liblcms2.so:${PORTSDIR}/graphics/lcms2 \ libxmi.so:${PORTSDIR}/graphics/plotutils \ libtiff.so:${PORTSDIR}/graphics/tiff \ libboost_filesystem.so:${PORTSDIR}/devel/boost-libs \ @@ -23,7 +22,7 @@ LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ RUN_DEPENDS= OpenEXR>=1.0:${PORTSDIR}/graphics/OpenEXR USE_AUTOTOOLS= automake:env autoconf:env -USES= gmake compiler:features makeinfo +USES= compiler:features gmake jpeg makeinfo # We need a newer version of makeinfo for this. # Remove this line when we remove texinfo from the base system. CONFIGURE_ARGS= MAKEINFO="${LOCALBASE}/bin/makeinfo" diff --git a/graphics/eom/Makefile b/graphics/eom/Makefile index 1cf802fea9f5..ec494b63d032 100644 --- a/graphics/eom/Makefile +++ b/graphics/eom/Makefile @@ -11,11 +11,10 @@ MAINTAINER= gnome@FreeBSD.org COMMENT= Eye of MATE image viewer BUILD_DEPENDS= itstool:${PORTSDIR}/textproc/itstool -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg PORTSCOUT= limitw:1,even -USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig \ +USES= desktop-file-utils gettext gmake jpeg libtool pathfix pkgconfig \ tar:xz USE_MATE= desktop icontheme USE_XORG= x11 diff --git a/graphics/epeg/Makefile b/graphics/epeg/Makefile index e5f11205f47e..ec0933e5eba6 100644 --- a/graphics/epeg/Makefile +++ b/graphics/epeg/Makefile @@ -12,10 +12,8 @@ MASTER_SITES= ftp://ftp.springdaemons.com/pub/snapshots/e17/ \ MAINTAINER= bf@FreeBSD.org COMMENT= Immensely fast JPEG thumbnailing library -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg - GNU_CONFIGURE= yes -USES= libtool pathfix tar:bzip2 +USES= jpeg libtool pathfix tar:bzip2 USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib diff --git a/graphics/exact-image/Makefile b/graphics/exact-image/Makefile index 5df4bee6387c..bfb426c66e0c 100644 --- a/graphics/exact-image/Makefile +++ b/graphics/exact-image/Makefile @@ -14,7 +14,6 @@ LICENSE= GPLv2 BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 LIB_DEPENDS= libagg.so:${PORTSDIR}/graphics/agg \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libtiff.so:${PORTSDIR}/graphics/tiff \ libpng.so:${PORTSDIR}/graphics/png \ libgif.so:${PORTSDIR}/graphics/giflib \ @@ -27,7 +26,7 @@ LIB_DEPENDS= libagg.so:${PORTSDIR}/graphics/agg \ #hack to get custom exactcode configure script to enable tiff support with #broken headers on c++ in base system: CPPFLAGS+= -fpermissive -I${LOCALBASE}/include -USES= gmake perl5 pkgconfig python tar:bzip2 +USES= gmake jpeg perl5 pkgconfig python tar:bzip2 USE_XORG= x11 HAS_CONFIGURE= yes INSTALL_WRKSRC= ${WRKSRC}/objdir diff --git a/graphics/exiftran/Makefile b/graphics/exiftran/Makefile index 21bd1b2bb56b..aa413f9822f5 100644 --- a/graphics/exiftran/Makefile +++ b/graphics/exiftran/Makefile @@ -11,13 +11,12 @@ MASTER_SITES= http://www.kraxel.org/releases/fbida/ MAINTAINER= mm@FreeBSD.org COMMENT= Command line utility to transform jpeg files -LIB_DEPENDS= libexif.so:${PORTSDIR}/graphics/libexif \ - libjpeg.so:${PORTSDIR}/graphics/jpeg +LIB_DEPENDS= libexif.so:${PORTSDIR}/graphics/libexif LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -USES= uidfix +USES= jpeg uidfix MAKE_ARGS+= WRKSRC=${WRKSRC} BINDIR=${PREFIX}/bin MANDIR=${MANPREFIX}/man PLIST_FILES= bin/exiftran bin/thumbnail.cgi \ diff --git a/graphics/exrtools/Makefile b/graphics/exrtools/Makefile index 8d9f83be0bef..e1f351a312d1 100644 --- a/graphics/exrtools/Makefile +++ b/graphics/exrtools/Makefile @@ -14,11 +14,10 @@ COMMENT= Utilities for manipulating with HDR images in OpenEXR format LICENSE= GPLv2 LIB_DEPENDS= libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \ - libpng.so:${PORTSDIR}/graphics/png \ - libjpeg.so:${PORTSDIR}/graphics/jpeg + libpng.so:${PORTSDIR}/graphics/png GNU_CONFIGURE= yes -USES= pkgconfig gmake +USES= gmake jpeg pkgconfig CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib diff --git a/graphics/flam3/Makefile b/graphics/flam3/Makefile index 52bbeb913923..64b04dfb7fc6 100644 --- a/graphics/flam3/Makefile +++ b/graphics/flam3/Makefile @@ -12,11 +12,10 @@ MAINTAINER= john.c.prather@gmail.com COMMENT= Flame Renderer LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ - libxml2.so:${PORTSDIR}/textproc/libxml2 \ - libjpeg.so:${PORTSDIR}/graphics/jpeg + libxml2.so:${PORTSDIR}/textproc/libxml2 GNU_CONFIGURE= yes -USES= gmake libtool pathfix pkgconfig +USES= gmake jpeg libtool pathfix pkgconfig CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib diff --git a/graphics/gd/Makefile b/graphics/gd/Makefile index 6f212d1833f5..07b3374881eb 100644 --- a/graphics/gd/Makefile +++ b/graphics/gd/Makefile @@ -12,14 +12,13 @@ MASTER_SITES= https://bitbucket.org/libgd/gd-libgd/downloads/ \ MAINTAINER?= dinoex@FreeBSD.org COMMENT?= Graphics library for fast creation of images -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libtiff.so:${PORTSDIR}/graphics/tiff \ +LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff \ libpng.so:${PORTSDIR}/graphics/png \ libfreetype.so:${PORTSDIR}/print/freetype2 CONFLICTS= bazaar-1.* -USES= tar:xz pkgconfig pathfix libtool:keepla shebangfix +USES= jpeg libtool:keepla pathfix pkgconfig shebangfix tar:xz SHEBANG_FILES= ${WRKSRC}/src/bdftogd GNU_CONFIGURE= yes USE_LDCONFIG= yes diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile index 4462979d7bb1..6418b6488d49 100644 --- a/graphics/gdal/Makefile +++ b/graphics/gdal/Makefile @@ -16,7 +16,6 @@ LICENSE= MIT LIB_DEPENDS= libgeotiff.so:${PORTSDIR}/graphics/libgeotiff \ libgif.so:${PORTSDIR}/graphics/giflib \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libjson-c.so:${PORTSDIR}/devel/json-c \ libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff @@ -46,7 +45,7 @@ GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes MAKEFILE= GNUmakefile USE_LDCONFIG= yes -USES= gmake tar:xz +USES= gmake jpeg tar:xz PLIST_SUB= PORTVERSION=${PORTVERSION} PORTDATA= * diff --git a/graphics/gdchart/Makefile b/graphics/gdchart/Makefile index 9f4ec74f5933..7402f9d1ad40 100644 --- a/graphics/gdchart/Makefile +++ b/graphics/gdchart/Makefile @@ -13,10 +13,9 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Easy to use fast C API for creating charts and graphs LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libfreetype.so:${PORTSDIR}/print/freetype2 -USES= uidfix +USES= jpeg uidfix MAKEFILE= ${FILESDIR}/Makefile MAKE_ARGS= PREFIX="${PREFIX}" LOCALBASE="${LOCALBASE}" USE_LDCONFIG= yes diff --git a/graphics/gdk-pixbuf/Makefile b/graphics/gdk-pixbuf/Makefile index 5cbb27286042..30c20c46bda3 100644 --- a/graphics/gdk-pixbuf/Makefile +++ b/graphics/gdk-pixbuf/Makefile @@ -17,10 +17,9 @@ LICENSE= LGPL20 # or later LICENSE_FILE= ${WRKSRC}/COPYING.LIB LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ - libtiff.so:${PORTSDIR}/graphics/tiff \ - libjpeg.so:${PORTSDIR}/graphics/jpeg + libtiff.so:${PORTSDIR}/graphics/tiff -USES= cpe gmake libtool pathfix tar:bzip2 +USES= cpe gmake jpeg libtool pathfix tar:bzip2 CPE_VENDOR= gnome USE_XORG= xt xi x11 USE_GNOME= gtk12 diff --git a/graphics/gdk-pixbuf2/Makefile b/graphics/gdk-pixbuf2/Makefile index a5d9d1626890..05e4f6d0dc00 100644 --- a/graphics/gdk-pixbuf2/Makefile +++ b/graphics/gdk-pixbuf2/Makefile @@ -32,8 +32,8 @@ OPTIONS_DEFINE= JASPER JPEG PNG TIFF OPTIONS_DEFAULT=JASPER JPEG PNG TIFF JASPER_CONFIGURE_WITH= libjasper JASPER_LIB_DEPENDS= libjasper.so:${PORTSDIR}/graphics/jasper -JPEG_CONFIGURE_WITPNGH= libjpeg -JPEG_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg +JPEG_CONFIGURE_WITH= libjpeg +JPEG_USES= jpeg PNG_CONFIGURE_WITH= libpng PNG_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png TIFF_CONFIGURE_WITH= libtiff diff --git a/graphics/gegl/Makefile b/graphics/gegl/Makefile index 37faf2561677..bdaa472149a7 100644 --- a/graphics/gegl/Makefile +++ b/graphics/gegl/Makefile @@ -106,7 +106,7 @@ PLIST_SUB+= JP2="@comment " .endif .if ${PORT_OPTIONS:MJPEG} -LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg +USES+= jpeg PLIST_SUB+= JPEG="" .else CONFIGURE_ARGS+=--without-libjpeg diff --git a/graphics/gegl3/Makefile b/graphics/gegl3/Makefile index 0de4e9826cfb..0e1ac85e8d9b 100644 --- a/graphics/gegl3/Makefile +++ b/graphics/gegl3/Makefile @@ -68,7 +68,7 @@ GRAPHVIZ_CONFIGURE_WITH= graphviz JASPER_LIB_DEPENDS= libjasper.so:${PORTSDIR}/graphics/jasper JASPER_CONFIGURE_WITH= jasper -JPEG_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg +JPEG_USES= jpeg JPEG_CONFIGURE_WITH= libjpeg LCMS2_LIB_DEPENDS= liblcms2.so:${PORTSDIR}/graphics/lcms2 diff --git a/graphics/gimageview/Makefile b/graphics/gimageview/Makefile index 77290d990eba..1d7cbb2a1206 100644 --- a/graphics/gimageview/Makefile +++ b/graphics/gimageview/Makefile @@ -13,10 +13,9 @@ COMMENT= Yet another GTK+ based image viewer LICENSE= GPLv2 # or later LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libpng.so:${PORTSDIR}/graphics/png +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png -USES= gmake libtool pkgconfig +USES= gmake jpeg libtool pkgconfig GNU_CONFIGURE= yes USE_GNOME= gtk20 USE_XORG= xinerama ice diff --git a/graphics/gimp-app/Makefile b/graphics/gimp-app/Makefile index f3c98d2f3870..4d37fae6f571 100644 --- a/graphics/gimp-app/Makefile +++ b/graphics/gimp-app/Makefile @@ -17,7 +17,6 @@ LICENSE_COMB= multi BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libtiff.so:${PORTSDIR}/graphics/tiff \ liblcms2.so:${PORTSDIR}/graphics/lcms2 \ libgegl-0.2.so:${PORTSDIR}/graphics/gegl \ @@ -25,7 +24,7 @@ LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes GNU_CONFIGURE= yes -USES+= cpe desktop-file-utils gettext gmake libtool pathfix \ +USES+= cpe desktop-file-utils gettext gmake jpeg libtool pathfix \ pkgconfig tar:bzip2 USE_XORG= xpm xmu xext USE_GNOME+= intlhack gtk20 diff --git a/graphics/gle-graphics/Makefile b/graphics/gle-graphics/Makefile index a058cb724423..526b6b701707 100644 --- a/graphics/gle-graphics/Makefile +++ b/graphics/gle-graphics/Makefile @@ -18,9 +18,9 @@ BUILD_DEPENDS= qmake-qt4:${PORTSDIR}/devel/qmake4 BITMAP_IMAGES_CONFIGURE_WITH= jpeg=${LOCALBASE} tiff=${LOCALBASE} png=${LOCALBASE} BITMAP_IMAGES_DESC= Support for including bitmap images -BITMAP_IMAGES_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libpng.so:${PORTSDIR}/graphics/png \ +BITMAP_IMAGES_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ libtiffxx.so:${PORTSDIR}/graphics/tiff +BITMAP_IMAGES_USES= jpeg CONFIGURE_ARGS= --with-extrafonts=yes diff --git a/graphics/gnash/Makefile b/graphics/gnash/Makefile index 7dee98752148..75fb44820dfc 100644 --- a/graphics/gnash/Makefile +++ b/graphics/gnash/Makefile @@ -12,7 +12,6 @@ COMMENT= GNU Flash movie player LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \ libltdl.so:${PORTSDIR}/devel/libltdl \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libcurl.so:${PORTSDIR}/ftp/curl \ libgif.so:${PORTSDIR}/graphics/giflib \ libspeex.so:${PORTSDIR}/audio/speex \ @@ -20,7 +19,7 @@ LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \ CONFLICTS= gnash-devel-[0-9]* -USES= cpe tar:bzip2 pkgconfig gmake libtool +USES= cpe gmake jpeg libtool pkgconfig tar:bzip2 GNU_CONFIGURE= yes WANT_SDL= yes USE_GCC= any diff --git a/graphics/gnofract4d/Makefile b/graphics/gnofract4d/Makefile index 10d9dc6ae58e..fcb58abb4433 100644 --- a/graphics/gnofract4d/Makefile +++ b/graphics/gnofract4d/Makefile @@ -12,10 +12,9 @@ COMMENT= Weird GNOME fractal generator LICENSE= BSD3CLAUSE -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libpng.so:${PORTSDIR}/graphics/png +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png -USES= desktop-file-utils pathfix pkgconfig python shared-mime-info +USES= desktop-file-utils jpeg pathfix pkgconfig python shared-mime-info USE_GNOME= gnomeprefix intlhack libgnomeui pygtk2 USE_PYTHON= distutils autoplist USE_GCC= yes diff --git a/graphics/grads/Makefile b/graphics/grads/Makefile index 4098faa4d970..3b5805d0382a 100644 --- a/graphics/grads/Makefile +++ b/graphics/grads/Makefile @@ -19,9 +19,9 @@ COMMENT= The Grid Analysis and Display System BUILD_DEPENDS= ${LOCALBASE}/lib/libudunits2.a:${PORTSDIR}/science/udunits \ ${LOCALBASE}/lib/libsx.a:${PORTSDIR}/x11/libsx LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpng.so:${PORTSDIR}/graphics/png +USES= jpeg GNU_CONFIGURE= yes CONFIGURE_ENV+= SUPPLIBS="${LOCALBASE}" CONFIGURE_ARGS+= --enable-dyn-supplibs \ diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile index 8bad9be268ab..deeba50bed2d 100644 --- a/graphics/graphviz/Makefile +++ b/graphics/graphviz/Makefile @@ -11,14 +11,13 @@ MAINTAINER= dinoex@FreeBSD.org COMMENT= Graph Visualization Software from AT&T and Bell Labs LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpng.so:${PORTSDIR}/graphics/png \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ libexpat.so:${PORTSDIR}/textproc/expat2 \ libgd.so:${PORTSDIR}/${GD_PORT} -USES= cpe gmake bison libtool:keepla pkgconfig pathfix shebangfix +USES= bison cpe gmake jpeg libtool:keepla pkgconfig pathfix shebangfix GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib CPPFLAGS+= -I${LOCALBASE}/include diff --git a/graphics/grx/Makefile b/graphics/grx/Makefile index 1e7e72664970..d60f9c76e438 100644 --- a/graphics/grx/Makefile +++ b/graphics/grx/Makefile @@ -38,7 +38,7 @@ BGI_DESC= BGI image format support BGI_CONFIGURE_ENABLE= bgi BMP_DESC= BMP image format support BMP_CONFIGURE_ENABLE= bmp -JPEG_LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg +JPEG_USES= jpeg JPEG_CONFIGURE_ENABLE= jpeg PNG_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png PNG_CONFIGURE_ENABLE= png diff --git a/graphics/gstreamer-plugins-gl/Makefile b/graphics/gstreamer-plugins-gl/Makefile index 88c292ebf21c..9d6111045c67 100644 --- a/graphics/gstreamer-plugins-gl/Makefile +++ b/graphics/gstreamer-plugins-gl/Makefile @@ -11,10 +11,9 @@ DISTNAME= ${PORTNAME:S/gstreamer/gst/}-${PORTVERSION} MAINTAINER= multimedia@FreeBSD.org COMMENT= GStreamer OpenGL video plugin -LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ - libjpeg.so:${PORTSDIR}/graphics/jpeg +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png -USES= gettext gmake libtool pathfix pkgconfig tar:bzip2 +USES= gettext gmake jpeg libtool pathfix pkgconfig tar:bzip2 USE_LDCONFIG= yes USE_GSTREAMER= yes USE_XORG= ice x11 diff --git a/graphics/gwenview-kde4/Makefile b/graphics/gwenview-kde4/Makefile index 769bf9d5e20f..9170d4036635 100644 --- a/graphics/gwenview-kde4/Makefile +++ b/graphics/gwenview-kde4/Makefile @@ -9,13 +9,12 @@ DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Image viewer and browser for KDE 4 -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libexiv2.so:${PORTSDIR}/graphics/exiv2 \ +LIB_DEPENDS= libexiv2.so:${PORTSDIR}/graphics/exiv2 \ libpng.so:${PORTSDIR}/graphics/png USE_KDE4= kactivities kdelibs kdeprefix baloo kfilemetadata \ libkdcraw libkipi libkonq automoc4 soprano -USES= cmake:outsource pkgconfig tar:xz +USES= cmake:outsource jpeg pkgconfig tar:xz USE_QT4= corelib gui opengl qmake_build moc_build uic_build rcc_build USE_LDCONFIG= yes diff --git a/graphics/hugin-devel/Makefile b/graphics/hugin-devel/Makefile index 8aa91f6f360a..7d32a6c45c17 100644 --- a/graphics/hugin-devel/Makefile +++ b/graphics/hugin-devel/Makefile @@ -17,7 +17,6 @@ LIB_DEPENDS= libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \ libImath.so:${PORTSDIR}/graphics/ilmbase \ libboost_thread.so:${PORTSDIR}/devel/boost-libs \ libexiv2.so:${PORTSDIR}/graphics/exiv2 \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ liblensfun.so:${PORTSDIR}/graphics/lensfun \ libpano13.so:${PORTSDIR}/graphics/libpano13 \ libpng.so:${PORTSDIR}/graphics/png \ @@ -39,7 +38,7 @@ OPTIONS_DEFAULT= PANOMATIC AUTOPANOSIFTC PANOMATIC_DESC= Install graphics/panomatic AUTOPANOSIFTC_DESC= Install graphics/autopano-sift-c -USES= cmake gettext pkgconfig tar:bzip2 +USES= cmake gettext jpeg pkgconfig tar:bzip2 CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE=${WX_CONFIG} diff --git a/graphics/hugin/Makefile b/graphics/hugin/Makefile index b9f34eb69afc..bb5733c5357e 100644 --- a/graphics/hugin/Makefile +++ b/graphics/hugin/Makefile @@ -14,7 +14,6 @@ LIB_DEPENDS= libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \ libImath.so:${PORTSDIR}/graphics/ilmbase \ libboost_thread.so:${PORTSDIR}/devel/boost-libs \ libexiv2.so:${PORTSDIR}/graphics/exiv2 \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ liblensfun.so:${PORTSDIR}/graphics/lensfun \ libpano13.so:${PORTSDIR}/graphics/libpano13 \ libpng.so:${PORTSDIR}/graphics/png \ @@ -31,7 +30,7 @@ OPTIONS_DEFAULT= PANOMATIC AUTOPANOSIFTC PANOMATIC_DESC= Install graphics/panomatic AUTOPANOSIFTC_DESC= Install graphics/autopano-sift-c -USES= cmake gettext pkgconfig tar:bzip2 desktop-file-utils python \ +USES= cmake gettext jpeg pkgconfig tar:bzip2 desktop-file-utils python \ shared-mime-info compiler:features CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE=${WX_CONFIG} diff --git a/graphics/iccexamin/Makefile b/graphics/iccexamin/Makefile index eb07909c1db2..c07aea0c6d4a 100644 --- a/graphics/iccexamin/Makefile +++ b/graphics/iccexamin/Makefile @@ -17,11 +17,10 @@ LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk \ liblcms.so:${PORTSDIR}/graphics/lcms \ libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ liboyranos.so:${PORTSDIR}/graphics/oyranos MAKE_JOBS_UNSAFE= yes -USES= desktop-file-utils gettext iconv pkgconfig tar:bzip2 +USES= desktop-file-utils gettext iconv jpeg pkgconfig tar:bzip2 HAS_CONFIGURE= yes INSTALLS_ICONS= yes USE_XORG= # diff --git a/graphics/icontact/Makefile b/graphics/icontact/Makefile index 74b92c083b78..32d20b77d52e 100644 --- a/graphics/icontact/Makefile +++ b/graphics/icontact/Makefile @@ -10,10 +10,9 @@ MASTER_SITES= http://www.panix.com/~mbh/icontact/ MAINTAINER= ports@FreeBSD.org COMMENT= Combines multiples images to create a single customisable image -RUN_DEPENDS= ${LOCALBASE}/bin/ppmmake:${PORTSDIR}/graphics/netpbm \ - ${LOCALBASE}/bin/cjpeg:${PORTSDIR}/graphics/jpeg +RUN_DEPENDS= ${LOCALBASE}/bin/ppmmake:${PORTSDIR}/graphics/netpbm -USES= shebangfix +USES= jpeg:run shebangfix SHEBANG_FILES= icontact post-patch: diff --git a/graphics/ida/Makefile b/graphics/ida/Makefile index eec45b5d93eb..90a7eb38fc8b 100644 --- a/graphics/ida/Makefile +++ b/graphics/ida/Makefile @@ -13,8 +13,7 @@ COMMENT= Small and fast motif-based image viewer and editor LICENSE= GPLv2 -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libexif.so:${PORTSDIR}/graphics/libexif +LIB_DEPENDS= libexif.so:${PORTSDIR}/graphics/libexif OPTIONS_DEFINE= GIF PCF PNG SANE TIFF WEBP DOCS OPTIONS_DEFAULT= GIF PNG TIFF @@ -22,7 +21,7 @@ PCD_DESC= Enable PhotoCD support SANE_DESC= Enable SANE support USE_PERL5= build -USES= desktop-file-utils iconv gmake motif perl5 +USES= desktop-file-utils gmake iconv jpeg motif perl5 MAKEFILE= GNUmakefile MAKE_ARGS= JPEG_VER=80 verbose=yes diff --git a/graphics/iiview/Makefile b/graphics/iiview/Makefile index ef6979682f6c..57aaf3f76543 100644 --- a/graphics/iiview/Makefile +++ b/graphics/iiview/Makefile @@ -12,9 +12,9 @@ COMMENT= Thumb viewer application LICENSE= BSD2CLAUSE BUILD_DEPENDS= ${LOCALBASE}/lib/libpng.a:${PORTSDIR}/graphics/png \ - ${LOCALBASE}/lib/libtiff.a:${PORTSDIR}/graphics/tiff \ - ${LOCALBASE}/lib/libjpeg.a:${PORTSDIR}/graphics/jpeg + ${LOCALBASE}/lib/libtiff.a:${PORTSDIR}/graphics/tiff +USES= jpeg:build USE_XORG= xpm x11 USE_GITHUB= yes diff --git a/graphics/imageindex/Makefile b/graphics/imageindex/Makefile index ed3c0972b44d..361bfc41ba80 100644 --- a/graphics/imageindex/Makefile +++ b/graphics/imageindex/Makefile @@ -10,12 +10,11 @@ MASTER_SITES= http://www.edwinh.org/imageindex/release/ \ MAINTAINER= johnjen@reynoldsnet.org COMMENT= Digital photo gallery tool -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick \ mplayer:${PORTSDIR}/multimedia/mplayer \ p5-Image-Info>=0:${PORTSDIR}/graphics/p5-Image-Info -USES= perl5 +USES= jpeg perl5 USE_PERL5= run MAKE_ARGS+= PERLPATH=${PERL} PREFIX=${STAGEDIR}${PREFIX} diff --git a/graphics/imageworsener/Makefile b/graphics/imageworsener/Makefile index 0735a4845a8f..d7af1107d17b 100644 --- a/graphics/imageworsener/Makefile +++ b/graphics/imageworsener/Makefile @@ -25,7 +25,7 @@ USES= libtool JPEG_CONFIGURE_OFF= --without-jpeg JPEG_CONFIGURE_ON= --with-jpeg-include-dir=${LOCALBASE}/include --with-jpeg-lib-dir=${LOCALBASE}/lib -JPEG_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg +JPEG_USES= jpeg PNG_CONFIGURE_OFF= --without-png PNG_CONFIGURE_ON= --with-png-include-dir=${LOCALBASE}/include --with-png-lib-dir=${LOCALBASE}/lib PNG_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png diff --git a/graphics/imlib2/Makefile b/graphics/imlib2/Makefile index d20ba1c6b00b..52aaa2f12c12 100644 --- a/graphics/imlib2/Makefile +++ b/graphics/imlib2/Makefile @@ -54,7 +54,7 @@ PLIST_SUB= X11="" .endif .if ${PORT_OPTIONS:MJPEG} -LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg +USES+= jpeg PLIST_SUB+= JPEG="" .else CONFIGURE_ARGS+= --without-jpeg diff --git a/graphics/inventor/Makefile b/graphics/inventor/Makefile index 0c029d486b5b..9314af209fc7 100644 --- a/graphics/inventor/Makefile +++ b/graphics/inventor/Makefile @@ -14,14 +14,13 @@ COMMENT= SGI's Open Inventor (TM) LICENSE= LGPL21 -LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ - libjpeg.so:${PORTSDIR}/graphics/jpeg +LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 CONFLICTS= Coin-[0-9]* SoXt-[0-9]* USE_XORG= x11 xext xi xp xt USE_GL= glu glw -USES= iconv gmake motif +USES= gmake iconv jpeg motif USE_LDCONFIG= yes ONLY_FOR_ARCHS= i386 amd64 MAKE_JOBS_UNSAFE= yes diff --git a/graphics/ipe/Makefile b/graphics/ipe/Makefile index 597505136d82..92a2838f03e6 100644 --- a/graphics/ipe/Makefile +++ b/graphics/ipe/Makefile @@ -12,12 +12,11 @@ COMMENT= Extensible vector graphics editor with LaTeX support LICENSE= GPLv3 # (or later) -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src -USES= dos2unix gmake iconv lua:52 pkgconfig +USES= dos2unix gmake iconv jpeg lua:52 pkgconfig DOS2UNIX_FILES= ipelib/Makefile USE_GNOME= cairo USE_QT4= gui moc_build qmake_build rcc_build uic_build diff --git a/graphics/iulib/Makefile b/graphics/iulib/Makefile index e0816e1ad223..50bb81c3bf0c 100644 --- a/graphics/iulib/Makefile +++ b/graphics/iulib/Makefile @@ -13,14 +13,13 @@ COMMENT= Library of image understanding-related algorithms LICENSE= APACHE20 LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libtiff.so:${PORTSDIR}/graphics/tiff OPTIONS_DEFINE= SDL VIDIO SDL_DESC= Enable SDL for graphical debugging VIDIO_DESC= Enable Video Input/Output (using ffmpeg) -USES= autoreconf libtool python:build tar:tgz +USES= autoreconf jpeg libtool python:build tar:tgz GNU_CONFIGURE= yes USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include diff --git a/graphics/jasper/Makefile b/graphics/jasper/Makefile index d49b586415c5..071540d186c3 100644 --- a/graphics/jasper/Makefile +++ b/graphics/jasper/Makefile @@ -11,11 +11,9 @@ MASTER_SITES= http://www.ece.uvic.ca/~mdadams/jasper/software/ \ MAINTAINER= dinoex@FreeBSD.org COMMENT= Implementation of the codec specified in the JPEG-2000 standard -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg - LICENSE= MIT -USES= zip libtool:keepla +USES= jpeg libtool:keepla zip GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib diff --git a/graphics/jhead/Makefile b/graphics/jhead/Makefile index af67af8d44a6..bc41366fb383 100644 --- a/graphics/jhead/Makefile +++ b/graphics/jhead/Makefile @@ -10,7 +10,7 @@ MASTER_SITES= http://www.sentex.net/~mwandel/${PORTNAME}/ \ MAINTAINER= sunpoet@FreeBSD.org COMMENT= EXIF JPEG header manipulation tool -RUN_DEPENDS= ${LOCALBASE}/bin/jpegtran:${PORTSDIR}/graphics/jpeg +USES= jpeg:run OPTIONS_DEFINE= DOCS diff --git a/graphics/jp2a/Makefile b/graphics/jp2a/Makefile index 04e4f38fff9f..fa69c027e55f 100644 --- a/graphics/jp2a/Makefile +++ b/graphics/jp2a/Makefile @@ -10,10 +10,9 @@ MASTER_SITES= SF MAINTAINER= ehaupt@FreeBSD.org COMMENT= Converts JPG images to ASCII -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libcurl.so:${PORTSDIR}/ftp/curl +LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl -USES= tar:bzip2 +USES= jpeg tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-jpeg-prefix=${LOCALBASE} \ diff --git a/graphics/jpeginfo/Makefile b/graphics/jpeginfo/Makefile index 2fa2fb4216e5..9c90cfc2d3c8 100644 --- a/graphics/jpeginfo/Makefile +++ b/graphics/jpeginfo/Makefile @@ -12,8 +12,7 @@ COMMENT= Generate listing and MD5, check jpegs for error, delete broken ones LICENSE= GPLv2 -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg - +USES= jpeg GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib diff --git a/graphics/jpegoptim/Makefile b/graphics/jpegoptim/Makefile index b55116c8a70b..4c3eece4ce3c 100644 --- a/graphics/jpegoptim/Makefile +++ b/graphics/jpegoptim/Makefile @@ -13,8 +13,7 @@ COMMENT= Utility to optimize jpeg files LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg - +USES= jpeg GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libjpeg=${LOCALBASE} diff --git a/graphics/jpgtn/Makefile b/graphics/jpgtn/Makefile index c6af00e63482..97bb2d90ac11 100644 --- a/graphics/jpgtn/Makefile +++ b/graphics/jpgtn/Makefile @@ -10,8 +10,7 @@ MASTER_SITES= SUNSITE/apps/graphics/misc MAINTAINER= ports@FreeBSD.org COMMENT= Creates thumbnails of JPEG images -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg - +USES= jpeg GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libjpeg=${LOCALBASE} diff --git a/graphics/jslice/Makefile b/graphics/jslice/Makefile index dc2a4633cf6f..351bfde73a19 100644 --- a/graphics/jslice/Makefile +++ b/graphics/jslice/Makefile @@ -10,7 +10,7 @@ MASTER_SITES= http://www.pldaniels.com/jslice/ MAINTAINER= ports@FreeBSD.org COMMENT= Graphics tool to split up a JPEG image and provide HTML for the slices -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg +USES= jpeg PLIST_FILES= bin/jslice diff --git a/graphics/kphotoalbum-kde4/Makefile b/graphics/kphotoalbum-kde4/Makefile index 0fa7366ce1e9..e6f8eb9555c7 100644 --- a/graphics/kphotoalbum-kde4/Makefile +++ b/graphics/kphotoalbum-kde4/Makefile @@ -11,10 +11,9 @@ DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= Image viewer and organizer for KDE -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libexiv2.so:${PORTSDIR}/graphics/exiv2 +LIB_DEPENDS= libexiv2.so:${PORTSDIR}/graphics/exiv2 -USES= cmake:outsource pkgconfig shebangfix tar:bzip2 +USES= cmake:outsource jpeg pkgconfig shebangfix tar:bzip2 SHEBANG_FILES= script/open-raw.pl script/kpa-backup.sh USE_KDE4= kdelibs kdeprefix libkdcraw libkipi automoc4 USE_QT4= phonon sql \ diff --git a/graphics/lcms/Makefile b/graphics/lcms/Makefile index b0d6872db298..3b286e3b2c2e 100644 --- a/graphics/lcms/Makefile +++ b/graphics/lcms/Makefile @@ -31,7 +31,7 @@ PORTDOCS= * JPEGICC_CONFIGURE_OFF= --without-jpeg JPEGICC_CONFIGURE_ON= --with-jpeg=${LOCALBASE} -JPEGICC_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg +JPEGICC_USES= jpeg TIFFICC_CONFIGURE_OFF= --without-tiff TIFFICC_CONFIGURE_ON= --with-tiff=${LOCALBASE} TIFFICC_LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff diff --git a/graphics/lcms2/Makefile b/graphics/lcms2/Makefile index da093ac3c7a6..4a0444b1c1fd 100644 --- a/graphics/lcms2/Makefile +++ b/graphics/lcms2/Makefile @@ -28,7 +28,7 @@ PORTDOCS= * JPEGICC_CONFIGURE_OFF= --without-jpeg JPEGICC_CONFIGURE_ON= --with-jpeg=${LOCALBASE} -JPEGICC_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg +JPEGICC_USES= jpeg TIFFICC_CONFIGURE_OFF= --without-tiff TIFFICC_CONFIGURE_ON= --with-tiff=${LOCALBASE} TIFFICC_LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff diff --git a/graphics/leptonica/Makefile b/graphics/leptonica/Makefile index 19239706cef4..92e1f339899b 100644 --- a/graphics/leptonica/Makefile +++ b/graphics/leptonica/Makefile @@ -11,14 +11,13 @@ MAINTAINER= hiroto.kagotani@gmail.com COMMENT= C library for efficient image processing and image analysis operations LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff \ libwebp.so:${PORTSDIR}/graphics/webp CONFLICTS= leptonlib-[0-9]* -USES= libtool +USES= jpeg libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include diff --git a/graphics/libafterimage/Makefile b/graphics/libafterimage/Makefile index fdbecc662255..0d5fea859689 100644 --- a/graphics/libafterimage/Makefile +++ b/graphics/libafterimage/Makefile @@ -14,12 +14,11 @@ COMMENT= Generic imaging library originally designed for AfterStep LICENSE= LGPL21 # or later LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff \ libfreetype.so:${PORTSDIR}/print/freetype2 -USES= pkgconfig tar:bzip2 +USES= jpeg pkgconfig tar:bzip2 USE_XORG= xext USE_GNOME= librsvg2 GNU_CONFIGURE= yes diff --git a/graphics/libbpg/Makefile b/graphics/libbpg/Makefile index 0d423d7c6b3e..5b9c441c0848 100644 --- a/graphics/libbpg/Makefile +++ b/graphics/libbpg/Makefile @@ -13,8 +13,7 @@ COMMENT= BPG (Better Portable Graphics) is a new image format LICENSE= BSD2CLAUSE LGPL21 LICENSE_COMB= multi -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libpng.so:${PORTSDIR}/graphics/png +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png OPTIONS_DEFINE= SDL JCTVC X265 OPTIONS_DEFAULT=SDL JCTVC @@ -24,14 +23,14 @@ USE_LDCONFIG= yes SDL_USE= SDL=image X265_LIB_DEPENDS= libx265.so:${PORTSDIR}/multimedia/x265 -.include <bsd.port.options.mk> - JCTVC_DESC= Enable JCTVC (best quality but slow) for the encoder JCTVCHI_DESC= Use bit depths > 12 with JCTVC (experimental) -USES= gmake compiler:c++11-lib +USES= compiler:c++11-lib gmake jpeg CFLAGS+= -fPIC -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +.include <bsd.port.options.mk> + do-configure: .if ! ${PORT_OPTIONS:MSDL} ${REINPLACE_CMD} -e 's/^USE_BPGVIEW=y$$/#USE_BPGVIEW=/' ${WRKSRC}/Makefile diff --git a/graphics/libgaiagraphics/Makefile b/graphics/libgaiagraphics/Makefile index adc2bf9d455f..1d6fbf2b7fec 100644 --- a/graphics/libgaiagraphics/Makefile +++ b/graphics/libgaiagraphics/Makefile @@ -13,10 +13,9 @@ COMMENT= Library supporting common-utility raster handling methods LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff \ libgeotiff.so:${PORTSDIR}/graphics/libgeotiff \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libcairo.so:${PORTSDIR}/graphics/cairo -USES= gmake iconv pathfix pkgconfig libtool +USES= gmake iconv jpeg pathfix pkgconfig libtool USE_LDCONFIG= yes CFLAGS+= -I${LOCALBASE}/include diff --git a/graphics/libgeotiff/Makefile b/graphics/libgeotiff/Makefile index 392aaed4b63c..fc540eeb55aa 100644 --- a/graphics/libgeotiff/Makefile +++ b/graphics/libgeotiff/Makefile @@ -15,11 +15,10 @@ COMMENT= Library for reading and writing GeoTIFF information tags LICENSE= MIT LIB_DEPENDS= libjbig.so:${PORTSDIR}/graphics/jbigkit \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libproj.so:${PORTSDIR}/graphics/proj \ libtiff.so:${PORTSDIR}/graphics/tiff -USES= libtool +USES= jpeg libtool CONFIGURE_ARGS= --datadir=${DATADIR} \ --disable-doxygen-doc \ --disable-doxygen-dot \ diff --git a/graphics/libgfx/Makefile b/graphics/libgfx/Makefile index 2a0fc988b3e5..9daa1141c196 100644 --- a/graphics/libgfx/Makefile +++ b/graphics/libgfx/Makefile @@ -15,12 +15,11 @@ LICENSE= MIT LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk \ libtiff.so:${PORTSDIR}/graphics/tiff \ libpng.so:${PORTSDIR}/graphics/png \ - libgzstream.so:${PORTSDIR}/devel/gzstream \ - libjpeg.so:${PORTSDIR}/graphics/jpeg + libgzstream.so:${PORTSDIR}/devel/gzstream BUILD_WRKSRC= ${WRKSRC}/src -USES= gmake +USES= gmake jpeg USE_GL= glu USE_XORG= x11 xext xft xinerama GNU_CONFIGURE= yes diff --git a/graphics/libgphoto2/Makefile b/graphics/libgphoto2/Makefile index 09c9532c26b4..a80c23d0947a 100644 --- a/graphics/libgphoto2/Makefile +++ b/graphics/libgphoto2/Makefile @@ -37,7 +37,7 @@ OPTIONS_SUB= yes GD_LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd GD_CONFIGURE_WITH= gd -JPEG_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg +JPEG_USES= jpeg JPEG_CONFIGURE_WITH= jpeg LIBEXIF_LIB_DEPENDS= libexif.so:${PORTSDIR}/graphics/libexif LIBEXIF_CONFIGURE_OFF= --with-libexif=no diff --git a/graphics/libgxps/Makefile b/graphics/libgxps/Makefile index 38d6cb63a1a0..754f2edc446e 100644 --- a/graphics/libgxps/Makefile +++ b/graphics/libgxps/Makefile @@ -13,11 +13,10 @@ MAINTAINER= gnome@FreeBSD.org COMMENT= GObject based library for rendering XPS documents LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libtiff.so:${PORTSDIR}/graphics/tiff \ liblcms2.so:${PORTSDIR}/graphics/lcms2 -USES= gettext gmake libtool pathfix pkgconfig tar:xz +USES= gettext gmake jpeg libtool pathfix pkgconfig tar:xz USE_LDCONFIG= yes USE_GNOME= cairo gnomeprefix glib20 intlhack GNU_CONFIGURE= yes diff --git a/graphics/libimg/Makefile b/graphics/libimg/Makefile index 9387f3a7dee3..49920603c4c8 100644 --- a/graphics/libimg/Makefile +++ b/graphics/libimg/Makefile @@ -13,14 +13,13 @@ COMMENT= Library of image format handlers for Tk4.1 and later BUILD_DEPENDS= dtplite:${PORTSDIR}/devel/tcllib LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libtiff.so:${PORTSDIR}/graphics/tiff PLIST_SUB+= SHLIB_NAME="${SHLIB_NAME}" \ SHLIB_LINK="${SHLIB_LINK}" WRKSRC= ${WRKDIR}/tkimg${PORTVERSION:R} -USES= tk tar:bzip2 +USES= jpeg tk tar:bzip2 # We don't need the bundled libraries: EXTRACT_AFTER_ARGS= --exclude '*/libz/*' --exclude zlib \ diff --git a/graphics/libkdcraw-kde4/Makefile b/graphics/libkdcraw-kde4/Makefile index bf11f184a109..8629a0746a9c 100644 --- a/graphics/libkdcraw-kde4/Makefile +++ b/graphics/libkdcraw-kde4/Makefile @@ -12,7 +12,6 @@ MAINTAINER= kde@FreeBSD.org COMMENT= LibRaw interface for KDE LIB_DEPENDS= libjasper.so:${PORTSDIR}/graphics/jasper \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ liblcms.so:${PORTSDIR}/graphics/lcms \ libxml2.so:${PORTSDIR}/textproc/libxml2 \ libraw.so:${PORTSDIR}/graphics/libraw @@ -21,7 +20,7 @@ CMAKE_ARGS+= -DWITH_OpenMP:BOOL=False \ -DENABLE_RAWSPEED=True USE_KDE4= automoc4 kdeprefix kdelibs -USES= cmake:outsource pkgconfig tar:xz +USES= cmake:outsource jpeg pkgconfig tar:xz USE_QT4= corelib gui moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes diff --git a/graphics/libmng/Makefile b/graphics/libmng/Makefile index 8e0ec4794964..8d9fa5d22357 100644 --- a/graphics/libmng/Makefile +++ b/graphics/libmng/Makefile @@ -11,8 +11,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-devel/${PORTVERSION} \ MAINTAINER= mi@aldan.algebra.com COMMENT= Multiple-image Network Graphics (MNG) reference library -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - liblcms.so:${PORTSDIR}/graphics/lcms +LIB_DEPENDS= liblcms.so:${PORTSDIR}/graphics/lcms OPTIONS_DEFINE= MNG_OPTIMIZE MNG_OPTIMIZE_DESC= Use vendor's new optimization flags @@ -20,7 +19,7 @@ MNG_OPTIMIZE_DESC= Use vendor's new optimization flags MAKEFILE= ${FILESDIR}/Makefile.bsd #USE_BZIP2= yes # Please, uncomment on next upgrade -USES= uidfix +USES= jpeg uidfix USE_LDCONFIG= yes MNG_OPTIMIZE_MAKE_ARGS= WITH_MNG_OPTIMIZE=true diff --git a/graphics/libopenraw/Makefile b/graphics/libopenraw/Makefile index de0159836ed9..0e751a72a24d 100644 --- a/graphics/libopenraw/Makefile +++ b/graphics/libopenraw/Makefile @@ -13,10 +13,9 @@ COMMENT= Library for camera RAW files decoding LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING.LESSER -LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \ - libjpeg.so:${PORTSDIR}/graphics/jpeg +LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs -USES= compiler:c++11-lang libtool pkgconfig tar:bzip2 +USES= compiler:c++11-lang jpeg libtool pkgconfig tar:bzip2 USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes diff --git a/graphics/libpano13/Makefile b/graphics/libpano13/Makefile index 3089768d7346..cc8b76a8e9ff 100644 --- a/graphics/libpano13/Makefile +++ b/graphics/libpano13/Makefile @@ -13,13 +13,12 @@ COMMENT= Cross-platform library behind Panorama Tools and other photo stitchers LICENSE= GPLv2 # or later LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libpng.so:${PORTSDIR}/graphics/png \ +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff USE_GNOME= gtk20 glib20 pango atk -USES= autoreconf libtool +USES= autoreconf jpeg libtool GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include/gtk-2.0 \ -I${LOCALBASE}/include/glib-2.0 \ diff --git a/graphics/librasterlite/Makefile b/graphics/librasterlite/Makefile index 92f6cad8e321..f3cc5510a79a 100644 --- a/graphics/librasterlite/Makefile +++ b/graphics/librasterlite/Makefile @@ -17,7 +17,6 @@ LIB_DEPENDS= libspatialite.so:${PORTSDIR}/databases/spatialite \ libsqlite3.so:${PORTSDIR}/databases/sqlite3 \ libgeotiff.so:${PORTSDIR}/graphics/libgeotiff \ libjbig.so:${PORTSDIR}/graphics/jbigkit \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpng.so:${PORTSDIR}/graphics/png \ libgeos.so:${PORTSDIR}/graphics/geos \ libproj.so:${PORTSDIR}/graphics/proj \ @@ -25,7 +24,7 @@ LIB_DEPENDS= libspatialite.so:${PORTSDIR}/databases/spatialite \ libfreexl.so:${PORTSDIR}/textproc/freexl GNU_CONFIGURE= yes -USES= gmake iconv libtool pathfix pkgconfig +USES= gmake iconv jpeg libtool pathfix pkgconfig USE_LDCONFIG= yes INSTALL_TARGET= install-strip diff --git a/graphics/librasterlite2/Makefile b/graphics/librasterlite2/Makefile index ffd45430e6a3..e452faaab83f 100644 --- a/graphics/librasterlite2/Makefile +++ b/graphics/librasterlite2/Makefile @@ -18,7 +18,6 @@ LIB_DEPENDS= libspatialite.so:${PORTSDIR}/databases/spatialite \ libsqlite3.so:${PORTSDIR}/databases/sqlite3 \ libgeotiff.so:${PORTSDIR}/graphics/libgeotiff \ libjbig.so:${PORTSDIR}/graphics/jbigkit \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpng.so:${PORTSDIR}/graphics/png \ libgif.so:${PORTSDIR}/graphics/giflib \ libgeos.so:${PORTSDIR}/graphics/geos \ @@ -30,7 +29,7 @@ LIB_DEPENDS= libspatialite.so:${PORTSDIR}/databases/spatialite \ libcurl.so:${PORTSDIR}/ftp/curl GNU_CONFIGURE= yes -USES= gmake iconv libtool pathfix pkgconfig +USES= gmake iconv jpeg libtool pathfix pkgconfig USE_LDCONFIG= yes INSTALL_TARGET= install-strip diff --git a/graphics/libraw/Makefile b/graphics/libraw/Makefile index 763909fc47ba..3660663ae51d 100644 --- a/graphics/libraw/Makefile +++ b/graphics/libraw/Makefile @@ -15,10 +15,8 @@ COMMENT= Library for manipulating raw images LICENSE= LGPL21 CDDL LICENSE_COMB= dual -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg - USE_LDCONFIG= yes -USES= cpe pathfix pkgconfig libtool +USES= cpe libtool jpeg pathfix pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-examples --disable-jasper CFLAGS+= -fPIC diff --git a/graphics/libreatlas/Makefile b/graphics/libreatlas/Makefile index 19e833386fa6..ea4ddbffb74c 100644 --- a/graphics/libreatlas/Makefile +++ b/graphics/libreatlas/Makefile @@ -20,7 +20,6 @@ LIB_DEPENDS= libmspack.so:${PORTSDIR}/archivers/libmspack \ libcairo.so:${PORTSDIR}/graphics/cairo \ libgeos.so:${PORTSDIR}/graphics/geos \ libjbig.so:${PORTSDIR}/graphics/jbigkit \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libgeotiff.so:${PORTSDIR}/graphics/libgeotiff \ librasterlite.so:${PORTSDIR}/graphics/librasterlite \ libpng.so:${PORTSDIR}/graphics/png \ @@ -32,7 +31,7 @@ LIB_DEPENDS= libmspack.so:${PORTSDIR}/archivers/libmspack \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig GNU_CONFIGURE= yes -USES= pkgconfig gettext gmake iconv +USES= gettext gmake iconv jpeg pkgconfig USE_XORG= ice pixman sm x11 xau xcb xcomposite xcursor xdamage xdmcp xext \ xfixes xi xinerama xrandr xrender xxf86vm USE_GNOME= atk gdkpixbuf2 glib20 gtk20 pango diff --git a/graphics/libsixel/Makefile b/graphics/libsixel/Makefile index e9c2498ffaee..d540c81213e8 100644 --- a/graphics/libsixel/Makefile +++ b/graphics/libsixel/Makefile @@ -35,7 +35,7 @@ CURL_CONFIGURE_WITH= libcurl GD_LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd GD_CONFIGURE_WITH= gd -JPEG_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg +JPEG_USES= jpeg JPEG_CONFIGURE_WITH= jpeg JPEG_CPPFLAGS= -I${LOCALBASE}/include JPEG_LDFLAGS= -L${LOCALBASE}/lib diff --git a/graphics/libsvg-cairo/Makefile b/graphics/libsvg-cairo/Makefile index 7066dd4c2025..1f108b07f04f 100644 --- a/graphics/libsvg-cairo/Makefile +++ b/graphics/libsvg-cairo/Makefile @@ -11,12 +11,11 @@ MASTER_SITES= http://cairographics.org/snapshots/ MAINTAINER= gnome@FreeBSD.org COMMENT= SVG rendering library -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libsvg.so:${PORTSDIR}/graphics/libsvg \ +LIB_DEPENDS= libsvg.so:${PORTSDIR}/graphics/libsvg \ libcairo.so:${PORTSDIR}/graphics/cairo GNU_CONFIGURE= yes -USES= libtool pathfix pkgconfig +USES= jpeg libtool pathfix pkgconfig USE_LDCONFIG= yes PLIST_FILES= include/svg-cairo.h \ lib/libsvg-cairo.a \ diff --git a/graphics/libsvg/Makefile b/graphics/libsvg/Makefile index ea1f67e9d37f..536f38a046aa 100644 --- a/graphics/libsvg/Makefile +++ b/graphics/libsvg/Makefile @@ -12,12 +12,11 @@ MAINTAINER= gnome@FreeBSD.org COMMENT= Parser for SVG content in files or buffers LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ - libpng.so:${PORTSDIR}/graphics/png \ - libjpeg.so:${PORTSDIR}/graphics/jpeg + libpng.so:${PORTSDIR}/graphics/png GNU_CONFIGURE= yes USE_GNOME= libxml2 -USES= iconv libtool pathfix pkgconfig +USES= iconv jpeg libtool pathfix pkgconfig USE_LDCONFIG= yes CFLAGS+= -I${LOCALBASE}/include diff --git a/graphics/libwmf/Makefile b/graphics/libwmf/Makefile index 0edd5704f343..6eee70dce710 100644 --- a/graphics/libwmf/Makefile +++ b/graphics/libwmf/Makefile @@ -13,8 +13,7 @@ COMMENT= Tools and library for converting Microsoft WMF (windows metafile) LICENSE= GPLv2 # or later LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libpng.so:${PORTSDIR}/graphics/png \ +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ libfreetype.so:${PORTSDIR}/print/freetype2 CONFLICTS?= libwmf-nox11-[0-9]* @@ -24,7 +23,7 @@ CONFIGURE_ARGS= --with-sys-gd=no \ --with-png=${LOCALBASE} --with-jpeg=${LOCALBASE} \ --with-gsfontdir=${LOCALBASE}/share/ghostscript/fonts INSTALL_TARGET= install-strip -USES= libtool +USES= jpeg libtool USE_GNOME= libxml2 USE_LDCONFIG= yes diff --git a/graphics/lprof-devel/Makefile b/graphics/lprof-devel/Makefile index 897d1ee1e2f8..e124c4b7315b 100644 --- a/graphics/lprof-devel/Makefile +++ b/graphics/lprof-devel/Makefile @@ -13,11 +13,10 @@ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Open source color profiler LIB_DEPENDS= liblcms.so:${PORTSDIR}/graphics/lcms \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libtiff.so:${PORTSDIR}/graphics/tiff \ libvigraimpex.so:${PORTSDIR}/graphics/vigra -USES= cmake desktop-file-utils tar:bzip2 +USES= cmake desktop-file-utils jpeg tar:bzip2 USE_XORG= x11 xext sm ice xxf86vm USE_QT4= corelib gui qt3support svg assistantclient \ linguisttools_build qmake_build moc_build uic_build rcc_build diff --git a/graphics/luminance-qt5/Makefile b/graphics/luminance-qt5/Makefile index 51e084ec3e7f..cfb00952e320 100644 --- a/graphics/luminance-qt5/Makefile +++ b/graphics/luminance-qt5/Makefile @@ -16,14 +16,13 @@ LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3 LIB_DEPENDS= libfftw3f.so:${PORTSDIR}/math/fftw3-float \ libexiv2.so:${PORTSDIR}/graphics/exiv2 \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \ libtiff.so:${PORTSDIR}/graphics/tiff \ libgsl.so:${PORTSDIR}/math/gsl \ libraw_r.so:${PORTSDIR}/graphics/libraw \ libboost_system.so:${PORTSDIR}/devel/boost-libs -USES= cmake:outsource pkgconfig tar:bzip2 +USES= cmake:outsource jpeg pkgconfig tar:bzip2 USE_QT5= concurrent declarative gui printsupport sql webkit xml \ buildtools_build linguist_build qmake_build \ imageformats_run diff --git a/graphics/luminance/Makefile b/graphics/luminance/Makefile index 70b13cf41136..12807aab84a9 100644 --- a/graphics/luminance/Makefile +++ b/graphics/luminance/Makefile @@ -15,14 +15,13 @@ LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3 LIB_DEPENDS= libfftw3f.so:${PORTSDIR}/math/fftw3-float \ libexiv2.so:${PORTSDIR}/graphics/exiv2 \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \ libtiff.so:${PORTSDIR}/graphics/tiff \ libgsl.so:${PORTSDIR}/math/gsl \ libraw_r.so:${PORTSDIR}/graphics/libraw \ libboost_system.so:${PORTSDIR}/devel/boost-libs -USES= cmake tar:bzip2 +USES= cmake jpeg tar:bzip2 USE_QT4= gui sql webkit xml linguist_build moc_build qmake_build \ rcc_build uic_build imageformats_run INSTALLS_ICONS= yes diff --git a/graphics/mapnik/Makefile b/graphics/mapnik/Makefile index ca06f7fbd2ec..639a985cf05e 100644 --- a/graphics/mapnik/Makefile +++ b/graphics/mapnik/Makefile @@ -91,7 +91,7 @@ BUILD_DEPENDS+= sqlite3>=3.7.12:${PORTSDIR}/databases/sqlite3 .endif .if ${PORT_OPTIONS:MJPEG} -LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg +USES+= jpeg .else MAKE_ARGS+= JPEG=False .endif diff --git a/graphics/mapserver/Makefile b/graphics/mapserver/Makefile index 137dec48cd39..0660302f9baf 100644 --- a/graphics/mapserver/Makefile +++ b/graphics/mapserver/Makefile @@ -15,10 +15,9 @@ LICENSE= MIT LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd \ libproj.so:${PORTSDIR}/graphics/proj \ libpng.so:${PORTSDIR}/graphics/png \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libgif.so:${PORTSDIR}/graphics/giflib -USES= cpe cmake:outsource +USES= cpe cmake:outsource jpeg CPE_VENDOR= umn USE_GNOME= libxml2 LDFLAGS+= -L${LOCALBASE} -pthread diff --git a/graphics/megapov/Makefile b/graphics/megapov/Makefile index 72119375e9cf..7182e0d54381 100644 --- a/graphics/megapov/Makefile +++ b/graphics/megapov/Makefile @@ -11,14 +11,13 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Unofficial extensions of POV-Ray LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libtiff.so:${PORTSDIR}/graphics/tiff #RUN_DEPENDS= povray:${PORTSDIR}/graphics/povray-meta WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} INSTALL_WRKSRC= ${WRKSRC}/unix -USES= gmake tar:bzip2 +USES= gmake jpeg tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ARGS= COMPILED_BY="ports@FreeBSD.org" diff --git a/graphics/metapixel/Makefile b/graphics/metapixel/Makefile index 4e42f8bca242..14ac0bcf1edf 100644 --- a/graphics/metapixel/Makefile +++ b/graphics/metapixel/Makefile @@ -14,12 +14,11 @@ COMMENT= Photomosaic generator LICENSE= GPLv2 LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpng.so:${PORTSDIR}/graphics/png CPPFLAGS+= $$(libpng-config --I_opts) -I${LOCALBASE}/include -I. LDFLAGS+= $$(libpng-config --L_opts) -L${LOCALBASE}/lib -USES= gmake shebangfix +USES= gmake jpeg shebangfix SHEBANG_FILES= metapixel-prepare metapixel-sizesort PLIST_FILES= bin/metapixel \ diff --git a/graphics/mtpaint/Makefile b/graphics/mtpaint/Makefile index eb1db1145c1b..0330ab94f6f6 100644 --- a/graphics/mtpaint/Makefile +++ b/graphics/mtpaint/Makefile @@ -13,14 +13,13 @@ COMMENT= Simple painting program LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libpng.so:${PORTSDIR}/graphics/png \ +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff \ libgif.so:${PORTSDIR}/graphics/giflib \ libfreetype.so:${PORTSDIR}/print/freetype2 USE_GNOME= gtk20 -USES= desktop-file-utils gmake iconv pkgconfig tar:bzip2 +USES= desktop-file-utils gmake iconv jpeg pkgconfig tar:bzip2 HAS_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${MAN1PREFIX}/man/man1 \ diff --git a/graphics/mupdf/Makefile b/graphics/mupdf/Makefile index 06db33341d34..44a3a57ffefa 100644 --- a/graphics/mupdf/Makefile +++ b/graphics/mupdf/Makefile @@ -15,13 +15,12 @@ LICENSE= AGPLv3 LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ libfreetype.so:${PORTSDIR}/print/freetype2 \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libjbig2dec.so:${PORTSDIR}/graphics/jbig2dec \ libopenjp2.so:${PORTSDIR}/graphics/openjpeg LIBS+= -L${LOCALBASE}/lib MAKE_ARGS= build=release prefix=${PREFIX} mandir=${PREFIX}/man verbose=yes -USES= cpe compiler:c++11-lang pkgconfig gmake +USES= cpe compiler:c++11-lang gmake jpeg pkgconfig USE_XORG= x11 xext CPE_VENDOR= artifex diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile index 4f2d3d1413c6..08e4f913f450 100644 --- a/graphics/netpbm/Makefile +++ b/graphics/netpbm/Makefile @@ -12,13 +12,12 @@ MAINTAINER= dinoex@FreeBSD.org COMMENT= Toolkit for conversion of images between different formats LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpng.so:${PORTSDIR}/graphics/png \ libjbig.so:${PORTSDIR}/graphics/jbigkit \ libjasper.so:${PORTSDIR}/graphics/jasper \ libxml2.so:${PORTSDIR}/textproc/libxml2 -USES= tar:tgz gmake perl5 shebangfix +USES= gmake jpeg perl5 shebangfix tar:tgz CFLAGS+= -DPNG_DEPSTRUCT= -Iutil MAKE_ENV= LN="${LN}" RANLIB="${RANLIB}" MAKEFILE= GNUmakefile diff --git a/graphics/nvidia-texture-tools/Makefile b/graphics/nvidia-texture-tools/Makefile index 6bee4f1799cd..79268b0fde4e 100644 --- a/graphics/nvidia-texture-tools/Makefile +++ b/graphics/nvidia-texture-tools/Makefile @@ -12,11 +12,10 @@ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Texture Tools with support for DirectX 10 texture formats LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libtiff.so:${PORTSDIR}/graphics/tiff \ libIlmImf.so:${PORTSDIR}/graphics/OpenEXR -USES= alias cmake +USES= alias cmake jpeg CMAKE_ARGS= -DNVTT_SHARED=TRUE CFLAGS+= -fPIC diff --git a/graphics/ocaml-images/Makefile b/graphics/ocaml-images/Makefile index 2f8066301532..ffad2a05a787 100644 --- a/graphics/ocaml-images/Makefile +++ b/graphics/ocaml-images/Makefile @@ -43,7 +43,7 @@ PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png JPEG_CONFIGURE_WITH= jpeg -JPEG_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg +JPEG_USES= jpeg TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff diff --git a/graphics/ocropus/Makefile b/graphics/ocropus/Makefile index e51e4c99d177..fe0469ea6a6d 100644 --- a/graphics/ocropus/Makefile +++ b/graphics/ocropus/Makefile @@ -11,7 +11,6 @@ MAINTAINER= hiroto.kagotani@gmail.com COMMENT= The OCRopus(tm) open source document analysis and OCR system LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libtiff.so:${PORTSDIR}/graphics/tiff \ libiulib.so:${PORTSDIR}/graphics/iulib \ libgsl.so:${PORTSDIR}/math/gsl @@ -23,7 +22,7 @@ SDL_DESC= Enable SDL for graphical debugging LEPTONICA_DESC= Enable Leptonica image analysis MAKE_JOBS_UNSAFE= yes -USES= autoreconf gmake python:build +USES= autoreconf gmake jpeg python:build GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-fst --without-tesseract --with-iulib=${LOCALBASE} CPPFLAGS+= -I${LOCALBASE}/include diff --git a/graphics/okular/Makefile b/graphics/okular/Makefile index e377887e1055..38c5aa01ef87 100644 --- a/graphics/okular/Makefile +++ b/graphics/okular/Makefile @@ -10,7 +10,6 @@ MAINTAINER= kde@FreeBSD.org COMMENT= KDE 4 universal document viewer LIB_DEPENDS= libdjvulibre.so:${PORTSDIR}/graphics/djvulibre \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libkscreen.so:${PORTSDIR}/graphics/libkscreen \ libqca.so:${PORTSDIR}/devel/qca \ libtiff.so:${PORTSDIR}/graphics/tiff \ @@ -25,7 +24,7 @@ USE_KDE4= kdelibs kdeprefix automoc4 qimageblitz kactivities \ libkexiv2 USE_QT4= corelib declarative gui opengl xml \ qmake_build moc_build uic_build rcc_build -USES= cmake:outsource pkgconfig tar:xz +USES= cmake:outsource jpeg pkgconfig tar:xz USE_LDCONFIG= yes OPTIONS_DEFINE= DVI diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile index 8fc901b25c24..ed691a08fe28 100644 --- a/graphics/opencv/Makefile +++ b/graphics/opencv/Makefile @@ -119,7 +119,7 @@ CMAKE_ARGS+= -DWITH_JASPER:BOOL=Off .endif .if ${PORT_OPTIONS:MJPEG} -LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg +USES+= jpeg CMAKE_ARGS+= -DWITH_JPEG:BOOL=On .else CMAKE_ARGS+= -DWITH_JPEG:BOOL=Off diff --git a/graphics/openrm/Makefile b/graphics/openrm/Makefile index 07f108a2f58c..ff92e2678f5b 100644 --- a/graphics/openrm/Makefile +++ b/graphics/openrm/Makefile @@ -13,9 +13,7 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DEMO_DISTFILE:S/$/:demo/} MAINTAINER= ports@FreeBSD.org COMMENT= Development environment used to build 2D/3D/stereo graphics -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg - -USES= shebangfix perl5 +USES= jpeg perl5 shebangfix SHEBANG_FILES= doc/*.pl USE_GL= glu USE_XORG= xmu diff --git a/graphics/osg-devel/Makefile b/graphics/osg-devel/Makefile index d51b92905a4a..c49f062957c5 100644 --- a/graphics/osg-devel/Makefile +++ b/graphics/osg-devel/Makefile @@ -17,13 +17,12 @@ LICENSE_NAME= OpenSceneGraph Public License LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libpng.so:${PORTSDIR}/graphics/png \ +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff CONFLICTS= osg-[0-9]* -USES= alias cmake:outsource pkgconfig zip +USES= alias cmake:outsource jpeg pkgconfig zip USE_GL= gl glu USE_XORG= x11 USE_LDCONFIG= yes diff --git a/graphics/osg/Makefile b/graphics/osg/Makefile index ed74f44ff30b..377bdcefb9a2 100644 --- a/graphics/osg/Makefile +++ b/graphics/osg/Makefile @@ -17,13 +17,12 @@ LICENSE_NAME= OpenSceneGraph Public License LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libpng.so:${PORTSDIR}/graphics/png \ +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff CONFLICTS= osg-devel-[0-9]* -USES= alias cmake:outsource pkgconfig zip +USES= alias cmake:outsource jpeg pkgconfig zip USE_GL= gl glu USE_XORG= x11 USE_LDCONFIG= yes diff --git a/graphics/p5-Image-Scale/Makefile b/graphics/p5-Image-Scale/Makefile index dc8d68e31f5c..385e0639010b 100644 --- a/graphics/p5-Image-Scale/Makefile +++ b/graphics/p5-Image-Scale/Makefile @@ -13,11 +13,10 @@ COMMENT= Perl module for fast, high-quality fixed-point image resizing LICENSE= GPLv2 -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libpng.so:${PORTSDIR}/graphics/png +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png TEST_DEPENDS= p5-Test-NoWarnings>=0:${PORTSDIR}/devel/p5-Test-NoWarnings -USES= perl5 +USES= jpeg perl5 USE_PERL5= configure .include <bsd.port.mk> diff --git a/graphics/p5-Imager/Makefile b/graphics/p5-Imager/Makefile index fe3be78fc73f..11577b3234fe 100644 --- a/graphics/p5-Imager/Makefile +++ b/graphics/p5-Imager/Makefile @@ -16,14 +16,13 @@ LICENSE_COMB= dual BUILD_DEPENDS= p5-Devel-CheckLib>=0:${PORTSDIR}/devel/p5-Devel-CheckLib LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ libgif.so:${PORTSDIR}/graphics/giflib \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpng.so:${PORTSDIR}/graphics/png \ libt1.so:${PORTSDIR}/devel/t1lib \ libtiff.so:${PORTSDIR}/graphics/tiff TEST_DEPENDS= p5-Inline>=0:${PORTSDIR}/devel/p5-Inline \ p5-Inline-C>=0:${PORTSDIR}/devel/p5-Inline-C -USES= perl5 +USES= jpeg perl5 USE_PERL5= configure CONFIGURE_ENV= IM_CFLAGS="${CFLAGS}" \ IM_INCPATH=${LOCALBASE}/include \ diff --git a/graphics/p5-Tk-JPEG-Lite/Makefile b/graphics/p5-Tk-JPEG-Lite/Makefile index 12e85e02e3b3..19bb7f25fef8 100644 --- a/graphics/p5-Tk-JPEG-Lite/Makefile +++ b/graphics/p5-Tk-JPEG-Lite/Makefile @@ -13,10 +13,9 @@ MAINTAINER= perl@FreeBSD.org COMMENT= Very simplistic image viewer that loads JPEG images BUILD_DEPENDS= p5-Tk>=0:${PORTSDIR}/x11-toolkits/p5-Tk -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg RUN_DEPENDS:= ${BUILD_DEPENDS} -USES= perl5 +USES= jpeg perl5 USE_PERL5= configure post-patch: diff --git a/graphics/podofo/Makefile b/graphics/podofo/Makefile index a3d77c95ddc6..5b0f95c66a2a 100644 --- a/graphics/podofo/Makefile +++ b/graphics/podofo/Makefile @@ -35,7 +35,7 @@ IMPOSE_CXXFLAGS= -I${LUA_INCDIR} IMPOSE_LDFLAGS= -L${LUA_LIBDIR} JPEG_CMAKE_ON= -DWANT_LIBJPEG:BOOL=TRUE -JPEG_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg +JPEG_USES= jpeg PNG_CMAKE_ON= -DWANT_PNG:BOOL=TRUE PNG_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile index 06a92594b3eb..bd61776ca15e 100644 --- a/graphics/poppler/Makefile +++ b/graphics/poppler/Makefile @@ -14,15 +14,14 @@ COMMENT?= PDF rendering library LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libpng.so:${PORTSDIR}/graphics/png \ +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ liblcms2.so:${PORTSDIR}/graphics/lcms2 \ libfreetype.so:${PORTSDIR}/print/freetype2 RUN_DEPENDS= poppler-data>0:${PORTSDIR}/graphics/poppler-data -USES= cpe gmake libtool pathfix pkgconfig tar:xz +USES= cpe gmake jpeg libtool pathfix pkgconfig tar:xz CPE_VENDOR= freedesktop USE_GNOME= libxml2 GNU_CONFIGURE= yes diff --git a/graphics/povray36/Makefile b/graphics/povray36/Makefile index be7fbd9f3e61..099f2c9d4573 100644 --- a/graphics/povray36/Makefile +++ b/graphics/povray36/Makefile @@ -15,11 +15,10 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Persistence of Vision Ray Tracer LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ - libtiff.so:${PORTSDIR}/graphics/tiff \ - libjpeg.so:${PORTSDIR}/graphics/jpeg + libtiff.so:${PORTSDIR}/graphics/tiff USE_XORG= x11 -USES= gmake tar:bzip2 +USES= gmake jpeg tar:bzip2 GNU_CONFIGURE= yes OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS diff --git a/graphics/povray37/Makefile b/graphics/povray37/Makefile index 70daaea9f7f2..17dfefa34231 100644 --- a/graphics/povray37/Makefile +++ b/graphics/povray37/Makefile @@ -66,9 +66,9 @@ CONFIGURE_ARGS+=--without-libpng .if ${PORT_OPTIONS:MJPEG} .if ${PORT_OPTIONS:MSTATIC} -BUILD_DEPENDS+= jpeg>=6b:${PORTSDIR}/graphics/jpeg +USES+= jpeg:build .else -LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg +USES+= jpeg .endif .else CONFIGURE_ARGS+=--without-libjpeg diff --git a/graphics/py-imaging/Makefile b/graphics/py-imaging/Makefile index 0945bba3f41a..e4dfed9e4aad 100644 --- a/graphics/py-imaging/Makefile +++ b/graphics/py-imaging/Makefile @@ -13,13 +13,12 @@ DISTNAME= Imaging-${PORTVERSION} MAINTAINER= mainland@apeiron.net COMMENT= The Python Imaging Library -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - liblcms.so:${PORTSDIR}/graphics/lcms \ +LIB_DEPENDS= liblcms.so:${PORTSDIR}/graphics/lcms \ libfreetype.so:${PORTSDIR}/print/freetype2 UNIQUENAME= py-${PORTNAME} -USES= python +USES= jpeg python DIST_SUBDIR= python USE_PYTHON= distutils autoplist concurrent diff --git a/graphics/py-pillow/Makefile b/graphics/py-pillow/Makefile index f691afd94fba..7d09e0182350 100644 --- a/graphics/py-pillow/Makefile +++ b/graphics/py-pillow/Makefile @@ -22,7 +22,7 @@ LCMS_DESC= Little Color Management System TKINTER_DESC= Tkinter (Tcl/Tk) BitmapImage & PhotoImage support FREETYPE_LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 -JPEG_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg +JPEG_USES= jpeg LCMS_LIB_DEPENDS= liblcms2.so:${PORTSDIR}/graphics/lcms2 TIFF_LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff TKINTER_USES= tk:build diff --git a/graphics/pyro/Makefile b/graphics/pyro/Makefile index becc6b6a4bc2..3e5f9678a7a2 100644 --- a/graphics/pyro/Makefile +++ b/graphics/pyro/Makefile @@ -13,8 +13,7 @@ COMMENT= Simple OpenGL-based firework simulator BROKEN= No public distfiles -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg - +USES= jpeg USE_GL= gl glut USE_XORG= xi xmu xext diff --git a/graphics/qt4-imageformats/Makefile b/graphics/qt4-imageformats/Makefile index 5220fd13c381..14ace010f3fc 100644 --- a/graphics/qt4-imageformats/Makefile +++ b/graphics/qt4-imageformats/Makefile @@ -10,12 +10,11 @@ PKGNAMEPREFIX= qt4- MAINTAINER= kde@FreeBSD.org COMMENT= Qt plugins for several image formats -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libmng.so:${PORTSDIR}/graphics/libmng \ +LIB_DEPENDS= libmng.so:${PORTSDIR}/graphics/libmng \ libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff -USES= pkgconfig +USES= jpeg pkgconfig USE_QT4= qmake_build moc_build rcc_build corelib gui svg xml QT_DIST= yes diff --git a/graphics/rawstudio/Makefile b/graphics/rawstudio/Makefile index 4f6d822c94de..85ab353c18d2 100644 --- a/graphics/rawstudio/Makefile +++ b/graphics/rawstudio/Makefile @@ -12,8 +12,7 @@ COMMENT= Open-source program to read and manipulate RAW photo images LICENSE= GPLv2 -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libpng.so:${PORTSDIR}/graphics/png \ +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ liblcms.so:${PORTSDIR}/graphics/lcms \ libexiv2.so:${PORTSDIR}/graphics/exiv2 \ libdbus-1.so:${PORTSDIR}/devel/dbus \ @@ -23,7 +22,7 @@ LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ libgphoto2.so:${PORTSDIR}/graphics/libgphoto2 BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3 -USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig +USES= desktop-file-utils gettext gmake jpeg libtool pathfix pkgconfig GNU_CONFIGURE= yes USE_GNOME= gtk20 libxml2 gconf2 USE_SQLITE= 3 diff --git a/graphics/rawtherapee/Makefile b/graphics/rawtherapee/Makefile index 0596064c4272..76db7b2d761c 100644 --- a/graphics/rawtherapee/Makefile +++ b/graphics/rawtherapee/Makefile @@ -14,7 +14,6 @@ LICENSE= GPLv3 LIB_DEPENDS= libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24 \ libiptcdata.so:${PORTSDIR}/graphics/libiptcdata \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ liblcms2.so:${PORTSDIR}/graphics/lcms2 \ libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff \ @@ -23,7 +22,7 @@ LIB_DEPENDS= libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24 \ libfftw3f.so:${PORTSDIR}/math/fftw3-float \ libcanberra-gtk3.so:${PORTSDIR}/audio/libcanberra-gtk3 -USES= cmake:outsource pkgconfig compiler:features desktop-file-utils dos2unix tar:xz +USES= cmake:outsource compiler:features desktop-file-utils dos2unix jpeg pkgconfig tar:xz DOS2UNIX_REGEX= .*\.(cc|h) USE_GNOME= gtk20 glib20 USE_LDCONFIG= yes diff --git a/graphics/renrot/Makefile b/graphics/renrot/Makefile index 48346cd49adf..228133d5294d 100644 --- a/graphics/renrot/Makefile +++ b/graphics/renrot/Makefile @@ -13,9 +13,9 @@ COMMENT= Program to rename and rotate image files according to EXIF tags LICENSE= ART20 BUILD_DEPENDS= p5-Image-ExifTool>=0:${PORTSDIR}/graphics/p5-Image-ExifTool -RUN_DEPENDS:= ${BUILD_DEPENDS} jpegtran:${PORTSDIR}/graphics/jpeg +RUN_DEPENDS:= ${BUILD_DEPENDS} -USES= perl5 +USES= perl5 jpeg:run USE_PERL5= configure PORTDOCS= AUTHORS README README.russian ChangeLog NEWS TODO diff --git a/graphics/sam2p/Makefile b/graphics/sam2p/Makefile index bdcb3ba3f748..ff4635f62874 100644 --- a/graphics/sam2p/Makefile +++ b/graphics/sam2p/Makefile @@ -13,12 +13,11 @@ COMMENT= Converts raster (bitmap) image formats into PS or PDF files LICENSE= GPLv2 RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip \ - cjpeg:${PORTSDIR}/graphics/jpeg \ tif22pnm:${PORTSDIR}/graphics/tif22pnm OPTIONS_DEFINE= DOCS EXAMPLES -USES= gmake perl5 +USES= gmake jpeg:run perl5 USE_PERL5= build USE_GCC= any USE_GHOSTSCRIPT_RUN= yes diff --git a/graphics/scantailor/Makefile b/graphics/scantailor/Makefile index f67ec49cd5c5..e91c7da1b46e 100644 --- a/graphics/scantailor/Makefile +++ b/graphics/scantailor/Makefile @@ -12,13 +12,12 @@ COMMENT= Interactive post-processing tool for scanned pages LICENSE= GPLv3 -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libtiff.so:${PORTSDIR}/graphics/tiff \ +LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff \ libjbig.so:${PORTSDIR}/graphics/jbigkit \ libpng.so:${PORTSDIR}/graphics/png BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs -USES= cmake gettext iconv +USES= cmake gettext iconv jpeg USE_GCC= yes USE_QT4= gui xml qmake_build uic_build moc_build rcc_build \ linguist_build diff --git a/graphics/sdl2_image/Makefile b/graphics/sdl2_image/Makefile index b98dfcbab865..0d432766fcd2 100644 --- a/graphics/sdl2_image/Makefile +++ b/graphics/sdl2_image/Makefile @@ -22,7 +22,7 @@ USE_LDCONFIG= yes OPTIONS_DEFINE= JPEG PNG TIFF WEBP OPTIONS_DEFAULT=JPEG PNG TIFF WEBP -JPEG_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg +JPEG_USES= jpeg JPEG_CONFIGURE_ENABLE= jpg PNG_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png PNG_CONFIGURE_ENABLE= png diff --git a/graphics/sdl_image/Makefile b/graphics/sdl_image/Makefile index 91f340543b43..24b7f31502e2 100644 --- a/graphics/sdl_image/Makefile +++ b/graphics/sdl_image/Makefile @@ -23,7 +23,7 @@ USE_LDCONFIG= yes OPTIONS_DEFINE= JPEG PNG TIFF WEBP OPTIONS_DEFAULT=JPEG PNG TIFF WEBP -JPEG_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg +JPEG_USES= jpeg JPEG_CONFIGURE_ENABLE= jpg PNG_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png PNG_CONFIGURE_ENABLE= png diff --git a/graphics/sdump/Makefile b/graphics/sdump/Makefile index 4bc97f11e870..212da4cf739a 100644 --- a/graphics/sdump/Makefile +++ b/graphics/sdump/Makefile @@ -11,8 +11,7 @@ COMMENT= Sixel image dumper LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libpng.so:${PORTSDIR}/graphics/png \ +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ libsixel.so:${PORTSDIR}/graphics/libsixel USE_GITHUB= yes @@ -21,6 +20,7 @@ GH_TAGNAME= c5fb55b PLIST_FILES= bin/sdump libexec/w3m/yaimg-sixel +USES= jpeg MAKEFILE= makefile #CFLAGS += -I${LOCALBASE}/include -Wall -Wextra -std=c99 -pedantic -O3 -pipe -s diff --git a/graphics/seejpeg/Makefile b/graphics/seejpeg/Makefile index 54af290b56bd..627ba6386b12 100644 --- a/graphics/seejpeg/Makefile +++ b/graphics/seejpeg/Makefile @@ -10,10 +10,9 @@ MASTER_SITES= SUNSITE/apps/graphics/viewers/svga MAINTAINER= ports@FreeBSD.org COMMENT= Console graphics viewer using the svga console graphics library -LIB_DEPENDS= libvga.so:${PORTSDIR}/graphics/svgalib \ - libjpeg.so:${PORTSDIR}/graphics/jpeg +LIB_DEPENDS= libvga.so:${PORTSDIR}/graphics/svgalib -USES= gmake tar:tgz +USES= gmake jpeg tar:tgz ALL_TARGET= seejpeg CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib diff --git a/graphics/simage/Makefile b/graphics/simage/Makefile index 7eec7bb37b36..83b0bc161717 100644 --- a/graphics/simage/Makefile +++ b/graphics/simage/Makefile @@ -19,11 +19,10 @@ LICENSE_PERMS_unknown= no-dist-sell no-pkg-sell LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile \ libvorbis.so:${PORTSDIR}/audio/libvorbis \ libjasper.so:${PORTSDIR}/graphics/jasper \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libgif.so:${PORTSDIR}/graphics/giflib \ libpng.so:${PORTSDIR}/graphics/png -USES= pathfix libtool +USES= jpeg libtool pathfix GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-mpeg2enc INSTALL_TARGET= install-strip diff --git a/graphics/simpleviewer/Makefile b/graphics/simpleviewer/Makefile index f73bd7c22bd4..6e465ee8e3e4 100644 --- a/graphics/simpleviewer/Makefile +++ b/graphics/simpleviewer/Makefile @@ -13,12 +13,11 @@ COMMENT= Small and simple OpenGL image viewer with transparency support LICENSE= GPLv2 -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libpng.so:${PORTSDIR}/graphics/png \ +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ libgif.so:${PORTSDIR}/graphics/giflib \ libImlib2.so:${PORTSDIR}/graphics/imlib2 -USES= tar:bzip2 +USES= jpeg tar:bzip2 USE_GL= glut WRKSRC= ${WRKDIR}/sviewgl-src MAKE_ARGS= CC="${CXX}" diff --git a/graphics/sk1libs/Makefile b/graphics/sk1libs/Makefile index 48620bda7ed3..58b5c39365e5 100644 --- a/graphics/sk1libs/Makefile +++ b/graphics/sk1libs/Makefile @@ -12,12 +12,11 @@ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Set of python libraries for sK1 Project LIB_DEPENDS= liblcms.so:${PORTSDIR}/graphics/lcms \ - libfreetype.so:${PORTSDIR}/print/freetype2 \ - libjpeg.so:${PORTSDIR}/graphics/jpeg + libfreetype.so:${PORTSDIR}/print/freetype2 PROJECTHOST= uniconvertor -USES= python +USES= jpeg python USE_PYTHON= distutils PYDISTUTILS_BUILD_TARGET=build_ext PYDISTUTILS_BUILDARGS= -L${LOCALBASE}/lib \ diff --git a/graphics/sswf/Makefile b/graphics/sswf/Makefile index ed7c8f8e3092..56eee2a74e5a 100644 --- a/graphics/sswf/Makefile +++ b/graphics/sswf/Makefile @@ -11,12 +11,11 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= ports@FreeBSD.org COMMENT= Library and script language tool to create Flash movies -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libfreetype.so:${PORTSDIR}/print/freetype2 +LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -USES= bison iconv libtool pkgconfig +USES= bison iconv jpeg libtool pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig INSTALL_TARGET= install-strip diff --git a/graphics/stamp/Makefile b/graphics/stamp/Makefile index bea7a91b34a9..347d660460a4 100644 --- a/graphics/stamp/Makefile +++ b/graphics/stamp/Makefile @@ -10,8 +10,7 @@ MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Adds a graphical, configurable timestamp to a grayscale image -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg - +USES= jpeg GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib diff --git a/graphics/swftools/Makefile b/graphics/swftools/Makefile index 388f3dd5b5e1..1c7122957a21 100644 --- a/graphics/swftools/Makefile +++ b/graphics/swftools/Makefile @@ -14,13 +14,12 @@ COMMENT= SWF manipulation and generation utilities LICENSE= GPLv2 LIB_DEPENDS= libt1.so:${PORTSDIR}/devel/t1lib \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libgif.so:${PORTSDIR}/graphics/giflib \ libfftw3.so:${PORTSDIR}/math/fftw3 \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig -USES= gmake pkgconfig +USES= gmake jpeg pkgconfig USE_GL= glut GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_lib_zzip_zzip_file_open=no diff --git a/graphics/tiff/Makefile b/graphics/tiff/Makefile index ba45f6787fa7..da6c5ae5b0c4 100644 --- a/graphics/tiff/Makefile +++ b/graphics/tiff/Makefile @@ -14,10 +14,9 @@ COMMENT= Tools and library routines for working with TIFF images LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libjbig.so:${PORTSDIR}/graphics/jbigkit +LIB_DEPENDS= libjbig.so:${PORTSDIR}/graphics/jbigkit -USES= cpe libtool +USES= cpe jpeg libtool CPE_PRODUCT= libtiff CPE_VERSION= ${DISTVERSION:C/[a-z]+//} CPE_UPDATE= ${DISTVERSION:C/[0-9.]+//} diff --git a/graphics/tiffgt/Makefile b/graphics/tiffgt/Makefile index 870b962180d6..af958c478a6d 100644 --- a/graphics/tiffgt/Makefile +++ b/graphics/tiffgt/Makefile @@ -13,11 +13,10 @@ COMMENT= X11 Tools for working with TIFF images LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libjbig.so:${PORTSDIR}/graphics/jbigkit \ +LIB_DEPENDS= libjbig.so:${PORTSDIR}/graphics/jbigkit \ libtiff.so:${PORTSDIR}/graphics/tiff -USES= cpe libtool +USES= cpe jpeg libtool CPE_PRODUCT= libtiff CPE_VERSION= ${DISTVERSION:C/[a-z]+//} CPE_UPDATE= ${DISTVERSION:C/[0-9.]+//} diff --git a/graphics/tulip/Makefile b/graphics/tulip/Makefile index 52607baaf3d1..73a569b3064d 100644 --- a/graphics/tulip/Makefile +++ b/graphics/tulip/Makefile @@ -13,14 +13,13 @@ COMMENT= System dedicated to the visualization of huge graphs LICENSE= LGPL3 LIB_DEPENDS= libquazip.so:${PORTSDIR}/archivers/quazip \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpng.so:${PORTSDIR}/graphics/png \ libOGDF.so:${PORTSDIR}/math/ogdf \ libfreetype.so:${PORTSDIR}/print/freetype2 WRKSRC= ${WRKDIR}/${PORTNAME} -USES= cmake:outsource compiler:c++11-lib dos2unix execinfo python \ +USES= cmake:outsource compiler:c++11-lib dos2unix execinfo jpeg python \ shebangfix SHEBANG_FILES= tulip-config.in DOS2UNIX_FILES= software/tulip/src/main.cpp diff --git a/graphics/ufraw/Makefile b/graphics/ufraw/Makefile index 0f14e45cacb2..f7f0f3079955 100644 --- a/graphics/ufraw/Makefile +++ b/graphics/ufraw/Makefile @@ -11,14 +11,13 @@ COMMENT= Read and manipulate raw images from various digital cameras LICENSE= GPLv2 -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libtiff.so:${PORTSDIR}/graphics/tiff \ +LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff \ libpng.so:${PORTSDIR}/graphics/png \ liblcms2.so:${PORTSDIR}/graphics/lcms2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-silent-rules --enable-extras -USES= gettext pkgconfig gmake desktop-file-utils +USES= desktop-file-utils gettext gmake jpeg pkgconfig CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib diff --git a/graphics/vigra/Makefile b/graphics/vigra/Makefile index 1ba70fdf3751..0ae0c62d1cc6 100644 --- a/graphics/vigra/Makefile +++ b/graphics/vigra/Makefile @@ -57,8 +57,6 @@ CMAKE_ARGS+= -DWITH_VIGRANUMPY=0 PLIST_SUB+= PYTHON="@comment " .endif -.include <bsd.port.pre.mk> - # Vigra's CMakeLists.txt does not support disabling those so we hook them # as dependencies here unconditionally (without OPTIONS=) even though if # they are not present then Vigra/CMake will do without them (they are not @@ -75,7 +73,7 @@ LIB_DEPENDS+= libtiff.so:${PORTSDIR}/graphics/tiff .endif .if !defined(WITHOUT_VIGRA_JPEG) -LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg +USES+= jpeg .endif .if !defined(WITHOUT_VIGRA_PNG) @@ -100,4 +98,4 @@ post-patch: # FIXME: This is ugly @${RM} ${WRKSRC}/include/vigra/*.orig -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/vips/Makefile b/graphics/vips/Makefile index 6792a6b3b429..ae4d9b595bc5 100644 --- a/graphics/vips/Makefile +++ b/graphics/vips/Makefile @@ -16,7 +16,6 @@ LIB_DEPENDS= libcfitsio.so:${PORTSDIR}/astro/cfitsio \ liborc-0.4.so:${PORTSDIR}/devel/orc \ libGraphicsMagick.so:${PORTSDIR}/graphics/GraphicsMagick \ libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ liblcms2.so:${PORTSDIR}/graphics/lcms2 \ libexif.so:${PORTSDIR}/graphics/libexif \ libpng.so:${PORTSDIR}/graphics/png \ @@ -27,7 +26,7 @@ LIB_DEPENDS= libcfitsio.so:${PORTSDIR}/astro/cfitsio \ libgirepository-1.0.so:${PORTSDIR}/devel/gobject-introspection RUN_DEPENDS= bash:${PORTSDIR}/shells/bash -USES= cpe gettext gmake libtool pathfix pkgconfig shebangfix +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 diff --git a/graphics/webp/Makefile b/graphics/webp/Makefile index 7f954c642ead..163597e16612 100644 --- a/graphics/webp/Makefile +++ b/graphics/webp/Makefile @@ -13,7 +13,6 @@ COMMENT= Google WebP image format conversion tool LICENSE= BSD3CLAUSE LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff @@ -31,7 +30,7 @@ CONFIGURE_ARGS= --enable-libwebpdecoder \ --enable-libwebpmux \ --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig USE_LDCONFIG= yes -USES= compiler:c11 libtool +USES= compiler:c11 jpeg libtool X11_CONFIGURE_OFF= build_vwebp=no X11_CONFIGURE_ON= build_vwebp=yes diff --git a/graphics/white_dune/Makefile b/graphics/white_dune/Makefile index d26e89aa4832..794234f03841 100644 --- a/graphics/white_dune/Makefile +++ b/graphics/white_dune/Makefile @@ -12,12 +12,11 @@ MASTER_SITES= http://vrml.cip.ica.uni-stuttgart.de/dune/ MAINTAINER= devel@stasyan.com COMMENT= Graphical VRML97 editor and animation tool -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libpng.so:${PORTSDIR}/graphics/png +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png LICENSE= GPLv2 -USES= motif +USES= jpeg motif USE_XORG= xft USE_GL= gl glu glut USE_SDL= sdl diff --git a/graphics/xfig/Makefile b/graphics/xfig/Makefile index 08f87368c44e..3a93a9f553f7 100644 --- a/graphics/xfig/Makefile +++ b/graphics/xfig/Makefile @@ -11,8 +11,7 @@ DISTNAME= ${PORTNAME}.${PORTVERSION}.full MAINTAINER= mjl@luckie.org.nz COMMENT= Drawing program for X11 -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libpng.so:${PORTSDIR}/graphics/png \ +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ libXaw3d.so:${PORTSDIR}/x11-toolkits/Xaw3d RUN_DEPENDS= fig2dev:${PORTSDIR}/print/transfig @@ -20,7 +19,7 @@ CONFLICTS= xfig-[12].* xfig-3.1* xfig-3.2.[1234]* WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION} -USES= imake +USES= imake jpeg USE_XORG= ice sm x11 xaw xext xi xmu xpm xt USE_CSTD= gnu89 CFLAGS+= -Wno-return-type diff --git a/graphics/xli/Makefile b/graphics/xli/Makefile index bf3026c9e395..91444c22dfef 100644 --- a/graphics/xli/Makefile +++ b/graphics/xli/Makefile @@ -11,12 +11,11 @@ DISTNAME= xli_${PORTVERSION}+${XLI_SNAPVER:C/-//g}.orig MAINTAINER= lichray@gmail.com COMMENT= Utilities to display images in X11 -LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ - libjpeg.so:${PORTSDIR}/graphics/jpeg +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png CONFLICTS_INSTALL= xloadimage-* -USES= imake +USES= imake jpeg USE_XORG= xi WRKSRC= ${WRKDIR}/xli-${XLI_SNAPVER} diff --git a/graphics/xpaint/Makefile b/graphics/xpaint/Makefile index 3e3ae0f2a31e..f458436412d0 100644 --- a/graphics/xpaint/Makefile +++ b/graphics/xpaint/Makefile @@ -12,7 +12,6 @@ COMMENT= Simple paint program LICENSE= GPLv3 LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15 \ libtiff.so:${PORTSDIR}/graphics/tiff \ libfreetype.so:${PORTSDIR}/print/freetype2 \ @@ -24,7 +23,7 @@ RUN_DEPENDS= psselect:${PORTSDIR}/print/psutils \ USE_XORG= xft xmu xpm USE_GHOSTSCRIPT_RUN=yes GNU_CONFIGURE= yes -USES= libtool:build shebangfix tar:bzip2 +USES= jpeg libtool:build shebangfix tar:bzip2 SHEBANG_FILES= share/bin/imgmerge share/bin/xpaint_ocr CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 \ diff --git a/graphics/xsane/Makefile b/graphics/xsane/Makefile index 6ea1e7f449ca..e137612e9391 100644 --- a/graphics/xsane/Makefile +++ b/graphics/xsane/Makefile @@ -12,15 +12,14 @@ COMMENT= Gtk-based X11 frontend for SANE (Scanner Access Now Easy) LICENSE= GPLv2 -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libpng.so:${PORTSDIR}/graphics/png \ +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff \ libfreetype.so:${PORTSDIR}/print/freetype2 \ liblcms.so:${PORTSDIR}/graphics/lcms BUILD_DEPENDS= scanimage:${PORTSDIR}/graphics/sane-backends RUN_DEPENDS:= ${BUILD_DEPENDS} -USES= gmake pkgconfig +USES= gmake jpeg pkgconfig USE_GNOME= gtk20 gdkpixbuf2 GNU_CONFIGURE= yes diff --git a/graphics/xv/Makefile b/graphics/xv/Makefile index d1b8bac4ba86..34edde51fffe 100644 --- a/graphics/xv/Makefile +++ b/graphics/xv/Makefile @@ -18,12 +18,11 @@ PATCHFILES= xv-3.10a-enhancements.20070520-20081216.diff MAINTAINER?= dinoex@FreeBSD.org COMMENT?= X11 program that displays images of various formats -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libtiff.so:${PORTSDIR}/graphics/tiff \ +LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff \ libpng.so:${PORTSDIR}/graphics/png \ libjasper.so:${PORTSDIR}/graphics/jasper -USES= imake +USES= imake jpeg USE_XORG= xext x11 xt OPTIONS_DEFINE= M17N DOCS diff --git a/graphics/yafray/Makefile b/graphics/yafray/Makefile index 48d4d2564933..23afdb1ace18 100644 --- a/graphics/yafray/Makefile +++ b/graphics/yafray/Makefile @@ -11,9 +11,7 @@ MASTER_SITES= http://freebsd.nsu.ru/distfiles/ \ MAINTAINER= ports@FreeBSD.org COMMENT= Fast XML based raytracer -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg - -USES= scons +USES= jpeg scons USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME} diff --git a/graphics/zbar/Makefile b/graphics/zbar/Makefile index 5f4359ab8852..03375c587993 100644 --- a/graphics/zbar/Makefile +++ b/graphics/zbar/Makefile @@ -12,11 +12,9 @@ COMMENT= ZBar barcode reader LICENSE= LGPL21 -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg - GNU_CONFIGURE= yes USE_LDCONFIG= yes -USES= iconv libtool gmake pkgconfig +USES= iconv jpeg libtool gmake pkgconfig INSTALL_TARGET= install-strip CONFIGURE_ARGS= --with-jpeg=yes diff --git a/graphics/zgv/Makefile b/graphics/zgv/Makefile index 4684a559ba1c..a66eae499862 100644 --- a/graphics/zgv/Makefile +++ b/graphics/zgv/Makefile @@ -12,13 +12,12 @@ COMMENT= Graphics viewer for SVGAlib LICENSE= GPLv2 # (or later) -LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libpng.so:${PORTSDIR}/graphics/png \ +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff OPTIONS_DEFINE= SDL DOCS -USES= gmake makeinfo +USES= gmake jpeg makeinfo ALL_TARGET= zgv info INFO= zgvrc |