diff options
author | Greg Larkin <glarkin@FreeBSD.org> | 2008-12-13 00:44:06 +0000 |
---|---|---|
committer | Greg Larkin <glarkin@FreeBSD.org> | 2008-12-13 00:44:06 +0000 |
commit | b389a92ebf0308ba13c80aa21633b91ccdf4e720 (patch) | |
tree | eba57a1780853e342c2fc6e8160de20dcad2f8bc /www/twiki | |
parent | 16c2c63cf26babfa4470615e055bac8fea792fc3 (diff) |
- Maintainer mode enhancement: ignore comments in TWiki plugin
dependency files.
Notes
Notes:
svn path=/head/; revision=224173
Diffstat (limited to 'www/twiki')
-rw-r--r-- | www/twiki/bsd.twiki.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/twiki/bsd.twiki.mk b/www/twiki/bsd.twiki.mk index bd62e798d4b3..4f241af091ad 100644 --- a/www/twiki/bsd.twiki.mk +++ b/www/twiki/bsd.twiki.mk @@ -55,11 +55,11 @@ do-install: @cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${TWDIR}/ @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -make-twdep: - @echo "TWDEP=`cat ${WRKSRC}/lib/TWiki/*/${PORTNAME}/DEPENDENCIES |\ +make-twdep: extract + @echo "TWDEP=`grep -v ^# ${WRKSRC}/lib/TWiki/*/${PORTNAME}/DEPENDENCIES |\ grep -v ',cpan,'|cut -f1-2 -d, | ${SED} -e 's|.*::||;s|,||g' |\ tr '\n' ' ' | sed 's| $$||'`" - @echo "RUN_DEPENDS=`cat ${WRKSRC}/lib/TWiki/*/${PORTNAME}/DEPENDENCIES |\ + @echo "RUN_DEPENDS=`grep -v ^# ${WRKSRC}/lib/TWiki/*/${PORTNAME}/DEPENDENCIES |\ grep ',cpan,' | cut -f1-2 -d, | ${SED} -e 's|::|-|' | while read a; do\ n=p5-$${a%%,*}; v=$${a##*,}; \ o=\`echo ${PORTSDIR}/*/$$n\`; : $${o:=${PORTSDIR}/X/$$n}; \ |