summaryrefslogtreecommitdiff
path: root/graphics/libimagequant/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libimagequant/Makefile')
-rw-r--r--graphics/libimagequant/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/graphics/libimagequant/Makefile b/graphics/libimagequant/Makefile
index 177b9f0a27a1..789f9b086f59 100644
--- a/graphics/libimagequant/Makefile
+++ b/graphics/libimagequant/Makefile
@@ -1,9 +1,8 @@
PORTNAME= libimagequant
-PORTVERSION= 4.3.4
-PORTREVISION= 6
+PORTVERSION= 4.4.0
CATEGORIES= graphics
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= tagattie@FreeBSD.org
COMMENT= Image Quantization Library
WWW= https://pngquant.org/lib/
@@ -13,18 +12,24 @@ LICENSE_FILE= ${WRKSRC}/COPYRIGHT
BUILD_DEPENDS= cargo-cbuild:devel/cargo-c
USES= cargo
+
USE_GITHUB= yes
-USE_LDCONFIG= yes
GH_ACCOUNT= ImageOptim
+
+USE_LDCONFIG= yes
+
CARGO_BUILD_ARGS= --package imagequant-sys
CARGO_INSTALL_ARGS:= ${CARGO_BUILD_ARGS}
+
PLIST_FILES= include/libimagequant.h \
lib/libimagequant.a \
lib/libimagequant.so \
- lib/libimagequant.so.0.4 \
- lib/libimagequant.so.0.4.0 \
+ lib/libimagequant.so.${SOVERSION:R} \
+ lib/libimagequant.so.${SOVERSION} \
libdata/pkgconfig/imagequant.pc
+SOVERSION= 0.4.1
+
do-build:
@${CARGO_CARGO_RUN} cbuild \
--verbose \