diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2020-09-13 06:23:16 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2020-09-13 06:23:16 +0000 |
commit | 9eb8b8e0957b33c0172b632e56fa4fe7fa0e87d6 (patch) | |
tree | cae8bc6e62c4dc4bb5d22e2513c1629091392668 /graphics/dssim | |
parent | 2e8811fdbe02ccf9a9bd8077b546ec874fba1862 (diff) | |
download | ports-9eb8b8e0957b33c0172b632e56fa4fe7fa0e87d6.tar.gz ports-9eb8b8e0957b33c0172b632e56fa4fe7fa0e87d6.zip |
graphics/libdssim: drop in favor of CARGO_CRATES
$ cat /usr/local/include/dssim/dssim.h
#define DSSIM_MAJOR 2
#define DSSIM_MINOR 11
#define DSSIM_PATCH 3
#include <cstdarg>
#include <cstdint>
#include <cstdlib>
#include <new>
$ nm -D /usr/local/lib/libdssim.so
w _Jv_RegisterClasses
U _Unwind_GetDataRelBase
U _Unwind_GetIPInfo
U _Unwind_GetLanguageSpecificData
U _Unwind_GetRegionStart
U _Unwind_GetTextRelBase
U _Unwind_SetGR
U _Unwind_SetIP
w __cxa_finalize
0000000000003920 T rust_eh_personality
$ cat /usr/local/libdata/pkgconfig/dssim.pc
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: dssim
Description: Tool that measures structural similarity between images using a multi-scale variant of the SSIM algorithm.
Version: 2.11.3
Libs: -L${libdir} -ldssim
Cflags: -I${includedir}/dssim
Libs.private: -lexecinfo -lpthread -lgcc_s -lc -lm -lrt -lpthread -lutil -lutil
Notes
Notes:
svn path=/head/; revision=548457
Diffstat (limited to 'graphics/dssim')
-rw-r--r-- | graphics/dssim/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/graphics/dssim/Makefile b/graphics/dssim/Makefile index 6590606f93c3..f78a20773700 100644 --- a/graphics/dssim/Makefile +++ b/graphics/dssim/Makefile @@ -2,7 +2,6 @@ PORTNAME= dssim DISTVERSION= 2.11.3 -PORTREVISION?= 0 CATEGORIES= graphics MASTER_SITES= CRATESIO # XXX Teach USES=cargo to have proper default @@ -15,7 +14,7 @@ LICENSE= AGPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE USES= cargo -PLIST_FILES?= bin/${PORTNAME} +PLIST_FILES= bin/${PORTNAME} CARGO_CRATES= adler-0.2.3 \ arrayvec-0.5.1 \ |