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/0eefaec7e0be
branches:  trunk
changeset: 383207:0eefaec7e0be
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 6e1e1286eb24 -r 0eefaec7e0be 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