diff options
author | rodent <rodent> | 2013-04-06 13:24:18 +0000 |
---|---|---|
committer | rodent <rodent> | 2013-04-06 13:24:18 +0000 |
commit | 645af6533798a5c80d04b31853c05db926158dc6 (patch) | |
tree | 7e09ae380f09209fdebcf2ee8170c971a410c319 /editors | |
parent | dec446e442d6562a7c114e2ccca3cf1ee1d64c76 (diff) | |
download | pkgsrc-645af6533798a5c80d04b31853c05db926158dc6.tar.gz |
".for variable names should not contain uppercase letters"
Diffstat (limited to 'editors')
-rw-r--r-- | editors/xcoral/Makefile | 6 | ||||
-rw-r--r-- | editors/xemacs-packages/Makefile | 16 |
2 files changed, 11 insertions, 11 deletions
diff --git a/editors/xcoral/Makefile b/editors/xcoral/Makefile index 1aec621c830..5928981de08 100644 --- a/editors/xcoral/Makefile +++ b/editors/xcoral/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2012/10/03 11:43:47 asau Exp $ +# $NetBSD: Makefile,v 1.19 2013/04/06 13:24:18 rodent Exp $ DISTNAME= xcoral-3.2 PKGREVISION= 1 @@ -25,8 +25,8 @@ INSTALLATION_DIRS= bin lib/xcoral share/doc/xcoral/HTML/icons do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xcoral ${DESTDIR}${PREFIX}/bin -.for FILE in ${LIBFILES} - ${INSTALL_DATA} ${WRKSRC}/SmacLib/${FILE} ${DESTDIR}${PREFIX}/lib/xcoral +.for file in ${LIBFILES} + ${INSTALL_DATA} ${WRKSRC}/SmacLib/${file} ${DESTDIR}${PREFIX}/lib/xcoral .endfor ${CP} -r ${WRKSRC}/Doc/* ${DESTDIR}${PREFIX}/share/doc/xcoral diff --git a/editors/xemacs-packages/Makefile b/editors/xemacs-packages/Makefile index 18d6374e1d1..790c3c7e750 100644 --- a/editors/xemacs-packages/Makefile +++ b/editors/xemacs-packages/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.58 2012/10/03 21:56:00 wiz Exp $ +# $NetBSD: Makefile,v 1.59 2013/04/06 13:24:19 rodent Exp $ DISTNAME= xemacs-packages PKGNAME= xemacs-packages-1.16 @@ -212,10 +212,10 @@ xemacs-update-package: xemacs-fetch-package-list xemacs-merge-package-list do-install: ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/xemacs/xemacs-packages -.for DISTFILE in ${DISTFILES} - @${ECHO_MSG} -n "Extracting ${DISTFILE} ... " +.for distfile in ${DISTFILES} + @${ECHO_MSG} -n "Extracting ${distfile} ... " ${GTAR} xCzf ${DESTDIR}${PREFIX}/lib/xemacs/xemacs-packages \ - ${DISTDIR}/${DIST_SUBDIR}/${DISTFILE} + ${DISTDIR}/${DIST_SUBDIR}/${distfile} @${ECHO_MSG} "done" .endfor @${ECHO_MSG} -n "Fixing file ownerships ... " @@ -225,11 +225,11 @@ do-install: @${ECHO_MSG} -n "Fixing file permissions ... " ${CHMOD} -R g-w,o-w ${DESTDIR}${PREFIX}/lib/xemacs/xemacs-packages @${ECHO_MSG} "done" -.for PROG in ${REPLACEMENT_PROGS} - @${ECHO_MSG} "Fixing ${PROG} paths" - for f in ${REPLACEMENTS.${PROG}}; do \ +.for prog in ${REPLACEMENT_PROGS} + @${ECHO_MSG} "Fixing ${prog} paths" + for f in ${REPLACEMENTS.${prog}}; do \ cp ${DESTDIR}$$f ${DESTDIR}$$f.pre; \ - ${SED} -e 's|#!.*${PROG}|${PREFIX}/bin/${PROG}|' \ + ${SED} -e 's|#!.*${prog}|${PREFIX}/bin/${prog}|' \ ${DESTDIR}$$f.pre > ${DESTDIR}$$f; \ rm ${DESTDIR}$$f.pre; \ done |