summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2025-06-17 17:01:37 +0300
committerDmitry Marakasov <amdmi3@FreeBSD.org>2025-06-17 18:02:21 +0300
commitecbf37b031d59d691d533544c62c42da1a568aa3 (patch)
tree6a142b9596cca90b492634b8ce48fe32d93b1df8
parenttextproc/difftastic: update 0.63.0 → 0.64.0 (diff)
graphics/glpng: update 1.46 → 1.47, modernize
-rw-r--r--graphics/glpng/Makefile13
-rw-r--r--graphics/glpng/distinfo6
-rw-r--r--graphics/glpng/pkg-plist3
3 files changed, 8 insertions, 14 deletions
diff --git a/graphics/glpng/Makefile b/graphics/glpng/Makefile
index 8fcee7dceffe..95b22c50c3e7 100644
--- a/graphics/glpng/Makefile
+++ b/graphics/glpng/Makefile
@@ -1,24 +1,21 @@
PORTNAME= glpng
-PORTVERSION= 1.46
-PORTREVISION= 2
+PORTVERSION= 1.47
CATEGORIES= graphics
-MASTER_SITES= http://repo.or.cz/glpng.git/snapshot/ \
- https://mirror.amdmi3.ru/distfiles/${DIST_SUBDIR}/
-DISTNAME= 1079563a36edfe10a5f5d79ad38fe465425b989e
+MASTER_SITES= https://repo.or.cz/glpng.git/snapshot/
+DISTNAME= 2266ea17d0df15619e6c6e21611aa7a34f5f6833
DIST_SUBDIR= glpng
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Library to easily load PNG files as an OpenGL textures
-WWW= http://www.wyatt100.freeserve.co.uk/download.htm
+WWW= https://repo.or.cz/glpng.git
LICENSE= ZLIB
LIB_DEPENDS= libpng.so:graphics/png
-WRKSRC= ${WRKDIR}/glpng-1079563
-
USES= cmake cpe gl zip
USE_GL= gl
+WRKSRC= ${WRKDIR}/glpng-${DISTNAME:C/^(.......).*/\1/}
OPTIONS_DEFINE= DOCS
diff --git a/graphics/glpng/distinfo b/graphics/glpng/distinfo
index 258dc9e31874..837ac9561b8d 100644
--- a/graphics/glpng/distinfo
+++ b/graphics/glpng/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1490723030
-SHA256 (glpng/1079563a36edfe10a5f5d79ad38fe465425b989e.zip) = 074dda02baf27b274c211adf368e5d8b69ffa6b8501ab8976872c8825ceb7786
-SIZE (glpng/1079563a36edfe10a5f5d79ad38fe465425b989e.zip) = 43828
+TIMESTAMP = 1750166458
+SHA256 (glpng/2266ea17d0df15619e6c6e21611aa7a34f5f6833.zip) = d68ce5c94acd216ec7108b6b84c6037a2f6bbefa404a8403d1396ae74b23d3fa
+SIZE (glpng/2266ea17d0df15619e6c6e21611aa7a34f5f6833.zip) = 43909
diff --git a/graphics/glpng/pkg-plist b/graphics/glpng/pkg-plist
index 11b6c42ef29b..87364183c9a9 100644
--- a/graphics/glpng/pkg-plist
+++ b/graphics/glpng/pkg-plist
@@ -1,7 +1,4 @@
include/GL/glpng.h
lib/libglpng.a
-lib/libglpng.so
-lib/libglpng.so.1
-lib/libglpng.so.1.46
share/cmake/Modules/FindGLPNG.cmake
%%PORTDOCS%%%%DOCSDIR%%/glpng.htm