diff options
-rw-r--r-- | databases/clip/Makefile | 2 | ||||
-rw-r--r-- | devel/cc65/Makefile | 10 | ||||
-rw-r--r-- | devel/entity/Makefile | 4 | ||||
-rw-r--r-- | devel/spin/Makefile | 2 | ||||
-rw-r--r-- | games/dungeon/Makefile | 2 | ||||
-rw-r--r-- | graphics/mesa-demos/Makefile | 4 | ||||
-rw-r--r-- | japanese/magicpoint/Makefile | 2 | ||||
-rw-r--r-- | java/jdk14/Makefile | 2 | ||||
-rw-r--r-- | java/jdk15/Makefile | 2 | ||||
-rw-r--r-- | java/jdk16/Makefile | 2 | ||||
-rw-r--r-- | lang/php_doc/Makefile | 2 | ||||
-rw-r--r-- | math/arpack++/Makefile | 2 | ||||
-rw-r--r-- | math/umfpack/Makefile | 2 | ||||
-rw-r--r-- | print/ifhp/Makefile | 2 | ||||
-rw-r--r-- | print/xdvi/Makefile | 2 | ||||
-rw-r--r-- | security/nikto/Makefile | 2 | ||||
-rw-r--r-- | sysutils/LPRng/Makefile | 2 | ||||
-rw-r--r-- | textproc/p5-XML-DT/Makefile | 2 | ||||
-rw-r--r-- | x11/XFree86-aoutlibs/Makefile | 2 |
19 files changed, 25 insertions, 25 deletions
diff --git a/databases/clip/Makefile b/databases/clip/Makefile index 599518122c86..612312cde7d2 100644 --- a/databases/clip/Makefile +++ b/databases/clip/Makefile @@ -103,7 +103,7 @@ do-install: .for FILE in ${BIN2STRIP} @${STRIP_CMD} ${PREFIX}/clip/bin/${FILE} .endfor - @for f in `ls ${PREFIX}/clip/lib/*.so` ; \ + @for f in `${LS} ${PREFIX}/clip/lib/*.so` ; \ do \ ${STRIP_CMD} $$f ; \ done diff --git a/devel/cc65/Makefile b/devel/cc65/Makefile index 4ff18e2cd910..0b2209ed9889 100644 --- a/devel/cc65/Makefile +++ b/devel/cc65/Makefile @@ -34,7 +34,7 @@ WRKSRC= ${WRKDIR}/cc65-${PORTVERSION} DEVNULL= ${__empty_string_for_portlint}/dev/null # These doc files can be compiled using the textproc/sgmltools port -DOCFILES!= ls ${WRKSRC}/doc 2> ${DEVNULL} | \ +DOCFILES!= ${LS} ${WRKSRC}/doc 2> ${DEVNULL} | \ ${SED} -E -e 's/^/doc\//' && ${ECHO_CMD} announce.txt BINFILES= \ @@ -43,14 +43,14 @@ BINFILES= \ BINSCRIPTS= src/ca65html/ca65html -ASMINCFILES!= ls ${WRKSRC}/asminc 2> ${DEVNULL} | ${EGREP} '\.inc' || true +ASMINCFILES!= ${LS} ${WRKSRC}/asminc 2> ${DEVNULL} | ${EGREP} '\.inc' || true -CC65LIBFILES!= ls ${WRKSRC}/libsrc/ 2> ${DEVNULL} | ${EGREP} '\.(o|lib)' \ +CC65LIBFILES!= ${LS} ${WRKSRC}/libsrc/ 2> ${DEVNULL} | ${EGREP} '\.(o|lib)' \ || true -CC65EMDFILES!= ls ${WRKSRC}/libsrc/ 2> ${DEVNULL} | ${EGREP} '\.emd' || true +CC65EMDFILES!= ${LS} ${WRKSRC}/libsrc/ 2> ${DEVNULL} | ${EGREP} '\.emd' || true -CC65TGIFILES!= ls ${WRKSRC}/libsrc/ 2> ${DEVNULL} | ${EGREP} '\.tgi' || true +CC65TGIFILES!= ${LS} ${WRKSRC}/libsrc/ 2> ${DEVNULL} | ${EGREP} '\.tgi' || true do-build: cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${GMAKE} -ef make/gcc.mak diff --git a/devel/entity/Makefile b/devel/entity/Makefile index b1fbaf8e32b9..509a05ead704 100644 --- a/devel/entity/Makefile +++ b/devel/entity/Makefile @@ -28,7 +28,7 @@ MAN1= entity.1 post-install: ${LDCONFIG} -m ${PREFIX}/lib/entity/clib ${PREFIX}/lib ${MKDIR} ${PREFIX}/share/entity - cd ${WRKSRC}/apps && \ - ${PAX} -r -w `ls | ${GREP} -v Makefile` ${PREFIX}/share/entity + cd ${WRKSRC}/apps && ${PAX} -r -w `${LS} | \ + ${GREP} -v Makefile` ${PREFIX}/share/entity .include <bsd.port.mk> diff --git a/devel/spin/Makefile b/devel/spin/Makefile index 19ceca608f53..f231a1a48b41 100644 --- a/devel/spin/Makefile +++ b/devel/spin/Makefile @@ -37,7 +37,7 @@ post-extract: @cd ${WRKDIR}/Test && ${SH} ${WRKDIR}/Test/examples post-patch: - @WISH=`(cd ${LOCALBASE}/bin ; ls wish8* ) | tail -1` ; \ + @WISH=`(cd ${LOCALBASE}/bin ; ${LS} wish8* ) | tail -1` ; \ if [ -z "$$WISH" ] ; then WISH=wish8.0 ; fi ; \ ${REINPLACE_CMD} \ -e "s|%%LOCALBASE%%|${LOCALBASE}|g;" \ diff --git a/games/dungeon/Makefile b/games/dungeon/Makefile index 709fbcfe8353..8aad057642c9 100644 --- a/games/dungeon/Makefile +++ b/games/dungeon/Makefile @@ -37,7 +37,7 @@ TMPFILE= ${WRKSRC}/dungeon.tmp # (cd ${WRKSRC} && unzip ${DISTDIR}/dungn27s.zip > /dev/null) post-extract: - (cd ${WRKSRC} && ls > ${TMPFILE}.1) + (cd ${WRKSRC} && ${LS} > ${TMPFILE}.1) (cd ${WRKSRC} && ${AWK} -f ${FILESDIR}/aa.awk < ${TMPFILE}.1 \ > ${TMPFILE}.2) (cd ${WRKSRC} && sh ${TMPFILE}.2) diff --git a/graphics/mesa-demos/Makefile b/graphics/mesa-demos/Makefile index fcf68b617dd5..84247ec4b474 100644 --- a/graphics/mesa-demos/Makefile +++ b/graphics/mesa-demos/Makefile @@ -41,10 +41,10 @@ post-extract: post-install: ${MKDIR} ${PREFIX}/share/mesa-demos/images ${MKDIR} ${PREFIX}/share/mesa-demos/data - @for img in `ls ${WRKDIR}/Mesa-${PORTVERSION}/images/*.rgb`; do \ + @for img in `${LS} ${WRKDIR}/Mesa-${PORTVERSION}/images/*.rgb`; do \ ${INSTALL_DATA} $$img ${SHAREDIR}/images ; \ done - @for dat in `ls ${WRKSRC}/*.dat`; do \ + @for dat in `${LS} ${WRKSRC}/*.dat`; do \ ${INSTALL_DATA} $$dat ${SHAREDIR}/data ; \ done diff --git a/japanese/magicpoint/Makefile b/japanese/magicpoint/Makefile index 3d83c6d695bb..23d5149655a8 100644 --- a/japanese/magicpoint/Makefile +++ b/japanese/magicpoint/Makefile @@ -15,7 +15,7 @@ CATEGORIES= japanese MAINTAINER= mita@jp.FreeBSD.org # dirty, but this is required for version independent-ness -CONFIGURE_ARGS= --with-vfontcap=`ls -1 ${LOCALBASE}/share/VFlib/*/vfontcap | tail -1` +CONFIGURE_ARGS= --with-vfontcap=`${LS} -1 ${LOCALBASE}/share/VFlib/*/vfontcap | tail -1` CONFIGURE_ARGS+= --enable-freetype-charset16 .include "${MASTERDIR}/Makefile" diff --git a/java/jdk14/Makefile b/java/jdk14/Makefile index db9ea2c94b5b..3773b292b2c8 100644 --- a/java/jdk14/Makefile +++ b/java/jdk14/Makefile @@ -199,7 +199,7 @@ pre-patch: pre-build: @if [ "$${WRKDIRPREFIX}" -a \ -L "/compat/linux/$${WRKDIRPREFIX}" -a \ - x`ls -ld "/compat/linux/$${WRKDIRPREFIX}" 2>/dev/null | awk '/->/{print $$NF;exit 0}END{exit 1}'` = x"$${WRKDIRPREFIX}" ]; \ + x`${LS} -ld "/compat/linux/$${WRKDIRPREFIX}" 2>/dev/null | awk '/->/{print $$NF;exit 0}END{exit 1}'` = x"$${WRKDIRPREFIX}" ]; \ then \ ${ECHO_MSG} "Please set WRKDIRPREFIX to something which doesn't"; \ ${ECHO_MSG} "have a matching symbolic link in /compat/linux."; \ diff --git a/java/jdk15/Makefile b/java/jdk15/Makefile index db9ea2c94b5b..3773b292b2c8 100644 --- a/java/jdk15/Makefile +++ b/java/jdk15/Makefile @@ -199,7 +199,7 @@ pre-patch: pre-build: @if [ "$${WRKDIRPREFIX}" -a \ -L "/compat/linux/$${WRKDIRPREFIX}" -a \ - x`ls -ld "/compat/linux/$${WRKDIRPREFIX}" 2>/dev/null | awk '/->/{print $$NF;exit 0}END{exit 1}'` = x"$${WRKDIRPREFIX}" ]; \ + x`${LS} -ld "/compat/linux/$${WRKDIRPREFIX}" 2>/dev/null | awk '/->/{print $$NF;exit 0}END{exit 1}'` = x"$${WRKDIRPREFIX}" ]; \ then \ ${ECHO_MSG} "Please set WRKDIRPREFIX to something which doesn't"; \ ${ECHO_MSG} "have a matching symbolic link in /compat/linux."; \ diff --git a/java/jdk16/Makefile b/java/jdk16/Makefile index db9ea2c94b5b..3773b292b2c8 100644 --- a/java/jdk16/Makefile +++ b/java/jdk16/Makefile @@ -199,7 +199,7 @@ pre-patch: pre-build: @if [ "$${WRKDIRPREFIX}" -a \ -L "/compat/linux/$${WRKDIRPREFIX}" -a \ - x`ls -ld "/compat/linux/$${WRKDIRPREFIX}" 2>/dev/null | awk '/->/{print $$NF;exit 0}END{exit 1}'` = x"$${WRKDIRPREFIX}" ]; \ + x`${LS} -ld "/compat/linux/$${WRKDIRPREFIX}" 2>/dev/null | awk '/->/{print $$NF;exit 0}END{exit 1}'` = x"$${WRKDIRPREFIX}" ]; \ then \ ${ECHO_MSG} "Please set WRKDIRPREFIX to something which doesn't"; \ ${ECHO_MSG} "have a matching symbolic link in /compat/linux."; \ diff --git a/lang/php_doc/Makefile b/lang/php_doc/Makefile index 85947aa7e9f3..fd41d1962248 100644 --- a/lang/php_doc/Makefile +++ b/lang/php_doc/Makefile @@ -77,7 +77,7 @@ localfetch: ${MKDIR} ${LOCAL_TMPDIR}/${lang} cd ${LOCAL_TMPDIR}/${lang} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${LOCAL_DISTDIR}/php_manual_${lang}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS} - (cd ${LOCAL_TMPDIR}/${lang} && /bin/ls -1) | ${PERL} -pe 'print "%%PHPDOCDIR%%/$_";' > ${.CURDIR}/pkg-plist.${lang} + (cd ${LOCAL_TMPDIR}/${lang} && ${LS} -1) | ${PERL} -pe 'print "%%PHPDOCDIR%%/$_";' > ${.CURDIR}/pkg-plist.${lang} ${ECHO_CMD} "@dirrm %%PHPDOCDIR%%" >> ${.CURDIR}/pkg-plist.${lang} ${RM} -rf ${LOCAL_TMPDIR}/${lang} .endfor diff --git a/math/arpack++/Makefile b/math/arpack++/Makefile index ecf27c317e63..11b092536a38 100644 --- a/math/arpack++/Makefile +++ b/math/arpack++/Makefile @@ -40,7 +40,7 @@ post-patch: do-install: @${MKDIR} ${PREFIX}/include/ARPACK++ - @for inc in `ls ${WRKSRC}/include` ; do \ + @for inc in `${LS} ${WRKSRC}/include` ; do \ ${INSTALL_DATA} ${WRKSRC}/include/$$inc ${PREFIX}/include/ARPACK++; \ done .if !defined(NOPORTDOCS) diff --git a/math/umfpack/Makefile b/math/umfpack/Makefile index 230cf8c1a728..4026aeedbefd 100644 --- a/math/umfpack/Makefile +++ b/math/umfpack/Makefile @@ -28,7 +28,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/Lib/libumfpack.a ${PREFIX}/lib .for mod in AMD UMFPACK @${MKDIR} ${PREFIX}/include/${mod} - @for inc in `ls ${WRKSRC}/../${mod}/Include` ; do \ + @for inc in `${LS} ${WRKSRC}/../${mod}/Include` ; do \ ${INSTALL_DATA} ${WRKSRC}/../${mod}/Include/$$inc ${PREFIX}/include/${mod}; \ done .endfor diff --git a/print/ifhp/Makefile b/print/ifhp/Makefile index 6b8e7f9b0a3b..38dd081e116e 100644 --- a/print/ifhp/Makefile +++ b/print/ifhp/Makefile @@ -52,7 +52,7 @@ post-install: .if !defined(NOPORTDOCS) @${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 0555 ${DOCSDIR} .for ext in html pdf ppt ps txt gif jpg png - @for i in `ls ${WRKSRC}/HOWTO |${GREP} "\.${ext}$$"`; \ + @for i in `${LS} ${WRKSRC}/HOWTO |${GREP} "\.${ext}$$"`; \ do ${INSTALL_DATA} ${WRKSRC}/HOWTO/$$i ${DOCSDIR}; done .endfor .endif diff --git a/print/xdvi/Makefile b/print/xdvi/Makefile index 85200d5a9d69..7288e23a1cd5 100644 --- a/print/xdvi/Makefile +++ b/print/xdvi/Makefile @@ -33,7 +33,7 @@ post-configure: @${PERL} -pi -e "s=distclean::=distclean:=g" ${WRKSRC}/Makefile pre-install: - @if ls /var/db/pkg/ | grep -qi ^tetex; then\ + @if ${LS} /var/db/pkg/ | grep -qi ^tetex; then\ ${ECHO_MSG} "*** WARNING ***";\ ${ECHO_MSG} "This port conflicts with teTeX! If you have already installed";\ ${ECHO_MSG} "teTeX, you may want to backup the xdvi and MakeTeXPK commands.";\ diff --git a/security/nikto/Makefile b/security/nikto/Makefile index 2147ae193671..cb4215c6b130 100644 --- a/security/nikto/Makefile +++ b/security/nikto/Makefile @@ -28,7 +28,7 @@ do-install: @${REINPLACE_CMD} -e "s|/usr/local/nikto|${PREFIX}/share/nikto|g" ${WRKSRC}/config.txt @${INSTALL_DATA} ${WRKSRC}/config.txt ${PREFIX}/etc/nikto/ @${MKDIR} ${PREFIX}/share/nikto/ && ${CHMOD} 755 ${PREFIX}/share/nikto/ - @for i in `ls ${WRKSRC}/plugins/` ; \ + @for i in `${LS} ${WRKSRC}/plugins/` ; \ do \ ${INSTALL_SCRIPT} ${WRKSRC}/plugins/$$i ${PREFIX}/share/nikto; \ done diff --git a/sysutils/LPRng/Makefile b/sysutils/LPRng/Makefile index c981c0dcbe70..2c4986b95d26 100644 --- a/sysutils/LPRng/Makefile +++ b/sysutils/LPRng/Makefile @@ -65,7 +65,7 @@ post-install: .if !defined(NOPORTDOCS) @${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 0555 ${DOCSDIR} .for ext in html pdf ppt ps txt gif jpg png - for i in `ls ${WRKSRC}/HOWTO | ${GREP} "\.${ext}$$"`; \ + for i in `${LS} ${WRKSRC}/HOWTO | ${GREP} "\.${ext}$$"`; \ do ${INSTALL_DATA} ${WRKSRC}/HOWTO/$$i ${DOCSDIR}; done .endfor .endif diff --git a/textproc/p5-XML-DT/Makefile b/textproc/p5-XML-DT/Makefile index 4095a5c03cac..bc9ad2eca357 100644 --- a/textproc/p5-XML-DT/Makefile +++ b/textproc/p5-XML-DT/Makefile @@ -26,6 +26,6 @@ post-install: @${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples @${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples/XPath @${INSTALL_DATA} ${WRKSRC}/examples/XPath/* ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples/XPath - @${INSTALL_DATA} `ls -d ${WRKSRC}/examples/* | ${GREP} -v XPath` ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples + @${INSTALL_DATA} `${LS} -d ${WRKSRC}/examples/* | ${GREP} -v XPath` ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples .include <bsd.port.mk> diff --git a/x11/XFree86-aoutlibs/Makefile b/x11/XFree86-aoutlibs/Makefile index 3b28e715d2f3..24fa7e3fc455 100644 --- a/x11/XFree86-aoutlibs/Makefile +++ b/x11/XFree86-aoutlibs/Makefile @@ -32,7 +32,7 @@ pre-configure: do-install: @${MKDIR} ${PREFIX}/lib/aout cd ${WRKSRC}; \ - for l in $$(ls lib*); do \ + for l in $$(${LS} lib*); do \ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} \ ${INSTALL_PROGRAM} $$l ${PREFIX}/lib/aout; \ done |