xymonclient: fix packaging so it reflects PKGREVISION values

Direct setting of PKGVERSION was confusing the tooling at points so it
did not reflect that a PKGREVISION value was set. Fix this by setting
the version in DISTNAME and making a substition in PKGNAME instead.
Addresses PR pkg/57668 from Jason White.
This commit is contained in:
gutteridge 2023-10-18 23:59:32 +00:00
parent 9309a83eef
commit 70b57701ad
1 changed files with 3 additions and 5 deletions

View File

@ -1,9 +1,7 @@
# $NetBSD: Makefile,v 1.27 2022/01/06 11:53:26 hauke Exp $
#
# $NetBSD: Makefile,v 1.28 2023/10/18 23:59:32 gutteridge Exp $
DISTNAME= xymon-${PKGVERSION}
PKGNAME= xymonclient-${PKGVERSION}
PKGVERSION= 4.3.30
DISTNAME= xymon-4.3.30
PKGNAME= ${DISTNAME:S/xymon/xymonclient/}
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xymon/}