diff options
author | glarkin <glarkin@FreeBSD.org> | 2008-12-13 08:44:06 +0800 |
---|---|---|
committer | glarkin <glarkin@FreeBSD.org> | 2008-12-13 08:44:06 +0800 |
commit | 91e82fa0bebe205a578e2c2a3f3f0c0ac801beb5 (patch) | |
tree | 3d6d7e9e9eeb8622303ddaf18faed45920c63922 /www/twiki | |
parent | fee1972f4ba0e299b2136516ca254c30e34214b7 (diff) | |
download | freebsd-ports-gnome-91e82fa0bebe205a578e2c2a3f3f0c0ac801beb5.tar.gz freebsd-ports-gnome-91e82fa0bebe205a578e2c2a3f3f0c0ac801beb5.tar.zst freebsd-ports-gnome-91e82fa0bebe205a578e2c2a3f3f0c0ac801beb5.zip |
- Maintainer mode enhancement: ignore comments in TWiki plugin
dependency files.
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}; \ |