summaryrefslogtreecommitdiff
path: root/graphics/dcraw-m
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2021-10-30 20:08:16 +0200
committerTobias C. Berner <tcberner@FreeBSD.org>2021-12-11 14:50:53 +0100
commit45526ecbeec33dbb87f0b678d4c04988aab9b657 (patch)
treeb77614b463af0ed929512fcc838ff5cb20c96275 /graphics/dcraw-m
parenta148ebec4e0afe980f949de0dea5ef4931cb7e86 (diff)
downloadfreebsd-ports-45526ecbeec33dbb87f0b678d4c04988aab9b657.zip
framework: Add new USES 'magick' for graphics/ImageMagick*
A new USES has been added to depend on ImageMagick. USES=magick adds a LIB_DEPENDS on graphics/ImageMagick${IMAGEMAGICK_DEFAULT}. If a specific version is required, use for example USES=magick:6 resp. USES=magick:7 If only a build, run or test is required, use for example USES=magick:build resp. USES=magick:6,build,test If a dependency on the nox11 flavor is required, use for example USES=magick:nox11 resp. USES=magick:7,nox11,run,test See magick.mk for more details on the available flags. The tree has been completely converted to make use of this. Approved by: bapt Differential Revision: https://reviews.freebsd.org/D32754
Diffstat (limited to 'graphics/dcraw-m')
-rw-r--r--graphics/dcraw-m/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/graphics/dcraw-m/Makefile b/graphics/dcraw-m/Makefile
index 9eb5ed09fe44..216d9da706fe 100644
--- a/graphics/dcraw-m/Makefile
+++ b/graphics/dcraw-m/Makefile
@@ -11,14 +11,13 @@ COMMENT= Modified Decoder for RAW files from digital cameras
LICENSE= GPLv2
LIB_DEPENDS= libjasper.so:graphics/jasper \
- liblcms2.so:graphics/lcms2 \
- libMagickWand-6.so:graphics/ImageMagick6
+ liblcms2.so:graphics/lcms2
USE_GITHUB= yes
GH_ACCOUNT= waitman
GH_TAGNAME= 1392579
-USES= jpeg pkgconfig
+USES= jpeg magick:6 pkgconfig
CFLAGS+= -Wall -I${LOCALBASE}/include \
`MagickWand-config --cflags --cppflags` \