freebsd-ports/Mk/Uses
Stefan Eßer 5dccc48cd7 Mk/bsd.sites.mk: fall back to default WWW URLs for specific ports
This change has been accepted as part of review D36558. A follow-up
commit will apply the reminder of the patches in that review.

A separate commit is used since providing default values for certain
ports is logically different than support for multiple URLs in WWW.

This commit adds default WWW values if the following conditions are
met:

1) no value assigned to the WWW macro by the port

2) at least one of USE_GITHUB, USE_GITLAB, or USES=pear is used in
   the port

Further defaults for USES cases could be added at a later time.

The following values are used as default URLs:

USES=pear:	https://pear.php.net/package/${PORTNAME}/
USE_GITHUB:	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/
USE_GITLAB:	https://gitlab.com/${GL_ACCOUNT}/${GL_PROJECT}/

If both a USES case and USE_GITHUB or USE_GITLAB apply, the default
URL of the USES case takes precedence.

Approved by:	portmgr (tcberner)
2022-09-21 13:23:44 +02:00
..
7z.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
ada.mk Mk/Uses: extend life of USES=ada for three months 2022-07-01 17:23:10 +02:00
alias.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
angr.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
ansible.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
apache.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
autoreconf.mk devel/autoconf: update to 2.71 2022-06-08 18:24:35 +02:00
azurepy.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
bdb.mk Mk/Uses/bdb.mk: Allow bdb:18 to work by default. 2022-05-09 11:58:30 -07:00
bison.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
blaslapack.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
cabal.mk Uses/cabal.mk: Extend i386 brokeness to basement-0.0.15 2022-09-20 16:11:05 +03:00
cargo.mk Uses/cargo: Allow using any Rust version if requested 2022-08-25 23:16:22 +02:00
charsetfix.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
cmake.mk devel/cmake: Create a meta-port for CMake 2022-09-08 22:14:05 +02:00
compiler.mk Mk/Uses/compiler.mk: Support newer C++ standards 2022-09-11 13:34:29 +02:00
corosync.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
cpe.mk CPE: fix url to the specifications 2021-11-08 14:12:25 +01:00
cran.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
desktop-file-utils.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
desthack.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
display.mk xorg: upgrade to 21.1.4 2022-08-02 09:26:03 +02:00
dos2unix.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
drupal.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
eigen.mk Uses/eigen: drop eigen2 2021-09-07 23:19:39 +02:00
elfctl.mk Mk/Uses: Add elfctl 2022-02-18 14:15:08 -04:00
elixir.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
emacs.mk editors/emacs: Update to 28.2 2022-09-21 16:48:19 +09:00
erlang.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
fakeroot.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
fam.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
firebird.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
fonts.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
fortran.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
fpc.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
fuse.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
gem.mk Mk/Uses/gem.mk: Clean up 2022-05-13 19:40:07 +08:00
gettext-runtime.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
gettext-tools.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
gettext.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
ghostscript.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
gl.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
gmake.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
gnome.mk graphics/gdk-pixbuf2: update to 2.42.8 release (+) 2022-07-28 22:55:41 +03:00
gnustep.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
go.mk Mk/Uses/go.mk: Pass MAKE_ENV to go mod tidy and go mod vendor 2022-08-04 08:11:06 -05:00
gperf.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
grantlee.mk devel/grantlee5: update to 5.3.0 release (+) 2022-09-18 18:27:56 +03:00
groff.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
gssapi.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
gstreamer.mk net/gstreamer1-plugins-libmms: Remove plugin 2022-08-26 21:12:21 +02:00
horde.mk */horde*: Ignore with php82 2022-06-11 18:40:41 -05:00
iconv.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
imake.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
jpeg.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
kde.mk KDE: Update KDE Frameworks to 5.98 2022-09-19 06:46:01 +02:00
kmod.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
kodi.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
lazarus.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
lha.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
libarchive.mk Mk: release portmgr maintainership of most USES files 2022-04-24 11:29:12 +02:00
libedit.mk Mk: release portmgr maintainership of most USES files 2022-04-24 11:29:12 +02:00
libtool.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
linux.mk textproc/linux-c7-expat-devel: Add new port 2022-09-11 13:26:31 +02:00
localbase.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
lua.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
lxqt.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
magick.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
makeinfo.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
makeself.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
mate.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
meson.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
metaport.mk Mk/Uses/metaport.mk: force LICENSE_COMB=single (+) 2022-09-19 10:28:10 +03:00
minizip.mk archivers/minizip*: Add minizip-ng and zlib-ng and create USES=minizip 2022-01-25 07:35:22 +01:00
mlt.mk multimedia/mlt7: update to 7.8.0 2022-07-27 19:05:04 +02:00
mono.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
motif.mk Mk/Uses/motif.mk: Hook open-motif-devel into Uses 2022-08-15 20:33:52 -07:00
mpi.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
mysql.mk Mk: unregister expired mysql/percona ports 2022-06-30 21:26:05 +02:00
ncurses.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
ninja.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
nodejs.mk Mk/Uses/nodejs.mk: Handle www/node update to v18 2022-06-03 14:01:42 -03:00
objc.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
openal.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
pathfix.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
pear.mk Mk/bsd.sites.mk: fall back to default WWW URLs for specific ports 2022-09-21 13:23:44 +02:00
perl5.mk Mk/Uses/perl5.mk: Remove outdated P5_POD_PARSER 2022-06-03 17:00:55 +08:00
pgsql.mk databases/postgresql??-*: add postgresql-15 to the ports tree 2022-05-19 15:36:48 +02:00
php.mk lang/php82: Update version 8.2.0beta2=>8.2.0RC2 2022-09-16 03:49:42 -05:00
pkgconfig.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
pyqt.mk Mk/Uses: always use colon for build/run suffix 2022-09-11 12:20:14 +02:00
pytest.mk Mk/Uses: Add pytest.mk 2022-04-18 13:32:16 +03:00
python.mk Uses/python.mk: revert unapproved feature addition (and consumers) 2022-08-21 21:39:08 -04:00
qca.mk devel/qca: add flavors for Qt 5 and Qt 6 2022-08-26 08:30:22 +02:00
qmail.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
qmake.mk Mk/Uses: always use colon for build/run suffix 2022-09-11 12:20:14 +02:00
qt-dist.mk */*: Mk/Uses/qt-dist.mk: Fix small typos. 2022-09-21 12:32:26 +02:00
qt.mk */*: Mk/Uses/qt.mk: Adapt comments 2022-09-21 12:33:12 +02:00
readline.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
samba.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
scons.mk Mk/Uses/scons.mk: Clean up after the removal of all scons:python2 usage 2021-05-27 03:00:22 +08:00
sdl.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
shared-mime-info.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
shebangfix.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
sqlite.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
ssl.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
tar.mk Mk/Uses/tar.mk: Add .tar.zst support (USES=tar:zst or USES=tar:zstd) 2022-05-22 14:13:22 +08:00
tcl.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
terminfo.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
tk.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
trigger.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
uidfix.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
uniquefiles.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
vala.mk lang/vala: update to 0.56.3 2022-09-05 17:47:19 +02:00
varnish.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
waf.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
webplugin.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
xfce.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
xorg-cat.mk xorg: upgrade to 21.1.4 2022-08-02 09:26:03 +02:00
xorg.mk cleanup: remove 'Created by' lines 2022-07-20 21:40:02 +02:00
zip.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00