pkgsrc-WIP-changes archive

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

nagios-plugin-printer: sort lines, decrease version for the case this ever sees a release



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Wed Feb 10 16:25:34 2021 +0100
Changeset:	34fc3e7dc6d7f9276ad2a2a8187d4aba4dd46253

Modified Files:
	nagios-plugin-printer/Makefile

Log Message:
nagios-plugin-printer: sort lines, decrease version for the case this ever sees a release

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

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

diffstat:
 nagios-plugin-printer/Makefile | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diffs:
diff --git a/nagios-plugin-printer/Makefile b/nagios-plugin-printer/Makefile
index 7419f83df9..50bae8b3ca 100644
--- a/nagios-plugin-printer/Makefile
+++ b/nagios-plugin-printer/Makefile
@@ -1,15 +1,16 @@
 # $NetBSD: Makefile $
 
+DISTNAME=	check_printer
 REVISION=	363
 PKGREVISION=	1
-PKGNAME=	nagios-plugin-printer-${REVISION}
-COMMENT=	Gather supply metrics from a printer via SNMP query
+PKGNAME=	nagios-plugin-printer-0.0.${REVISION}
 CATEGORIES=	sysutils net
-DISTNAME=	check_printer
-EXTRACT_SUFX=	# empty
-DIST_SUBDIR=	check_printer-${REVISION}
 # Can this be converted to GITHUB_*?
 MASTER_SITES=	${MASTER_SITE_GITHUB:=bzed/pkg-nagios-plugins-contrib/raw/debian/25.20191015+1/check_printer/}
+EXTRACT_SUFX=	# empty
+DIST_SUBDIR=	check_printer-${REVISION}
+
+COMMENT=	Gather supply metrics from a printer via SNMP query
 LICENSE=	2-clause-bsd
 
 USE_LANGUAGES=	# empty
@@ -19,9 +20,6 @@ DEPENDS+=	net-snmp-[0-9]*:../../net/net-snmp
 
 WRKSRC=		${WRKDIR}
 
-do-extract:
-	${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}
-
 PLUGINDIR=		libexec/nagios
 PLIST_SUBST+=		PLUGINDIR=${PLUGINDIR}
 
@@ -36,7 +34,10 @@ SUBST_FILES.paths=	check_printer
 SUBST_SED.paths=	-e 's;@LIBDIR@;${PREFIX}/${PLUGINDIR};'
 SUBST_VARS.paths=	PREFIX
 
-NO_BUILD=	YES
+NO_BUILD=	yes
+
+do-extract:
+	${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/check_printer ${DESTDIR}${PREFIX}/${PLUGINDIR}


Home | Main Index | Thread Index | Old Index