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 /mail/roundcube/Makefile | |
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 'mail/roundcube/Makefile')
-rw-r--r-- | mail/roundcube/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/roundcube/Makefile b/mail/roundcube/Makefile index d57c4d32303..75ae2334e84 100644 --- a/mail/roundcube/Makefile +++ b/mail/roundcube/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.89 2018/05/16 08:14:40 triaxx Exp $ +# $NetBSD: Makefile,v 1.90 2019/05/23 19:23:08 rillig Exp $ DISTNAME= roundcubemail-${RC_VERS} PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME:S/mail-/-/} @@ -72,11 +72,11 @@ SUBST_FILES.files+= config/config.inc.php.sample SUBST_FILES.files+= program/include/iniset.php SUBST_FILES.files+= program/lib/Roundcube/rcube_mime.php SUBST_VARS.files= RCDIR VARBASE PKG_EXAMPLES PKG_SYSCONFBASE PKG_SYSCONFDIR -SUBST_SED.files= -e "s|@RCDIR@|${RCDIR}|g" -SUBST_SED.files+= -e "s|@VARBASE@|${VARBASE}|g" +SUBST_VARS.files+= RCDIR +SUBST_VARS.files+= VARBASE SUBST_SED.files+= -e "s|@PKG_EXAMPLES@|${PREFIX}/share/examples/roundcube|g" -SUBST_SED.files+= -e "s|@PKG_SYSCONFBASE@|${PKG_SYSCONFBASE}|g" -SUBST_SED.files+= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g" +SUBST_VARS.files+= PKG_SYSCONFBASE +SUBST_VARS.files+= PKG_SYSCONFDIR REPLACE_INTERPRETER+= php REPLACE.php.old= /usr/bin/env php |