pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

nih: set version to YYYY.MM.DD of checkout



Module Name:	pkgsrc-wip
Committed By:	Aleksey Cheusov <vle%gmx.net@localhost>
Pushed By:	cheusov
Date:		Mon May 27 23:36:38 2024 +0400
Changeset:	f93bf725f182e84f6b91a1b390d4b45025d2e8fb

Modified Files:
	nih-current/Makefile

Log Message:
nih: set version to YYYY.MM.DD of checkout

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f93bf725f182e84f6b91a1b390d4b45025d2e8fb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 nih-current/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diffs:
diff --git a/nih-current/Makefile b/nih-current/Makefile
index ab9d5a0fea..2b3f17830e 100644
--- a/nih-current/Makefile
+++ b/nih-current/Makefile
@@ -1,7 +1,8 @@
 # $NetBSD: Makefile,v 1.21 2015/03/01 14:59:36 cheusov Exp $
 
 DISTNAME=	pkg${PKGNAME}
-PKGNAME=	nih-0.16.0
+PKGREVISION=
+PKGNAME=	nih-${_GIT_PKGVERSION}
 CATEGORIES=	pkgtools
 
 MAINTAINER=	cheusov%NetBSD.org@localhost
@@ -42,7 +43,7 @@ REPLACE.runawk.new=	${PREFIX}/bin/runawk
 REPLACE_FILES.runawk=	nih/pkg_update_plan.in nih/cmp2hr.in \
 			nih/pkg_create_fake.in nih/analyse_conflicts.in
 
-MAKE_ENV+=		VERSION=${_GIT_PKGVERSION:S/.//}
+MAKE_ENV+=		VERSION=${_GIT_PKGVERSION}
 MAKE_ENV+=		PKG_DBDIR=${PKG_DBDIR}
 MAKE_ENV+=		VARDIR=${VARBASE}
 MAKE_ENV+=		REAL_ROOT_USER=${REAL_ROOT_USER}


Home | Main Index | Thread Index | Old Index