diff options
author | brooks <brooks@FreeBSD.org> | 2005-02-14 22:19:30 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2005-02-14 22:19:30 +0000 |
commit | 7f53b2a997fb84be517e7293dfa5510db8019f64 (patch) | |
tree | e3afff9d6c5fb9cd61db8baaf24448d4a68ef7e2 /audio | |
parent | f44325f8b44d37b5582825629c7ea6ccadd8375b (diff) | |
download | FreeBSD-ports-7f53b2a997fb84be517e7293dfa5510db8019f64.zip FreeBSD-ports-7f53b2a997fb84be517e7293dfa5510db8019f64.tar.gz |
Fix a bug that caused perl dependencies not to be installed.
While I'm here, quite portlint a bit by replacing an number of bare
commands with ${CMD} variables.
Reported by: joe
Diffstat (limited to 'audio')
-rw-r--r-- | audio/slimserver/Makefile | 15 | ||||
-rw-r--r-- | audio/squeezeboxserver/Makefile | 15 | ||||
-rw-r--r-- | audio/squeezecenter/Makefile | 15 |
3 files changed, 21 insertions, 24 deletions
diff --git a/audio/slimserver/Makefile b/audio/slimserver/Makefile index a7992a1..41f54e6 100644 --- a/audio/slimserver/Makefile +++ b/audio/slimserver/Makefile @@ -17,12 +17,11 @@ COMMENT= Slim Devices audio streaming server DISTVERSION?= ${PORTVERSION} - RUN_DEPENDS+= ${LOCALBASE}/bin/mDNSResponderPosix:${PORTSDIR}/net/mDNSResponder .include <bsd.port.pre.mk> -SLIM_CPAN_DEPS!= cut -f 2 -d, ${FILESDIR}/pm2port | grep -v ^_builtin +SLIM_CPAN_DEPS!= cut -f 2 -d, ${FILESDIR}/pm2port | ${GREP} -v ^_builtin | ${XARGS} echo RUN_DEPENDS+= ${SLIM_CPAN_DEPS:S|^|${SITE_PERL}/|:S|:|:${PORTSDIR}/|} .if ${PERL_LEVEL} < 500800 @@ -72,16 +71,16 @@ do-build: ${EXCEPTDIRS:S/$/\*/:S/^/-o -path .\//} -o -print | \ ${CPIO} ${CPIOARGS} ${BINOWN}:${BINGRP} ${TMP_SLIMDIR} @cd ${TMP_SLIMDIR}/CPAN && \ - for pm in `egrep -v ,$$ ${FILESDIR}/pm2port | cut -f 1 -d,`; do \ - grep "$${pm}:" ${FILESDIR}/CPANfiles | cut -f2 -d: | xargs rm; \ + for pm in `${EGREP} -v ,$$ ${FILESDIR}/pm2port | cut -f 1 -d,`; do \ + ${GREP} "$${pm}:" ${FILESDIR}/CPANfiles | cut -f2 -d: | ${XARGS} rm; \ done - @find ${TMP_SLIMDIR}/CPAN -depth -type d -empty -delete + @${FIND} ${TMP_SLIMDIR}/CPAN -depth -type d -empty -delete .if defined(PORTDEV) @echo "Checking for unexpected files in CPAN" @cd ${TMP_SLIMDIR}/CPAN && \ - for file in `find . -type f | sed -e 's|^\./||'`; do \ - egrep -q ":$${file}\$$" ${FILESDIR}/CPANfiles || \ - echo $${file} ; \ + for _file in `${FIND} . -type f | ${SED} -e 's|^\./||'`; do \ + ${EGREP} -q ":$${_file}\$$" ${FILESDIR}/CPANfiles || \ + echo $${_file} ; \ done @echo .endif diff --git a/audio/squeezeboxserver/Makefile b/audio/squeezeboxserver/Makefile index a7992a1..41f54e6 100644 --- a/audio/squeezeboxserver/Makefile +++ b/audio/squeezeboxserver/Makefile @@ -17,12 +17,11 @@ COMMENT= Slim Devices audio streaming server DISTVERSION?= ${PORTVERSION} - RUN_DEPENDS+= ${LOCALBASE}/bin/mDNSResponderPosix:${PORTSDIR}/net/mDNSResponder .include <bsd.port.pre.mk> -SLIM_CPAN_DEPS!= cut -f 2 -d, ${FILESDIR}/pm2port | grep -v ^_builtin +SLIM_CPAN_DEPS!= cut -f 2 -d, ${FILESDIR}/pm2port | ${GREP} -v ^_builtin | ${XARGS} echo RUN_DEPENDS+= ${SLIM_CPAN_DEPS:S|^|${SITE_PERL}/|:S|:|:${PORTSDIR}/|} .if ${PERL_LEVEL} < 500800 @@ -72,16 +71,16 @@ do-build: ${EXCEPTDIRS:S/$/\*/:S/^/-o -path .\//} -o -print | \ ${CPIO} ${CPIOARGS} ${BINOWN}:${BINGRP} ${TMP_SLIMDIR} @cd ${TMP_SLIMDIR}/CPAN && \ - for pm in `egrep -v ,$$ ${FILESDIR}/pm2port | cut -f 1 -d,`; do \ - grep "$${pm}:" ${FILESDIR}/CPANfiles | cut -f2 -d: | xargs rm; \ + for pm in `${EGREP} -v ,$$ ${FILESDIR}/pm2port | cut -f 1 -d,`; do \ + ${GREP} "$${pm}:" ${FILESDIR}/CPANfiles | cut -f2 -d: | ${XARGS} rm; \ done - @find ${TMP_SLIMDIR}/CPAN -depth -type d -empty -delete + @${FIND} ${TMP_SLIMDIR}/CPAN -depth -type d -empty -delete .if defined(PORTDEV) @echo "Checking for unexpected files in CPAN" @cd ${TMP_SLIMDIR}/CPAN && \ - for file in `find . -type f | sed -e 's|^\./||'`; do \ - egrep -q ":$${file}\$$" ${FILESDIR}/CPANfiles || \ - echo $${file} ; \ + for _file in `${FIND} . -type f | ${SED} -e 's|^\./||'`; do \ + ${EGREP} -q ":$${_file}\$$" ${FILESDIR}/CPANfiles || \ + echo $${_file} ; \ done @echo .endif diff --git a/audio/squeezecenter/Makefile b/audio/squeezecenter/Makefile index a7992a1..41f54e6 100644 --- a/audio/squeezecenter/Makefile +++ b/audio/squeezecenter/Makefile @@ -17,12 +17,11 @@ COMMENT= Slim Devices audio streaming server DISTVERSION?= ${PORTVERSION} - RUN_DEPENDS+= ${LOCALBASE}/bin/mDNSResponderPosix:${PORTSDIR}/net/mDNSResponder .include <bsd.port.pre.mk> -SLIM_CPAN_DEPS!= cut -f 2 -d, ${FILESDIR}/pm2port | grep -v ^_builtin +SLIM_CPAN_DEPS!= cut -f 2 -d, ${FILESDIR}/pm2port | ${GREP} -v ^_builtin | ${XARGS} echo RUN_DEPENDS+= ${SLIM_CPAN_DEPS:S|^|${SITE_PERL}/|:S|:|:${PORTSDIR}/|} .if ${PERL_LEVEL} < 500800 @@ -72,16 +71,16 @@ do-build: ${EXCEPTDIRS:S/$/\*/:S/^/-o -path .\//} -o -print | \ ${CPIO} ${CPIOARGS} ${BINOWN}:${BINGRP} ${TMP_SLIMDIR} @cd ${TMP_SLIMDIR}/CPAN && \ - for pm in `egrep -v ,$$ ${FILESDIR}/pm2port | cut -f 1 -d,`; do \ - grep "$${pm}:" ${FILESDIR}/CPANfiles | cut -f2 -d: | xargs rm; \ + for pm in `${EGREP} -v ,$$ ${FILESDIR}/pm2port | cut -f 1 -d,`; do \ + ${GREP} "$${pm}:" ${FILESDIR}/CPANfiles | cut -f2 -d: | ${XARGS} rm; \ done - @find ${TMP_SLIMDIR}/CPAN -depth -type d -empty -delete + @${FIND} ${TMP_SLIMDIR}/CPAN -depth -type d -empty -delete .if defined(PORTDEV) @echo "Checking for unexpected files in CPAN" @cd ${TMP_SLIMDIR}/CPAN && \ - for file in `find . -type f | sed -e 's|^\./||'`; do \ - egrep -q ":$${file}\$$" ${FILESDIR}/CPANfiles || \ - echo $${file} ; \ + for _file in `${FIND} . -type f | ${SED} -e 's|^\./||'`; do \ + ${EGREP} -q ":$${_file}\$$" ${FILESDIR}/CPANfiles || \ + echo $${_file} ; \ done @echo .endif |