pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/decode-dimms Move the revision string substit...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b1e2052c34c9
branches:  trunk
changeset: 310832:b1e2052c34c9
user:      pgoyette <pgoyette%pkgsrc.org@localhost>
date:      Wed Jul 25 04:48:22 2018 +0000

description:
Move the revision string substituion stuff to pre-patch

Fix the substitution string to include the trailing / within the 's,
and add a blank line for readability (thanks jnemeth@ for these two).

diffstat:

 sysutils/decode-dimms/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r d8bfdc43818d -r b1e2052c34c9 sysutils/decode-dimms/Makefile
--- a/sysutils/decode-dimms/Makefile    Wed Jul 25 04:33:31 2018 +0000
+++ b/sysutils/decode-dimms/Makefile    Wed Jul 25 04:48:22 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2018/07/25 04:33:31 pgoyette Exp $
+# $NetBSD: Makefile,v 1.6 2018/07/25 04:48:22 pgoyette Exp $
 
 # no Release yet
 GIT_COMMIT=    84da8192c7c409f37c1906b60ef166c58aafc847
@@ -18,9 +18,9 @@
 REPLACE_PERL=  eeprom/decode-dimms
 
 SUBST_CLASSES+=                rev
-SUBST_STAGE.rev=        post-patch
+SUBST_STAGE.rev=       pre-patch
 SUBST_FILES.rev=        eeprom/decode-dimms
-SUBST_SED.rev=          -e 's/^$$revision = .*;/$$revision = "20171205";'/
+SUBST_SED.rev=          -e 's/^$$revision = .*;/$$revision = "20171205";/'
 SUBST_SED.rev+=                -e '/^$$revision =~/d'
 
 NO_BUILD=      yes
@@ -30,6 +30,7 @@
 ONLY_FOR_PLATFORM= NetBSD-*-*
 
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+
 do-install:
        ${INSTALL_SCRIPT} ${WRKSRC}/eeprom/decode-dimms \
                ${DESTDIR}${PREFIX}/bin/decode-dimms



Home | Main Index | Thread Index | Old Index