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 /print/papersize | |
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 'print/papersize')
-rw-r--r-- | print/papersize/Makefile | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/print/papersize/Makefile b/print/papersize/Makefile index 6b97296df34..c14f1048655 100644 --- a/print/papersize/Makefile +++ b/print/papersize/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2012/10/08 13:45:43 asau Exp $ +# $NetBSD: Makefile,v 1.30 2019/05/23 19:23:13 rillig Exp $ # DISTNAME= papersize-1.0.8 @@ -18,18 +18,18 @@ INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 SUBST_CLASSES+= paths SUBST_STAGE.paths= pre-configure SUBST_FILES.paths= getpapersize setpapersize -SUBST_SED.paths= -e 's,@SH@,${SH},' -SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},' -SUBST_SED.paths+= -e 's,@X11BASE@,${X11BASE},' -SUBST_SED.paths+= -e 's,@ECHO@,${ECHO},' -SUBST_SED.paths+= -e 's,@AWK@,${AWK},' -SUBST_SED.paths+= -e 's,@LOCALBASE@,${LOCALBASE},' -SUBST_SED.paths+= -e 's,@SED@,${SED},' -SUBST_SED.paths+= -e 's,@GREP@,${GREP},' -SUBST_SED.paths+= -e 's,@MV@,${MV},' -SUBST_SED.paths+= -e 's,@TR@,${TR},' -SUBST_SED.paths+= -e 's,@RM@,${RM},' -SUBST_SED.paths+= -e 's,@CHMOD@,${CHMOD},' +SUBST_VARS.paths= SH +SUBST_VARS.paths+= PKG_SYSCONFDIR +SUBST_VARS.paths+= X11BASE +SUBST_VARS.paths+= ECHO +SUBST_VARS.paths+= AWK +SUBST_VARS.paths+= LOCALBASE +SUBST_VARS.paths+= SED +SUBST_VARS.paths+= GREP +SUBST_VARS.paths+= MV +SUBST_VARS.paths+= TR +SUBST_VARS.paths+= RM +SUBST_VARS.paths+= CHMOD do-extract: cd ${FILESDIR} && cp setpapersize getpapersize ${WRKSRC}/. |