pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/zimg zimg: Simplify github.mk use
details: https://anonhg.NetBSD.org/pkgsrc/rev/d381a40ee83b
branches: trunk
changeset: 383756:d381a40ee83b
user: leot <leot%pkgsrc.org@localhost>
date: Mon Aug 22 14:22:30 2022 +0000
description:
zimg: Simplify github.mk use
We can just properly set DISTNAME and GITHUB_TAG and avoid (re)setting
PKGVERSION, GITHUB_PROJECT, DIST_SUBDIR and WRKSRC.
diffstat:
graphics/zimg/Makefile | 12 +++---------
graphics/zimg/distinfo | 8 ++++----
2 files changed, 7 insertions(+), 13 deletions(-)
diffs (41 lines):
diff -r f38cf6401b1c -r d381a40ee83b graphics/zimg/Makefile
--- a/graphics/zimg/Makefile Mon Aug 22 14:05:00 2022 +0000
+++ b/graphics/zimg/Makefile Mon Aug 22 14:22:30 2022 +0000
@@ -1,21 +1,15 @@
-# $NetBSD: Makefile,v 1.1 2022/08/22 13:50:37 ast Exp $
+# $NetBSD: Makefile,v 1.2 2022/08/22 14:22:30 leot Exp $
-DISTNAME= zimg
-PKGVERSION= 3.0.4
-PKGNAME= ${DISTNAME}-${PKGVERSION}
+DISTNAME= zimg-3.0.4
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=sekrit-twc/}
-GITHUB_PROJECT= zimg
-GITHUB_TAG= refs/tags/release-${PKGVERSION}
+GITHUB_TAG= release-${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://github.com/sekrit-twc/zimg
COMMENT= "z" image processing library
LICENSE= public-domain # "WTFPL" license: https://github.com/sekrit-twc/zimg/blob/master/COPYING
-DIST_SUBDIR= ${PKGNAME_NOREV}
-WRKSRC= ${WRKDIR}/${DISTNAME}-release-${PKGVERSION_NOREV}
-
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
USE_TOOLS+= autoreconf autoconf automake
diff -r f38cf6401b1c -r d381a40ee83b graphics/zimg/distinfo
--- a/graphics/zimg/distinfo Mon Aug 22 14:05:00 2022 +0000
+++ b/graphics/zimg/distinfo Mon Aug 22 14:22:30 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2022/08/22 13:50:37 ast Exp $
+$NetBSD: distinfo,v 1.2 2022/08/22 14:22:30 leot Exp $
-BLAKE2s (zimg-3.0.4/zimg.tar.gz) = 7530721a147684db519ac5fad4a194a9ad99d0912d155c3be4e190e255f77d33
-SHA512 (zimg-3.0.4/zimg.tar.gz) = 94beddb109f0b301f0fecf09ea2761d3707aaa1f0cc1caf682bb3d1d7dcd89164de8388e922758e274914df9c7c7c1a0a0c5192e78f88655ed4c6da0ee51995c
-Size (zimg-3.0.4/zimg.tar.gz) = 326578 bytes
+BLAKE2s (zimg-3.0.4.tar.gz) = 7530721a147684db519ac5fad4a194a9ad99d0912d155c3be4e190e255f77d33
+SHA512 (zimg-3.0.4.tar.gz) = 94beddb109f0b301f0fecf09ea2761d3707aaa1f0cc1caf682bb3d1d7dcd89164de8388e922758e274914df9c7c7c1a0a0c5192e78f88655ed4c6da0ee51995c
+Size (zimg-3.0.4.tar.gz) = 326578 bytes
Home |
Main Index |
Thread Index |
Old Index