Mk/bsd.port.mk: do not use master site as default for WWW

Maintainers should set WWW to a website with useful information for
users of the package.

The first MASTER_SITE of the port had been considered to be a useful
default value for the WWW variable.

It has been found not to be a generally useful URL though, therefore
stop providing a default value for WWW.

Approved by:	portmgr (tcberner)
This commit is contained in:
Stefan Eßer 2022-09-09 18:54:49 +02:00
parent 0d7e17c121
commit 1c4cfbf076

View file

@ -4351,7 +4351,7 @@ _FETCH_DEPENDS=${FETCH_DEPENDS:C/^[^ :]+:([^ :@]+)(@[^ :]+)?(:[^ :]+)?/\1/:O:u:C
_LIB_DEPENDS=${LIB_DEPENDS:C/^[^ :]+:([^ :@]+)(@[^ :]+)?(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,}
_BUILD_DEPENDS=${BUILD_DEPENDS:C/^[^ :]+:([^ :@]+)(@[^ :]+)?(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,} ${_LIB_DEPENDS}
_RUN_DEPENDS=${RUN_DEPENDS:C/^[^ :]+:([^ :@]+)(@[^ :]+)?(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,} ${_LIB_DEPENDS}
_WWW=${WWW:U${MASTER_SITES:[1]}}
_WWW=${WWW}
. if exists(${DESCR})
_DESCR=${DESCR}
. else