diff options
author | rillig <rillig@pkgsrc.org> | 2019-05-23 19:22:54 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2019-05-23 19:22:54 +0000 |
commit | cabadf3d995dfdb93e43fa33e676fdfbb6f7d1f5 (patch) | |
tree | dfd45506cac9c8adb60a55d809ab0dbc4d5a750e /pkgtools/pkg_notify | |
parent | afe0216c35d9e0e0b96fe80eb38badf368ef84a7 (diff) | |
download | pkgsrc-cabadf3d995dfdb93e43fa33e676fdfbb6f7d1f5.tar.gz |
all: replace SUBST_SED with the simpler SUBST_VARS
pkglint -Wall -r --only "substitution command" -F
With manual review and indentation fixes since pkglint doesn't get that
part correct in every case.
Diffstat (limited to 'pkgtools/pkg_notify')
-rw-r--r-- | pkgtools/pkg_notify/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgtools/pkg_notify/Makefile b/pkgtools/pkg_notify/Makefile index 06dd59fe14e..fe13cb7d34a 100644 --- a/pkgtools/pkg_notify/Makefile +++ b/pkgtools/pkg_notify/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 2018/09/27 23:00:48 tnn Exp $ +# $NetBSD: Makefile,v 1.29 2019/05/23 19:23:12 rillig Exp $ PKGNAME= pkg_notify-0.4.6 PKGREVISION= 1 @@ -26,11 +26,11 @@ SUBST_CLASSES+= pkg_notify SUBST_STAGE.pkg_notify= pre-install SUBST_FILES.pkg_notify= pkg_notify SUBST_FILES.pkg_notify+= pkg_notify.1 -SUBST_SED.pkg_notify= -e 's|@PKGSRCDIR@|${PKGSRCDIR}|' -SUBST_SED.pkg_notify+= -e 's|@PREFIX@|${PREFIX}|g' -SUBST_SED.pkg_notify+= -e 's|@MAKE@|${MAKE:Q}|g' +SUBST_VARS.pkg_notify= PKGSRCDIR +SUBST_VARS.pkg_notify+= PREFIX +SUBST_VARS.pkg_notify+= MAKE SUBST_SED.pkg_notify+= -e 's|@PERL@|${PERL5:Q}|g' -SUBST_SED.pkg_notify+= -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g' +SUBST_VARS.pkg_notify+= PKG_SYSCONFDIR INSTALLATION_DIRS= bin ${EGDIR} ${PKGMANDIR}/man1 |