aboutsummaryrefslogtreecommitdiff
path: root/graphics/libheif
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2022-07-04 21:45:57 +0000
committerDaniel Engberg <diizzy@FreeBSD.org>2022-07-04 21:50:03 +0000
commitc17e10e09e91817fe5574ea60f5f34aa275f10e8 (patch)
tree60abff1892698e036299927bdfba60726e7ae2a2 /graphics/libheif
parent4dc727ddf3ec09f0508ec71031430e473c68c57b (diff)
downloadports-c17e10e09e91817fe5574ea60f5f34aa275f10e8.tar.gz
ports-c17e10e09e91817fe5574ea60f5f34aa275f10e8.zip
graphics/libheif: Clean up port
Adjust port to make it consistent again Approved by: portmgr (blanket) Fixes: 6564fb037602976d7127bf70b0c640d87067dd4b
Diffstat (limited to 'graphics/libheif')
-rw-r--r--graphics/libheif/Makefile12
-rw-r--r--graphics/libheif/pkg-plist8
2 files changed, 9 insertions, 11 deletions
diff --git a/graphics/libheif/Makefile b/graphics/libheif/Makefile
index 605c27c72008..55d218a439d1 100644
--- a/graphics/libheif/Makefile
+++ b/graphics/libheif/Makefile
@@ -22,7 +22,6 @@ GH_ACCOUNT= strukturag
OPTIONS_DEFINE= AOM DAV1D EXAMPLES LIBDE265 RAV1E X265
OPTIONS_DEFAULT= AOM DAV1D LIBDE265 X265
-OPTIONS_SUB= yes
AOM_DESC= AV1 encoding/decoding via libaom
DAV1D_DESC= Build dav1e decoder
@@ -38,16 +37,7 @@ DAV1D_CMAKE_BOOL= WITH_DAV1D
EXAMPLES_LIB_DEPENDS= libpng16.so:graphics/png
EXAMPLES_USES= jpeg
-EXAMPLES_CMAKE_ON= -DWITH_EXAMPLES:bool=ON
-EXAMPLES_CMAKE_OFF= -DWITH_EXAMPLES:bool=OFF
-EXAMPLES_PLIST_FILES= bin/heif-convert \
- bin/heif-enc \
- bin/heif-info \
- bin/heif-thumbnailer \
- share/man/man1/heif-convert.1.gz \
- share/man/man1/heif-enc.1.gz \
- share/man/man1/heif-info.1.gz \
- share/man/man1/heif-thumbnailer.1.gz
+EXAMPLES_CMAKE_BOOL= WITH_EXAMPLES
LIBDE265_LIB_DEPENDS= libde265.so:multimedia/libde265
LIBDE265_CMAKE_BOOL= WITH_LIBDE265
diff --git a/graphics/libheif/pkg-plist b/graphics/libheif/pkg-plist
index b23d601e35be..6b9cf3255e8a 100644
--- a/graphics/libheif/pkg-plist
+++ b/graphics/libheif/pkg-plist
@@ -1,3 +1,7 @@
+%%PORTEXAMPLES%%bin/heif-convert
+%%PORTEXAMPLES%%bin/heif-enc
+%%PORTEXAMPLES%%bin/heif-info
+%%PORTEXAMPLES%%bin/heif-thumbnailer
include/libheif/heif.h
include/libheif/heif_cxx.h
include/libheif/heif_plugin.h
@@ -10,6 +14,10 @@ lib/libheif.so
lib/libheif.so.1
lib/libheif.so.1.12.0.0
libdata/pkgconfig/libheif.pc
+%%PORTEXAMPLES%%share/man/man1/heif-convert.1.gz
+%%PORTEXAMPLES%%share/man/man1/heif-enc.1.gz
+%%PORTEXAMPLES%%share/man/man1/heif-info.1.gz
+%%PORTEXAMPLES%%share/man/man1/heif-thumbnailer.1.gz
share/mime/packages/avif.xml
share/mime/packages/heif.xml
share/thumbnailers/heif.thumbnailer