mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-01 10:59:55 +00:00
Mk: depulicate WWW information
Stop duplication the WWW informations within the packages Since september 2022 the WWW lines has been moved from pkg-descr to Makefile, however the ports tree continued to push this info at the end of pkg-descr automatically, which is a duplicated information. Differential Revision: https://reviews.freebsd.org/D41523 Reviewed by: mat
This commit is contained in:
parent
7aa6757e78
commit
c501f81fa7
@ -86,15 +86,7 @@ if [ -n "${dp_PKG_NOTES}" ]; then
|
||||
fi
|
||||
|
||||
# Copy the pkg-descr file
|
||||
{
|
||||
cat ${dp_DESCR}
|
||||
if [ -n "${dp_WWW}" ] && ! grep -q '^WWW: ' ${dp_DESCR}; then
|
||||
echo
|
||||
for www in ${dp_WWW}; do
|
||||
echo "WWW: ${www}"
|
||||
done
|
||||
fi
|
||||
} > ${dp_METADIR}/+DESC
|
||||
cp ${dp_DESCR} ${dp_METADIR}/+DESC
|
||||
|
||||
# Concatenate all the scripts
|
||||
output_files=
|
||||
|
Loading…
Reference in New Issue
Block a user