aboutsummaryrefslogtreecommitdiff
path: root/graphics/s2tc
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2021-10-30 18:08:16 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2021-12-11 13:50:53 +0000
commit45526ecbeec33dbb87f0b678d4c04988aab9b657 (patch)
treeb77614b463af0ed929512fcc838ff5cb20c96275 /graphics/s2tc
parenta148ebec4e0afe980f949de0dea5ef4931cb7e86 (diff)
downloadports-45526ecbeec33dbb87f0b678d4c04988aab9b657.tar.gz
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/s2tc')
-rw-r--r--graphics/s2tc/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/graphics/s2tc/Makefile b/graphics/s2tc/Makefile
index e8e4bc9e5264..3d3f58b9b06f 100644
--- a/graphics/s2tc/Makefile
+++ b/graphics/s2tc/Makefile
@@ -12,11 +12,10 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= libglvnd>=0:graphics/libglvnd
-TEST_DEPENDS= convert:graphics/ImageMagick6 \
- nvcompress:graphics/nvidia-texture-tools \
+TEST_DEPENDS= nvcompress:graphics/nvidia-texture-tools \
wget:ftp/wget
-USES= autoreconf libtool pathfix
+USES= autoreconf libtool magick:6,test pathfix
USE_GITHUB= yes
USE_LDCONFIG= yes